Searched refs:reg_shm (Results 1 – 2 of 2) sorted by relevance
68 struct tee_shm *reg_shm = NULL; in trusted_tee_seal() local75 if (IS_ERR(reg_shm)) { in trusted_tee_seal()77 return PTR_ERR(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() local122 if (IS_ERR(reg_shm)) { in trusted_tee_unseal()124 return PTR_ERR(reg_shm); in trusted_tee_unseal()149 tee_shm_free(reg_shm); in trusted_tee_unseal()168 if (IS_ERR(reg_shm)) { in trusted_tee_get_random()170 return PTR_ERR(reg_shm); in trusted_tee_get_random()[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()