Lines Matching refs:call_ctx
287 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() argument
351 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
352 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc()
433 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument
435 if (call_ctx->pages_list) { in free_pages_list()
436 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
437 call_ctx->num_entries); in free_pages_list()
438 call_ctx->pages_list = NULL; in free_pages_list()
439 call_ctx->num_entries = 0; in free_pages_list()
443 void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument
445 free_pages_list(call_ctx); in optee_rpc_finalize_call()
450 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd() argument
471 free_pages_list(call_ctx); in handle_rpc_func_cmd()
472 handle_rpc_func_cmd_shm_alloc(ctx, arg, call_ctx); in handle_rpc_func_cmd()
494 struct optee_call_ctx *call_ctx) in optee_handle_rpc() argument
529 handle_rpc_func_cmd(ctx, optee, shm, call_ctx); in optee_handle_rpc()