Lines Matching refs:efi_rts_work
119 struct efi_runtime_work efi_rts_work; variable
218 const union efi_rts_args *args = efi_rts_work.args; in efi_call_rts()
225 switch (efi_rts_work.efi_rts_id) { in efi_call_rts()
308 efi_call_virt_check_flags(flags, efi_rts_work.caller); in efi_call_rts()
311 efi_rts_work.status = status; in efi_call_rts()
312 complete(&efi_rts_work.efi_rts_comp); in efi_call_rts()
318 efi_rts_work.efi_rts_id = id; in __efi_queue_work()
319 efi_rts_work.args = args; in __efi_queue_work()
320 efi_rts_work.caller = __builtin_return_address(0); in __efi_queue_work()
321 efi_rts_work.status = EFI_ABORTED; in __efi_queue_work()
325 efi_rts_work.status = EFI_DEVICE_ERROR; in __efi_queue_work()
329 init_completion(&efi_rts_work.efi_rts_comp); in __efi_queue_work()
330 INIT_WORK(&efi_rts_work.work, efi_call_rts); in __efi_queue_work()
336 if (queue_work(efi_rts_wq, &efi_rts_work.work)) in __efi_queue_work()
337 wait_for_completion(&efi_rts_work.efi_rts_comp); in __efi_queue_work()
341 WARN_ON_ONCE(efi_rts_work.status == EFI_ABORTED); in __efi_queue_work()
343 efi_rts_work.efi_rts_id = EFI_NONE; in __efi_queue_work()
344 return efi_rts_work.status; in __efi_queue_work()
513 efi_rts_work.efi_rts_id = EFI_RESET_SYSTEM; in virt_efi_reset_system()