Lines Matching refs:ERR_PTR
117 return ERR_PTR(-EINVAL); in tee_shm_alloc()
122 return ERR_PTR(-EINVAL); in tee_shm_alloc()
126 return ERR_PTR(-EINVAL); in tee_shm_alloc()
130 ret = ERR_PTR(-EINVAL); in tee_shm_alloc()
136 ret = ERR_PTR(-ENOMEM); in tee_shm_alloc()
149 ret = ERR_PTR(rc); in tee_shm_alloc()
161 ret = ERR_PTR(shm->id); in tee_shm_alloc()
209 return ERR_PTR(-ENOTSUPP); in tee_shm_register()
212 return ERR_PTR(-EINVAL); in tee_shm_register()
217 return ERR_PTR(-ENOTSUPP); in tee_shm_register()
224 ret = ERR_PTR(-ENOMEM); in tee_shm_register()
238 ret = ERR_PTR(-ENOMEM); in tee_shm_register()
251 ret = ERR_PTR(-ENOMEM); in tee_shm_register()
268 ret = ERR_PTR(rc); in tee_shm_register()
277 ret = ERR_PTR(shm->id); in tee_shm_register()
284 ret = ERR_PTR(rc); in tee_shm_register()
420 return ERR_PTR(-EINVAL); in tee_shm_get_va()
422 return ERR_PTR(-EINVAL); in tee_shm_get_va()
458 return ERR_PTR(-EINVAL); in tee_shm_get_from_id()
464 shm = ERR_PTR(-EINVAL); in tee_shm_get_from_id()