/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/x86/kernel/ |
A D | ksysfs.c | 280 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 D | vas-sysfs.c | 248 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 D | power.c | 60 power_kobj = kobject_create_and_add("power", NULL); in pm_init()
|
A D | papr_platform_attributes.c | 300 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 D | sysfs_btf.c | 38 btf_kobj = kobject_create_and_add("btf", kernel_kobj); in btf_vmlinux_init()
|
/linux-6.3-rc2/arch/mips/loongson64/ |
A D | boardinfo.c | 40 lefi_kobj = kobject_create_and_add("lefi", firmware_kobj); in boardinfo_init()
|
/linux-6.3-rc2/drivers/block/rnbd/ |
A D | rnbd-srv-sysfs.c | 53 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 D | ultravisor.c | 64 ultravisor_kobj = kobject_create_and_add("ultravisor", firmware_kobj); in uv_init()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | env.c | 74 loongson_kobj = kobject_create_and_add("loongson", firmware_kobj); in boardinfo_init()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_gt_sysfs.c | 99 gt->sysfs_defaults = kobject_create_and_add(".defaults", >->sysfs_gt); in intel_gt_sysfs_register()
|
/linux-6.3-rc2/drivers/pci/hotplug/ |
A D | rpadlpar_sysfs.c | 108 dlpar_kobj = kobject_create_and_add(DLPAR_KOBJ_NAME, in dlpar_sysfs_init()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | bgrt.c | 83 bgrt_kobj = kobject_create_and_add("bgrt", acpi_kobj); in bgrt_init()
|
A D | sysfs.c | 497 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 D | kobject-example.c | 124 example_kobj = kobject_create_and_add("kobject_example", kernel_kobj); in example_init()
|
/linux-6.3-rc2/mm/ |
A D | cma_sysfs.c | 80 cma_kobj_root = kobject_create_and_add("cma", mm_kobj); in cma_sysfs_init()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/firmware/efi/ |
A D | rci2-table.c | 126 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
|
/linux-6.3-rc2/fs/zonefs/ |
A D | sysfs.c | 123 zonefs_sysfs_root = kobject_create_and_add("zonefs", fs_kobj); in zonefs_sysfs_init()
|
/linux-6.3-rc2/kernel/module/ |
A D | sysfs.c | 214 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()
|