Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/efi/test/
H A Defi_test.c232 struct efi_setvariable setvariable; in efi_runtime_set_variable() local
241 if (copy_from_user(&setvariable, setvariable_user, sizeof(setvariable))) in efi_runtime_set_variable()
243 if (copy_from_user(&vendor_guid, setvariable.vendor_guid, in efi_runtime_set_variable()
247 if (setvariable.variable_name) { in efi_runtime_set_variable()
248 rv = copy_ucs2_from_user(&name, setvariable.variable_name); in efi_runtime_set_variable()
253 data = memdup_user(setvariable.data, setvariable.data_size); in efi_runtime_set_variable()
260 setvariable.attributes, in efi_runtime_set_variable()
261 setvariable.data_size, data); in efi_runtime_set_variable()
263 if (put_user(status, setvariable.status)) { in efi_runtime_set_variable()