Home
last modified time | relevance | path

Searched refs:tables_kobj (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/firmware/efi/
Drci2-table.c81 struct kobject *tables_kobj; in efi_rci2_sysfs_init() local
123 tables_kobj = kobject_create_and_add("tables", efi_kobj); in efi_rci2_sysfs_init()
124 if (!tables_kobj) { in efi_rci2_sysfs_init()
131 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_rci2); in efi_rci2_sysfs_init()
134 kobject_del(tables_kobj); in efi_rci2_sysfs_init()
135 kobject_put(tables_kobj); in efi_rci2_sysfs_init()
/Linux-v5.4/drivers/sfi/
Dsfi_core.c388 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()
/Linux-v5.4/drivers/firmware/
Ddmi_scan.c719 struct kobject *tables_kobj; in dmi_init() local
735 tables_kobj = kobject_create_and_add("tables", dmi_kobj); in dmi_init()
736 if (!tables_kobj) in dmi_init()
745 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_smbios_entry_point); in dmi_init()
751 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_DMI); in dmi_init()
755 sysfs_remove_bin_file(tables_kobj, in dmi_init()
760 kobject_del(tables_kobj); in dmi_init()
761 kobject_put(tables_kobj); in dmi_init()
/Linux-v5.4/drivers/acpi/
Dsysfs.c320 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()