Home
last modified time | relevance | path

Searched refs:tbl_attr (Results 1 – 2 of 2) sorted by relevance

/drivers/sfi/
Dsfi_core.c394 struct sfi_table_attr *tbl_attr = in sfi_table_show() local
400 key.sig = tbl_attr->name; in sfi_table_show()
404 if (strncmp(SFI_SIG_SYST, tbl_attr->name, SFI_SIGNATURE_SIZE)) { in sfi_table_show()
421 struct sfi_table_attr *tbl_attr; in sfi_sysfs_install_table() local
425 tbl_attr = kzalloc(sizeof(struct sfi_table_attr), GFP_KERNEL); in sfi_sysfs_install_table()
426 if (!tbl_attr) in sfi_sysfs_install_table()
431 kfree(tbl_attr); in sfi_sysfs_install_table()
435 sysfs_attr_init(&tbl_attr->attr.attr); in sfi_sysfs_install_table()
436 memcpy(tbl_attr->name, th->sig, SFI_SIGNATURE_SIZE); in sfi_sysfs_install_table()
438 tbl_attr->attr.size = 0; in sfi_sysfs_install_table()
[all …]
Dsfi_acpi.c179 struct sfi_table_attr *tbl_attr = in sfi_acpi_table_show() local
185 key.sig = tbl_attr->name; in sfi_acpi_table_show()
204 struct sfi_table_attr *tbl_attr; in sfi_acpi_sysfs_init() local
208 tbl_attr = in sfi_acpi_sysfs_init()
210 tbl_attr->attr.read = sfi_acpi_table_show; in sfi_acpi_sysfs_init()