Searched refs:tables_kobj (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | rci2-table.c | 81 struct kobject *tables_kobj; in efi_rci2_sysfs_init() local 126 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init() 127 if (!tables_kobj) { in efi_rci2_sysfs_init() 134 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_rci2); in efi_rci2_sysfs_init() 137 kobject_del(tables_kobj); in efi_rci2_sysfs_init() 138 kobject_put(tables_kobj); in efi_rci2_sysfs_init()
|
/kernel/linux/linux-5.10/drivers/sfi/ |
D | sfi_core.c | 388 static struct kobject *tables_kobj; variable 443 ret = sysfs_create_bin_file(tables_kobj, in sfi_sysfs_install_table() 465 tables_kobj = kobject_create_and_add("tables", sfi_kobj); in sfi_sysfs_init() 466 if (!tables_kobj) { in sfi_sysfs_init() 480 kobject_uevent(tables_kobj, KOBJ_ADD); in sfi_sysfs_init()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | dmi_scan.c | 755 struct kobject *tables_kobj; in dmi_init() local 771 tables_kobj = kobject_create_and_add("tables", dmi_kobj); in dmi_init() 772 if (!tables_kobj) in dmi_init() 781 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_smbios_entry_point); in dmi_init() 787 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_DMI); in dmi_init() 791 sysfs_remove_bin_file(tables_kobj, in dmi_init() 796 kobject_del(tables_kobj); in dmi_init() 797 kobject_put(tables_kobj); in dmi_init()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | sysfs.c | 320 static struct kobject *tables_kobj; variable 508 tables_kobj = kobject_create_and_add("tables", acpi_kobj); in acpi_tables_sysfs_init() 509 if (!tables_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() 533 ret = acpi_table_attr_init(tables_kobj, in acpi_tables_sysfs_init() 543 kobject_uevent(tables_kobj, KOBJ_ADD); in acpi_tables_sysfs_init() 551 kobject_put(tables_kobj); in acpi_tables_sysfs_init()
|