Lines Matching refs:reg_shm_out
68 struct tee_shm *reg_shm_in = NULL, *reg_shm_out = NULL; in trusted_tee_seal() local
80 reg_shm_out = tee_shm_register_kernel_buf(pvt_data.ctx, p->blob, in trusted_tee_seal()
82 if (IS_ERR(reg_shm_out)) { in trusted_tee_seal()
84 ret = PTR_ERR(reg_shm_out); in trusted_tee_seal()
97 param[1].u.memref.shm = reg_shm_out; in trusted_tee_seal()
111 if (reg_shm_out) in trusted_tee_seal()
112 tee_shm_free(reg_shm_out); in trusted_tee_seal()
127 struct tee_shm *reg_shm_in = NULL, *reg_shm_out = NULL; in trusted_tee_unseal() local
139 reg_shm_out = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_unseal()
141 if (IS_ERR(reg_shm_out)) { in trusted_tee_unseal()
143 ret = PTR_ERR(reg_shm_out); in trusted_tee_unseal()
156 param[1].u.memref.shm = reg_shm_out; in trusted_tee_unseal()
170 if (reg_shm_out) in trusted_tee_unseal()
171 tee_shm_free(reg_shm_out); in trusted_tee_unseal()