Lines Matching refs:ERR_PTR
71 return ERR_PTR(-EINVAL); in tee_shm_alloc()
76 return ERR_PTR(-EINVAL); in tee_shm_alloc()
80 return ERR_PTR(-EINVAL); in tee_shm_alloc()
84 ret = ERR_PTR(-EINVAL); in tee_shm_alloc()
90 ret = ERR_PTR(-ENOMEM); in tee_shm_alloc()
104 ret = ERR_PTR(rc); in tee_shm_alloc()
113 ret = ERR_PTR(shm->id); in tee_shm_alloc()
162 return ERR_PTR(-ENOTSUPP); in tee_shm_register()
165 return ERR_PTR(-EINVAL); in tee_shm_register()
170 return ERR_PTR(-ENOTSUPP); in tee_shm_register()
177 ret = ERR_PTR(-ENOMEM); in tee_shm_register()
192 ret = ERR_PTR(-ENOMEM); in tee_shm_register()
205 ret = ERR_PTR(-ENOMEM); in tee_shm_register()
222 ret = ERR_PTR(rc); in tee_shm_register()
231 ret = ERR_PTR(shm->id); in tee_shm_register()
238 ret = ERR_PTR(rc); in tee_shm_register()
378 return ERR_PTR(-EINVAL); in tee_shm_get_va()
380 return ERR_PTR(-EINVAL); in tee_shm_get_va()
416 return ERR_PTR(-EINVAL); in tee_shm_get_from_id()
427 shm = ERR_PTR(-EINVAL); in tee_shm_get_from_id()