Lines Matching refs:errno

40 #include <errno.h>
102 * On error, return NULL with errno set to the error code.
119 * or NULL if reallocation was not possible (with errno set)
137 errno = ENOMEM;
145 errno = EIO;
218 * On error, return NULL, with errno set to the error code. Both runlists are
230 errno = EINVAL;
285 * On error, return NULL, with errno set to the error code. Both runlists are
298 errno = EINVAL;
381 * On error, return NULL, with errno set to the error code. Both runlists are
397 errno = EINVAL;
469 * On error, return NULL, with errno set to the error code. Both runlists are
477 errno = EINVAL;
556 errno = EINVAL;
578 errno = ERANGE;
739 * On error, return NULL, with errno set to the error code. Both runlists are
769 * On error, return NULL with errno set to the error code. @old_rl is left
781 * runlist if overlap present before returning NULL, with errno = ERANGE).
802 errno = EINVAL;
813 errno = EIO;
841 int eo = errno;
843 errno = eo;
1011 err = errno;
1014 errno = err;
1020 errno = EIO;
1106 * On error and nothing has been read, return -1 with errno set appropriately
1120 errno = EINVAL;
1164 if (bytes_read == (s64)-1 && errno == EINTR)
1167 err = errno;
1175 errno = err;
1198 * On error and nothing has been written, return -1 with errno set
1209 errno = EINVAL;
1259 if (written == (s64)-1 && errno == EINTR)
1262 err = errno;
1270 errno = err;
1320 * errno set to the error code. The following error codes are defined:
1335 errno = EINVAL;
1342 errno = EINVAL;
1352 errno = EINVAL;
1409 errno = EINVAL;
1411 errno = EIO;
1433 * destination buffer @dst is too small, return -1 with errno set ENOSPC.
1454 errno = ENOSPC;
1481 * Return 0 on success. On error, return -1 with errno set to the error code.
1613 errno = ENOSPC;
1616 errno = EINVAL;
1620 errno = EINVAL;
1622 errno = EIO;
1636 * Return 0 on success and -1 on error with errno set to the error code.
1647 errno = EINVAL;
1659 errno = EINVAL;
1672 errno = EIO;
1715 * Return 1 if have, 0 if not, -1 on error with errno set to the error code.
1722 errno = EINVAL;
1730 errno = EINVAL;
1744 * Return compressed size or -1 on error with errno set to the error code.
1752 errno = EINVAL;
1760 errno = EINVAL;