Lines Matching refs:h
10 #include <linux/init.h>
11 #include <linux/module.h>
12 #include <linux/configfs.h>
13 #include <linux/acpi.h>
14 #include <linux/security.h>
79 struct acpi_table_header *h = get_header(cfg);
81 if (IS_ERR(h))
82 return PTR_ERR(h);
85 memcpy(data, h, h->length);
87 return h->length;
101 struct acpi_table_header *h = get_header(cfg);
103 if (IS_ERR(h))
104 return PTR_ERR(h);
106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature);
111 struct acpi_table_header *h = get_header(cfg);
113 if (IS_ERR(h))
114 return PTR_ERR(h);
116 return sysfs_emit(str, "%d\n", h->length);
121 struct acpi_table_header *h = get_header(cfg);
123 if (IS_ERR(h))
124 return PTR_ERR(h);
126 return sysfs_emit(str, "%d\n", h->revision);
131 struct acpi_table_header *h = get_header(cfg);
133 if (IS_ERR(h))
134 return PTR_ERR(h);
136 return sysfs_emit(str, "%.*s\n", ACPI_OEM_ID_SIZE, h->oem_id);
141 struct acpi_table_header *h = get_header(cfg);
143 if (IS_ERR(h))
144 return PTR_ERR(h);
146 return sysfs_emit(str, "%.*s\n", ACPI_OEM_TABLE_ID_SIZE, h->oem_table_id);
151 struct acpi_table_header *h = get_header(cfg);
153 if (IS_ERR(h))
154 return PTR_ERR(h);
156 return sysfs_emit(str, "%d\n", h->oem_revision);
162 struct acpi_table_header *h = get_header(cfg);
164 if (IS_ERR(h))
165 return PTR_ERR(h);
167 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->asl_compiler_id);
173 struct acpi_table_header *h = get_header(cfg);
175 if (IS_ERR(h))
176 return PTR_ERR(h);
178 return sysfs_emit(str, "%d\n", h->asl_compiler_revision);