Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/firmware/efi/
Drci2-table.c81 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()
/linux-6.1.9/drivers/acpi/
Dsysfs.c299 static struct kobject *tables_kobj; variable
496 tables_kobj = kobject_create_and_add("tables", acpi_kobj); in acpi_tables_sysfs_init()
497 if (!tables_kobj) in acpi_tables_sysfs_init()
500 tables_data_kobj = kobject_create_and_add("data", tables_kobj); in acpi_tables_sysfs_init()
504 dynamic_tables_kobj = kobject_create_and_add("dynamic", tables_kobj); in acpi_tables_sysfs_init()
521 ret = acpi_table_attr_init(tables_kobj, in acpi_tables_sysfs_init()
531 kobject_uevent(tables_kobj, KOBJ_ADD); in acpi_tables_sysfs_init()
539 kobject_put(tables_kobj); in acpi_tables_sysfs_init()
/linux-6.1.9/drivers/firmware/
Ddmi_scan.c762 struct kobject *tables_kobj; in dmi_init() local
778 tables_kobj = kobject_create_and_add("tables", dmi_kobj); in dmi_init()
779 if (!tables_kobj) in dmi_init()
788 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_smbios_entry_point); in dmi_init()
794 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_DMI); in dmi_init()
798 sysfs_remove_bin_file(tables_kobj, in dmi_init()
803 kobject_del(tables_kobj); in dmi_init()
804 kobject_put(tables_kobj); in dmi_init()