Lines Matching refs:tee_shm
86 struct tee_shm *shm; in from_msg_param_tmp_mem()
93 shm = (struct tee_shm *)(unsigned long)mp->u.tmem.shm_ref; in from_msg_param_tmp_mem()
113 struct tee_shm *shm; in from_msg_param_reg_mem()
118 shm = (struct tee_shm *)(unsigned long)mp->u.rmem.shm_ref; in from_msg_param_reg_mem()
324 struct tee_shm *shm; in __optee_disable_shm_cache()
453 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
459 struct tee_shm *shm_arg; in optee_shm_register()
521 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
525 struct tee_shm *shm_arg; in optee_shm_unregister()
562 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp()
574 struct tee_shm *shm) in optee_shm_unregister_supp()
589 struct tee_shm *shm, size_t size, size_t align) in pool_op_alloc()
602 struct tee_shm *shm) in pool_op_free()
652 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free()
662 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free()
681 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc()
820 struct tee_shm *shm; in optee_handle_rpc()
887 struct tee_shm *shm, u_int offs, in optee_smc_do_call_with_arg()