Lines Matching refs:ERR_PTR
131 return ERR_PTR(-EINVAL); in ubi_open_volume()
135 return ERR_PTR(-EINVAL); in ubi_open_volume()
142 return ERR_PTR(-ENODEV); in ubi_open_volume()
205 return ERR_PTR(err); in ubi_open_volume()
227 return ERR_PTR(err); in ubi_open_volume()
249 return ERR_PTR(-EINVAL); in ubi_open_volume_nm()
253 return ERR_PTR(-EINVAL); in ubi_open_volume_nm()
256 return ERR_PTR(-EINVAL); in ubi_open_volume_nm()
260 return ERR_PTR(-ENODEV); in ubi_open_volume_nm()
277 ret = ERR_PTR(-ENODEV); in ubi_open_volume_nm()
306 return ERR_PTR(-EINVAL); in ubi_open_volume_path()
310 return ERR_PTR(error); in ubi_open_volume_path()
319 return ERR_PTR(-EINVAL); in ubi_open_volume_path()
322 return ERR_PTR(-ENODEV); in ubi_open_volume_path()