Home
last modified time | relevance | path

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

1234

/linux/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/arch/x86/kernel/
A 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()
/linux/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/drivers/block/rnbd/
A Drnbd-srv-sysfs.c55 dev->dev_sessions_kobj = kobject_create_and_add("sessions", in rnbd_srv_create_dev_sysfs()
230 rnbd_devs_kobj = kobject_create_and_add("devices", &rnbd_dev->kobj); in rnbd_srv_create_sysfs_files()
/linux/kernel/bpf/
A Dsysfs_btf.c38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
/linux/arch/mips/loongson64/
A Dboardinfo.c40 lefi_kobj = kobject_create_and_add("lefi", firmware_kobj); in boardinfo_init()
/linux/arch/powerpc/platforms/powernv/
A Dultravisor.c63 ultravisor_kobj = kobject_create_and_add("ultravisor", firmware_kobj); in uv_init()
A Dopal-psr.c140 psr_kobj = kobject_create_and_add("psr", opal_kobj); in opal_psr_init()
A 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()
/linux/arch/powerpc/platforms/pseries/
A Dpower.c60 power_kobj = kobject_create_and_add("power", NULL); in pm_init()
/linux/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/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/drivers/acpi/
A Dbgrt.c83 bgrt_kobj = kobject_create_and_add("bgrt", acpi_kobj); in bgrt_init()
A Dsysfs.c485 tables_kobj = kobject_create_and_add("tables", acpi_kobj); in acpi_tables_sysfs_init()
489 tables_data_kobj = kobject_create_and_add("data", tables_kobj); in acpi_tables_sysfs_init()
493 dynamic_tables_kobj = kobject_create_and_add("dynamic", tables_kobj); in acpi_tables_sysfs_init()
1004 hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj); in acpi_sysfs_init()
/linux/samples/kobject/
A Dkobject-example.c124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
/linux/drivers/pci/hotplug/
A Drpadlpar_sysfs.c108 dlpar_kobj = kobject_create_and_add(DLPAR_KOBJ_NAME, in dlpar_sysfs_init()
/linux/mm/
A Dcma_sysfs.c80 cma_kobj_root = kobject_create_and_add("cma", mm_kobj); in cma_sysfs_init()
A Dmm_init.c198 mm_kobj = kobject_create_and_add("mm", kernel_kobj); in mm_sysfs_init()
/linux/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/drivers/firmware/efi/
A Drci2-table.c126 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
/linux/fs/fscache/
A Dmain.c187 fscache_root = kobject_create_and_add("fscache", kernel_kobj); in fscache_init()
/linux/kernel/trace/
A Dpreemptirq_delay_test.c199 preemptirq_delay_kobj = kobject_create_and_add("preemptirq_delay_test", in preemptirq_delay_init()
/linux/fs/btrfs/
A Dsysfs.c1731 fs_devs->devices_kobj = kobject_create_and_add("devices", in btrfs_sysfs_add_fsid()
1740 fs_devs->devinfo_kobj = kobject_create_and_add("devinfo", in btrfs_sysfs_add_fsid()
1774 fs_info->debug_kobj = kobject_create_and_add("debug", fsid_kobj); in btrfs_sysfs_add_mounted()
1785 fs_info->discard_debug_kobj = kobject_create_and_add("discard", in btrfs_sysfs_add_mounted()
1806 fs_info->space_info_kobj = kobject_create_and_add("allocation", in btrfs_sysfs_add_mounted()
1948 fs_info->qgroups_kobj = kobject_create_and_add("qgroups", fsid_kobj); in btrfs_sysfs_add_qgroups()

Completed in 37 milliseconds

1234