Searched refs:reg_shm (Results 1 – 2 of 2) sorted by relevance
68 struct tee_shm *reg_shm = NULL; in trusted_tee_seal() local73 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_seal()75 if (IS_ERR(reg_shm)) { in trusted_tee_seal()77 return PTR_ERR(reg_shm); in trusted_tee_seal()85 param[0].u.memref.shm = reg_shm; in trusted_tee_seal()89 param[1].u.memref.shm = reg_shm; in trusted_tee_seal()102 tee_shm_free(reg_shm); in trusted_tee_seal()115 struct tee_shm *reg_shm = NULL; in trusted_tee_unseal() local120 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_unseal()122 if (IS_ERR(reg_shm)) { in trusted_tee_unseal()[all …]
53 struct tee_shm *reg_shm; member83 rc = tee_shm_register(dev, data, sizeof(data), 0, &vars->reg_shm); in test_tee()91 ut_assert(tee_shm_is_registered(vars->reg_shm, dev)); in test_tee()94 tee_shm_free(vars->reg_shm); in test_tee()95 vars->reg_shm = NULL; in test_tee()109 tee_shm_free(vars.reg_shm); in dm_test_tee()