Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
A 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.3-rc2/drivers/base/
A Dfirmware.c22 firmware_kobj = kobject_create_and_add("firmware", NULL); in firmware_init()
A Dhypervisor.c20 hypervisor_kobj = kobject_create_and_add("hypervisor", NULL); in hypervisor_init()
A Dmodule.c29 mk->drivers_dir = kobject_create_and_add("drivers", &mk->kobj); in module_create_drivers_dir()
/linux-6.3-rc2/arch/x86/kernel/
A 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.3-rc2/arch/powerpc/platforms/pseries/
A 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()
A Dpower.c60 power_kobj = kobject_create_and_add("power", NULL); in pm_init()
A Dpapr_platform_attributes.c300 papr_kobj = kobject_create_and_add("papr", firmware_kobj); in papr_init()
306 esi_kobj = kobject_create_and_add("energy_scale_info", papr_kobj); in papr_init()
/linux-6.3-rc2/kernel/bpf/
A Dsysfs_btf.c38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/linux-6.3-rc2/arch/mips/loongson64/
A Dboardinfo.c40 lefi_kobj = kobject_create_and_add("lefi", firmware_kobj); in boardinfo_init()
/linux-6.3-rc2/drivers/block/rnbd/
A Drnbd-srv-sysfs.c53 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.3-rc2/arch/powerpc/platforms/powernv/
A Dultravisor.c64 ultravisor_kobj = kobject_create_and_add("ultravisor", firmware_kobj); in uv_init()
/linux-6.3-rc2/arch/loongarch/kernel/
A Denv.c74 loongson_kobj = kobject_create_and_add("loongson", firmware_kobj); in boardinfo_init()
/linux-6.3-rc2/drivers/firmware/google/
A 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.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_gt_sysfs.c99 gt->sysfs_defaults = kobject_create_and_add(".defaults", &gt->sysfs_gt); in intel_gt_sysfs_register()
/linux-6.3-rc2/drivers/pci/hotplug/
A Drpadlpar_sysfs.c108 dlpar_kobj = kobject_create_and_add(DLPAR_KOBJ_NAME, in dlpar_sysfs_init()
/linux-6.3-rc2/drivers/acpi/
A Dbgrt.c83 bgrt_kobj = kobject_create_and_add("bgrt", acpi_kobj); in bgrt_init()
A Dsysfs.c497 tables_kobj = kobject_create_and_add("tables", acpi_kobj); in acpi_tables_sysfs_init()
501 tables_data_kobj = kobject_create_and_add("data", tables_kobj); in acpi_tables_sysfs_init()
505 dynamic_tables_kobj = kobject_create_and_add("dynamic", tables_kobj); in acpi_tables_sysfs_init()
1017 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj); in acpi_sysfs_init()
/linux-6.3-rc2/samples/kobject/
A Dkobject-example.c124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
/linux-6.3-rc2/mm/
A Dcma_sysfs.c80 cma_kobj_root = kobject_create_and_add("cma", mm_kobj); in cma_sysfs_init()
/linux-6.3-rc2/drivers/dma/qcom/
A 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.3-rc2/Documentation/translations/zh_CN/core-api/
A Dkobject.rst197 struct kobject *kobject_create_and_add(const char *name, struct kobject *parent);
208 这里使用的两种类型的属性,与已经用kobject_create_and_add()创建的kobject,
/linux-6.3-rc2/drivers/firmware/efi/
A Drci2-table.c126 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
/linux-6.3-rc2/fs/zonefs/
A Dsysfs.c123 zonefs_sysfs_root = kobject_create_and_add("zonefs", fs_kobj); in zonefs_sysfs_init()
/linux-6.3-rc2/kernel/module/
A Dsysfs.c214 notes_attrs->dir = kobject_create_and_add("notes", &mod->mkobj.kobj); in add_notes_attrs()
381 mod->holders_dir = kobject_create_and_add("holders", &mod->mkobj.kobj); in mod_sysfs_setup()

Completed in 31 milliseconds

1234