Lines Matching refs:tee_shm
65 struct tee_shm *shm; in from_msg_param_tmp_mem()
72 shm = (struct tee_shm *)(unsigned long)mp->u.tmem.shm_ref; in from_msg_param_tmp_mem()
92 struct tee_shm *shm; in from_msg_param_reg_mem()
97 shm = (struct tee_shm *)(unsigned long)mp->u.rmem.shm_ref; in from_msg_param_reg_mem()
303 struct tee_shm *shm; in __optee_disable_shm_cache()
432 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
438 struct tee_shm *shm_arg; in optee_shm_register()
500 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
504 struct tee_shm *shm_arg; in optee_shm_unregister()
541 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp()
553 struct tee_shm *shm) in optee_shm_unregister_supp()
568 struct tee_shm *shm, size_t size, size_t align) in pool_op_alloc()
582 struct tee_shm *shm) in pool_op_free()
632 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free()
642 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free()
662 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc()
802 struct tee_shm *shm; in optee_handle_rpc()
868 struct tee_shm *shm, u_int offs) in optee_smc_do_call_with_arg()
952 struct tee_shm *shm; in simple_call_with_arg()