Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/efi/test/
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()
160 if (copy_from_user(&vendor_guid, getvariable.vendor_guid, in efi_runtime_get_variable()
166 if (getvariable.variable_name) { in efi_runtime_get_variable()
167 rv = copy_ucs2_from_user(&name, getvariable.variable_name); in efi_runtime_get_variable()
172 at = getvariable.attributes ? &attr : NULL; in efi_runtime_get_variable()
[all …]