Lines Matching defs:error
112 * error code in case of failure.
217 ubi_err(ubi, "cannot open device %d, volume %d, error %d",
291 int error, ubi_num, vol_id;
300 error = kern_path(pathname, LOOKUP_FOLLOW, &path);
301 if (error)
302 return ERR_PTR(error);
304 error = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT);
306 if (error)
307 return ERR_PTR(error);
412 * function returns a negative error code.
414 * %-EBADMSG error code is returned:
420 * returns immediately with %-EBADF error code.
504 * If all the data were successfully written, zero is returned. If an error
506 * a negative error code. Note, in case of an error, it is possible that
555 * contents is preserved. Returns zero in case of success and a negative error
594 * negative error code in case of failure.
656 * This function returns zero in case of success and a negative error code in
693 * eraseblock is already mapped, and other negative error codes in case of
731 * error code in case of failure. If the volume is damaged because of an
732 * interrupted update this function just returns immediately with %-EBADF error
757 * a negative error code in case of failure.
782 * eraseblock numbers. It returns zero in case of success and a negative error
815 * This function returns zero in case of success and a negative error code
848 * success and a negative error code in case of failure.