Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsysfs.c252 port->cur_port = kobject_create_and_add(buff, in add_port_entries()
259 port->admin_alias_parent = kobject_create_and_add("admin_guids", in add_port_entries()
276 port->gids_parent = kobject_create_and_add("gids", in add_port_entries()
296 kobject_create_and_add("pkeys", kobject_get(port->cur_port)); in add_port_entries()
315 kobject_create_and_add("mcgs", kobject_get(port->cur_port)); in add_port_entries()
716 kobject_create_and_add(name, kobject_get(dev->iov_parent)); in register_one_pkey_tree()
726 kobject_create_and_add("ports", in register_one_pkey_tree()
817 dev->iov_parent = kobject_create_and_add("iov", &dev->ib_dev.dev.kobj); in mlx4_ib_device_register_sysfs()
823 kobject_create_and_add("ports", in mlx4_ib_device_register_sysfs()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dksysfs.c235 kobj = kobject_create_and_add(name, parent); in create_setup_data_node()
292 setup_data_kobj = kobject_create_and_add("setup_data", parent); in create_setup_data_nodes()
332 boot_params_kobj = kobject_create_and_add("boot_params", in boot_params_ksysfs_init()
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv-sysfs.c53 dev->dev_sessions_kobj = kobject_create_and_add("sessions", in rnbd_srv_create_dev_sysfs()
193 rnbd_devs_kobj = kobject_create_and_add("devices", &rnbd_dev->kobj); in rnbd_srv_create_sysfs_files()
/kernel/linux/linux-5.10/kernel/bpf/
Dsysfs_btf.c38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/kernel/linux/linux-5.10/arch/x86/platform/uv/
Duv_sysfs.c42 sgi_uv_kobj = kobject_create_and_add("sgi_uv", firmware_kobj); in sgi_uv_sysfs_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpower.c60 power_kobj = kobject_create_and_add("power", NULL); in pm_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dultravisor.c63 ultravisor_kobj = kobject_create_and_add("ultravisor", firmware_kobj); in uv_init()
Dopal-psr.c140 psr_kobj = kobject_create_and_add("psr", opal_kobj); in opal_psr_init()
Dopal.c784 opal_kobj = kobject_create_and_add("opal", firmware_kobj); in opal_sysfs_init()
864 child_kobj = kobject_create_and_add(child->name, kobj); in opal_add_exported_attrs()
892 kobj = kobject_create_and_add("exports", opal_kobj); in opal_export_attrs()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/samples/kobject/
Dkobject-example.c124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
/kernel/linux/linux-5.10/drivers/acpi/
Dbgrt.c83 bgrt_kobj = kobject_create_and_add("bgrt", acpi_kobj); in bgrt_init()
Dsysfs.c508 tables_kobj = kobject_create_and_add("tables", acpi_kobj); in acpi_tables_sysfs_init()
512 tables_data_kobj = kobject_create_and_add("data", tables_kobj); in acpi_tables_sysfs_init()
516 dynamic_tables_kobj = kobject_create_and_add("dynamic", tables_kobj); in acpi_tables_sysfs_init()
1044 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj); in acpi_sysfs_init()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Drpadlpar_sysfs.c108 dlpar_kobj = kobject_create_and_add(DLPAR_KOBJ_NAME, in dlpar_sysfs_init()
/kernel/linux/linux-5.10/drivers/sfi/
Dsfi_core.c461 sfi_kobj = kobject_create_and_add("sfi", firmware_kobj); in sfi_sysfs_init()
465 tables_kobj = kobject_create_and_add("tables", sfi_kobj); in sfi_sysfs_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Drci2-table.c126 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
Dmokvar-table.c328 mokvar_kobj = kobject_create_and_add("mok-variables", efi_kobj); in efi_mokvar_sysfs_init()
/kernel/linux/linux-5.10/kernel/trace/
Dpreemptirq_delay_test.c185 preemptirq_delay_kobj = kobject_create_and_add("preemptirq_delay_test", in preemptirq_delay_init()
/kernel/linux/linux-5.10/fs/fscache/
Dmain.c187 fscache_root = kobject_create_and_add("fscache", kernel_kobj); in fscache_init()
/kernel/linux/linux-5.10/mm/
Dmm_init.c201 mm_kobj = kobject_create_and_add("mm", kernel_kobj); in mm_sysfs_init()
/kernel/linux/linux-5.10/include/linux/
Dkobject.h105 extern struct kobject * __must_check kobject_create_and_add(const char *name,

1234