Lines Matching refs:efi_rts_work
94 struct efi_runtime_work efi_rts_work; \
95 efi_rts_work.status = EFI_ABORTED; \
97 init_completion(&efi_rts_work.efi_rts_comp); \
98 INIT_WORK_ONSTACK(&efi_rts_work.work, efi_call_rts); \
99 efi_rts_work.arg1 = _arg1; \
100 efi_rts_work.arg2 = _arg2; \
101 efi_rts_work.arg3 = _arg3; \
102 efi_rts_work.arg4 = _arg4; \
103 efi_rts_work.arg5 = _arg5; \
104 efi_rts_work.efi_rts_id = _rts; \
110 if (queue_work(efi_rts_wq, &efi_rts_work.work)) \
111 wait_for_completion(&efi_rts_work.efi_rts_comp); \
115 efi_rts_work.status; \
187 struct efi_runtime_work *efi_rts_work; in efi_call_rts() local
191 efi_rts_work = container_of(work, struct efi_runtime_work, work); in efi_call_rts()
192 arg1 = efi_rts_work->arg1; in efi_call_rts()
193 arg2 = efi_rts_work->arg2; in efi_call_rts()
194 arg3 = efi_rts_work->arg3; in efi_call_rts()
195 arg4 = efi_rts_work->arg4; in efi_call_rts()
196 arg5 = efi_rts_work->arg5; in efi_call_rts()
198 switch (efi_rts_work->efi_rts_id) { in efi_call_rts()
256 efi_rts_work->status = status; in efi_call_rts()
257 complete(&efi_rts_work->efi_rts_comp); in efi_call_rts()