Lines Matching refs:call_ctx
679 struct optee_call_ctx *call_ctx)
743 call_ctx->pages_list = pages_list;
744 call_ctx->num_entries = page_num;
773 static void free_pages_list(struct optee_call_ctx *call_ctx)
775 if (call_ctx->pages_list) {
776 optee_free_pages_list(call_ctx->pages_list,
777 call_ctx->num_entries);
778 call_ctx->pages_list = NULL;
779 call_ctx->num_entries = 0;
783 static void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx)
785 free_pages_list(call_ctx);
790 struct optee_call_ctx *call_ctx)
795 free_pages_list(call_ctx);
796 handle_rpc_func_cmd_shm_alloc(ctx, optee, arg, call_ctx);
810 * @call_ctx: call context. Preserved during one OP-TEE invocation
817 struct optee_call_ctx *call_ctx)
865 handle_rpc_func_cmd(ctx, optee, arg, call_ctx);
893 struct optee_call_ctx call_ctx = { };
951 optee_handle_rpc(ctx, rpc_arg, ¶m, &call_ctx);
958 optee_rpc_finalize_call(&call_ctx);