optee_supp_thrd_req()- Insert the RPC request into the request list (
supp->reqs). - Call
complete(&supp->reqs_c)to tell an eventual waiter there's a new request. - This will unblock TEE supplicant: Otherwise, call
wait_for_completion_interruptible(&supp->reqs_c)to wait for the new request from OP-TEE. - Call
wait_for_completion_interruptible(&req->c)to wait for TEE supplicant to process. - This will be blocked until TEE supplicant handles the RPC.
- Return the result.
optee_supp_thrd_req()c
Loading...