/linux/drivers/infiniband/hw/mlx4/ |
A D | sysfs.c | 254 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 D | ksysfs.c | 235 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 D | firmware.c | 22 firmware_kobj = kobject_create_and_add("firmware", NULL); in firmware_init()
|
A D | hypervisor.c | 20 hypervisor_kobj = kobject_create_and_add("hypervisor", NULL); in hypervisor_init()
|
A D | module.c | 29 mk->drivers_dir = kobject_create_and_add("drivers", &mk->kobj); in module_create_drivers_dir()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv-sysfs.c | 55 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 D | sysfs_btf.c | 38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/linux/arch/mips/loongson64/ |
A D | boardinfo.c | 40 lefi_kobj = kobject_create_and_add("lefi", firmware_kobj); in boardinfo_init()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | ultravisor.c | 63 ultravisor_kobj = kobject_create_and_add("ultravisor", firmware_kobj); in uv_init()
|
A D | opal-psr.c | 140 psr_kobj = kobject_create_and_add("psr", opal_kobj); in opal_psr_init()
|
A D | opal.c | 784 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 D | power.c | 60 power_kobj = kobject_create_and_add("power", NULL); in pm_init()
|
/linux/drivers/firmware/google/ |
A D | vpd.c | 211 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 D | hidma_mgmt_sys.c | 246 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 D | bgrt.c | 83 bgrt_kobj = kobject_create_and_add("bgrt", acpi_kobj); in bgrt_init()
|
A D | sysfs.c | 485 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 D | kobject-example.c | 124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
|
/linux/drivers/pci/hotplug/ |
A D | rpadlpar_sysfs.c | 108 dlpar_kobj = kobject_create_and_add(DLPAR_KOBJ_NAME, in dlpar_sysfs_init()
|
/linux/mm/ |
A D | cma_sysfs.c | 80 cma_kobj_root = kobject_create_and_add("cma", mm_kobj); in cma_sysfs_init()
|
A D | mm_init.c | 198 mm_kobj = kobject_create_and_add("mm", kernel_kobj); in mm_sysfs_init()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | kobject.rst | 197 struct kobject *kobject_create_and_add(const char *name, struct kobject *parent); 208 这里使用的两种类型的属性,与已经用kobject_create_and_add()创建的kobject,
|
/linux/drivers/firmware/efi/ |
A D | rci2-table.c | 126 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
|
/linux/fs/fscache/ |
A D | main.c | 187 fscache_root = kobject_create_and_add("fscache", kernel_kobj); in fscache_init()
|
/linux/kernel/trace/ |
A D | preemptirq_delay_test.c | 199 preemptirq_delay_kobj = kobject_create_and_add("preemptirq_delay_test", in preemptirq_delay_init()
|
/linux/fs/btrfs/ |
A D | sysfs.c | 1731 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()
|