Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/firmware/efi/test/
Defi_test.c244 struct efi_setvariable setvariable; in efi_runtime_set_variable() local
253 if (copy_from_user(&setvariable, setvariable_user, sizeof(setvariable))) in efi_runtime_set_variable()
255 if (copy_from_user(&vendor_guid, setvariable.vendor_guid, in efi_runtime_set_variable()
259 if (setvariable.variable_name) { in efi_runtime_set_variable()
260 rv = copy_ucs2_from_user(&name, setvariable.variable_name); in efi_runtime_set_variable()
265 data = memdup_user(setvariable.data, setvariable.data_size); in efi_runtime_set_variable()
272 setvariable.attributes, in efi_runtime_set_variable()
273 setvariable.data_size, data); in efi_runtime_set_variable()
275 if (put_user(status, setvariable.status)) { in efi_runtime_set_variable()