Home
last modified time | relevance | path

Searched refs:kobject_create_and_add (Results 1 – 25 of 106) sorted by relevance

12345

/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dsysfs.c254 port->cur_port = kobject_create_and_add(buff, in add_port_entries()
261 port->admin_alias_parent = kobject_create_and_add("admin_guids", in add_port_entries()
278 port->gids_parent = kobject_create_and_add("gids", in add_port_entries()
298 kobject_create_and_add("pkeys", kobject_get(port->cur_port)); in add_port_entries()
317 kobject_create_and_add("mcgs", kobject_get(port->cur_port)); in add_port_entries()
706 kobject_create_and_add(name, kobject_get(dev->iov_parent)); in register_one_pkey_tree()
716 kobject_create_and_add("ports", in register_one_pkey_tree()
807 dev->iov_parent = kobject_create_and_add("iov", &dev->ib_dev.dev.kobj); in mlx4_ib_device_register_sysfs()
813 kobject_create_and_add("ports", in mlx4_ib_device_register_sysfs()
/linux-6.12.1/drivers/base/
Dhypervisor.c20 hypervisor_kobj = kobject_create_and_add("hypervisor", NULL); in hypervisor_init()
Dfirmware.c22 firmware_kobj = kobject_create_and_add("firmware", NULL); in firmware_init()
Dmodule.c29 mk->drivers_dir = kobject_create_and_add("drivers", &mk->kobj); in module_create_drivers_dir()
/linux-6.12.1/arch/x86/kernel/
Dksysfs.c280 kobj = kobject_create_and_add(name, parent); in create_setup_data_node()
337 setup_data_kobj = kobject_create_and_add("setup_data", parent); in create_setup_data_nodes()
377 boot_params_kobj = kobject_create_and_add("boot_params", in boot_params_ksysfs_init()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dvas-sysfs.c248 pseries_vas_kobj = kobject_create_and_add("vas0", in sysfs_pseries_vas_init()
258 gzip_caps_kobj = kobject_create_and_add("gzip", in sysfs_pseries_vas_init()
Dpower.c60 power_kobj = kobject_create_and_add("power", NULL); in pm_init()
Dpapr_platform_attributes.c302 papr_kobj = kobject_create_and_add("papr", firmware_kobj); in papr_init()
308 esi_kobj = kobject_create_and_add("energy_scale_info", papr_kobj); in papr_init()
/linux-6.12.1/kernel/bpf/
Dsysfs_btf.c38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/linux-6.12.1/drivers/block/rnbd/
Drnbd-srv-sysfs.c54 dev->dev_sessions_kobj = kobject_create_and_add("sessions", in rnbd_srv_create_dev_sysfs()
228 rnbd_devs_kobj = kobject_create_and_add("devices", &rnbd_dev->kobj); in rnbd_srv_create_sysfs_files()
/linux-6.12.1/arch/mips/loongson64/
Dboardinfo.c40 lefi_kobj = kobject_create_and_add("lefi", firmware_kobj); in boardinfo_init()
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dultravisor.c64 ultravisor_kobj = kobject_create_and_add("ultravisor", firmware_kobj); in uv_init()
/linux-6.12.1/drivers/firmware/google/
Dvpd.c211 sec->kobj = kobject_create_and_add(name, vpd_kobj); in vpd_section_init()
288 vpd_kobj = kobject_create_and_add("vpd", firmware_kobj); in vpd_probe()
/linux-6.12.1/tools/testing/selftests/livepatch/test_modules/
Dtest_klp_syscall.c85 klp_kobj = kobject_create_and_add("test_klp_syscall", kernel_kobj); in livepatch_init()
/linux-6.12.1/drivers/acpi/
Dbgrt.c76 bgrt_kobj = kobject_create_and_add("bgrt", acpi_kobj); in bgrt_init()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs.c99 gt->sysfs_defaults = kobject_create_and_add(".defaults", &gt->sysfs_gt); in intel_gt_sysfs_register()
/linux-6.12.1/arch/loongarch/kernel/
Denv.c106 loongson_kobj = kobject_create_and_add("loongson", firmware_kobj); in boardinfo_init()
/linux-6.12.1/drivers/pci/hotplug/
Drpadlpar_sysfs.c108 dlpar_kobj = kobject_create_and_add(DLPAR_KOBJ_NAME, in dlpar_sysfs_init()
/linux-6.12.1/samples/kobject/
Dkobject-example.c124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_vram_freq.c113 kobj = kobject_create_and_add("memory", tile->sysfs); in xe_vram_freq_sysfs_init()
/linux-6.12.1/drivers/firmware/efi/
Drci2-table.c118 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
/linux-6.12.1/drivers/dma/qcom/
Dhidma_mgmt_sys.c246 chanops = kobject_create_and_add("chanops", &mdev->pdev->dev.kobj); in hidma_mgmt_init_sys()
255 mdev->chroots[i] = kobject_create_and_add(name, chanops); in hidma_mgmt_init_sys()
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dkobject.rst197 struct kobject *kobject_create_and_add(const char *name, struct kobject *parent);
208 这里使用的两种类型的属性,与已经用kobject_create_and_add()创建的kobject,
/linux-6.12.1/fs/zonefs/
Dsysfs.c124 zonefs_sysfs_root = kobject_create_and_add("zonefs", fs_kobj); in zonefs_sysfs_init()
/linux-6.12.1/mm/
Dcma_sysfs.c95 cma_kobj_root = kobject_create_and_add("cma", mm_kobj); in cma_sysfs_init()

12345