Lines Matching refs:call_ctx
289 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() argument
354 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
355 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc()
436 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument
438 if (call_ctx->pages_list) { in free_pages_list()
439 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
440 call_ctx->num_entries); in free_pages_list()
441 call_ctx->pages_list = NULL; in free_pages_list()
442 call_ctx->num_entries = 0; in free_pages_list()
446 void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument
448 free_pages_list(call_ctx); in optee_rpc_finalize_call()
453 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd() argument
474 free_pages_list(call_ctx); in handle_rpc_func_cmd()
475 handle_rpc_func_cmd_shm_alloc(ctx, optee, arg, call_ctx); in handle_rpc_func_cmd()
497 struct optee_call_ctx *call_ctx) in optee_handle_rpc() argument
533 handle_rpc_func_cmd(ctx, optee, shm, call_ctx); in optee_handle_rpc()