Lines Matching refs:call_ctx
204 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() argument
268 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
269 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc()
350 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument
352 if (call_ctx->pages_list) { in free_pages_list()
353 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
354 call_ctx->num_entries); in free_pages_list()
355 call_ctx->pages_list = NULL; in free_pages_list()
356 call_ctx->num_entries = 0; in free_pages_list()
360 void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument
362 free_pages_list(call_ctx); in optee_rpc_finalize_call()
367 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd() argument
388 free_pages_list(call_ctx); in handle_rpc_func_cmd()
389 handle_rpc_func_cmd_shm_alloc(ctx, arg, call_ctx); in handle_rpc_func_cmd()
408 struct optee_call_ctx *call_ctx) in optee_handle_rpc() argument
443 handle_rpc_func_cmd(ctx, optee, shm, call_ctx); in optee_handle_rpc()