Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/efi/test/
H A Defi_test.c142 struct efi_getvariable getvariable; in efi_runtime_get_variable() local
153 if (copy_from_user(&getvariable, getvariable_user, in efi_runtime_get_variable()
154 sizeof(getvariable))) in efi_runtime_get_variable()
156 if (getvariable.data_size && in efi_runtime_get_variable()
157 get_user(datasize, getvariable.data_size)) in efi_runtime_get_variable()
159 if (getvariable.vendor_guid) { in efi_runtime_get_variable()
166 if (getvariable.variable_name) { in efi_runtime_get_variable()
172 at = getvariable.attributes ? &attr : NULL; in efi_runtime_get_variable()
173 dz = getvariable.data_size ? &datasize : NULL; in efi_runtime_get_variable()
175 if (getvariable.data_size && getvariable.data) { in efi_runtime_get_variable()
[all …]