Searched refs:errno (Results 1 - 25 of 4861) sorted by relevance

1234567891011>>

/freebsd-head/lib/libc/gen/
H A Derrno.c32 int errno; variable
H A Dnice.c39 #include <errno.h>
50 saverrno = errno;
51 errno = 0;
53 if (prio == -1 && errno != 0)
56 if (errno == EACCES)
57 errno = EPERM;
60 errno = saverrno;
H A Dpmadvise.c11 #include <errno.h>
18 saved_errno = errno;
20 ret = errno;
21 errno = saved_errno;
/freebsd-head/contrib/mandoc/
H A Dtest-EFTYPE.c1 #include <errno.h>
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_checks.cpp19 errno = errno_ENOMEM;
H A Dsanitizer_syscall_generic.inc33 *rverrno = errno;
/freebsd-head/cddl/lib/libdtrace/
H A Derrno.d244 * Error strings from <sys/errno.h>
247 inline string strerror[int errno] =
248 errno == 0 ? "Success" :
249 errno == EPERM ? "Operation not permitted" :
250 errno == ENOENT ? "No such file or directory" :
251 errno == ESRCH ? "No such process" :
252 errno == EINTR ? "Interrupted system call" :
253 errno == EIO ? "Input/output error" :
254 errno == ENXIO ? "Device not configured" :
255 errno
[all...]
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.c34 errno = ENOSYS;
39 saved_errno = errno;
40 error("setregid %u: %.100s", rgid, strerror(errno));
41 errno = saved_errno;
46 saved_errno = errno;
47 error("setegid %u: %.100s", (u_int)egid, strerror(errno));
48 errno = saved_errno;
52 saved_errno = errno;
53 error("setgid %u: %.100s", rgid, strerror(errno));
54 errno
[all...]
/freebsd-head/lib/libcasper/libcasper/
H A Dlibcasper_impl.c35 #include <errno.h>
45 return (fcntl(fd, F_GETFL) != -1 || errno != EBADF);
/freebsd-head/stand/efi/libefi/
H A Derrno.c34 errno_to_efi_status(int errno) argument
38 switch (errno) {
99 int errno; local
103 errno = EPERM;
107 errno = EOVERFLOW;
112 errno = EIO;
116 errno = EINVAL;
120 errno = ESTALE;
124 errno = ENXIO;
128 errno
[all...]
/freebsd-head/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A Dexceptions.py22 import errno namespace
38 errno = None variable in class:ZFSError
45 self.errno, self.message, self.name)
47 return "[Errno %d] %s" % (self.errno, self.message)
51 self.__class__.__name__, self.errno, self.message)
56 def __init__(self, errno, name, message):
57 self.errno = errno
65 def __init__(self, errno):
66 self.errno
96 errno = errno.ENOENT variable in class:DatasetNotFound
110 errno = errno.EEXIST variable in class:DatasetExists
118 errno = errno.EINVAL variable in class:NotClone
140 errno = errno.ENOENT variable in class:ParentNotFound
148 errno = ZFS_ERR_WRONG_PARENT variable in class:WrongParent
170 errno = errno.EEXIST variable in class:SnapshotNotLatest
178 errno = errno.EEXIST variable in class:SnapshotIsCloned
186 errno = errno.EBUSY variable in class:SnapshotIsHeld
194 errno = errno.EXDEV variable in class:DuplicateSnapshots
217 errno = errno.EEXIST variable in class:BookmarkExists
225 errno = errno.ENOENT variable in class:BookmarkNotFound
233 errno = errno.EINVAL variable in class:BookmarkMismatch
241 errno = errno.EINVAL variable in class:BookmarkSourceInvalid
249 errno = errno.ENOTSUP variable in class:BookmarkNotSupported
272 errno = errno.EBADF variable in class:BadHoldCleanupFD
277 errno = errno.EEXIST variable in class:HoldExists
285 errno = errno.ENOENT variable in class:HoldNotFound
307 errno = errno.ENODEV variable in class:SnapshotMismatch
315 errno = errno.ENODEV variable in class:StreamMismatch
323 errno = errno.ETXTBSY variable in class:DestinationModified
331 errno = ECKSUM variable in class:BadStream
336 errno = errno.ENOTSUP variable in class:StreamFeatureNotSupported
341 errno = errno.ENOTSUP variable in class:UnknownStreamFeature
346 errno = errno.EINVAL variable in class:StreamFeatureInvalid
351 errno = errno.EINVAL variable in class:StreamFeatureIncompatible
356 errno = zfs_errno.ZFS_ERR_STREAM_TRUNCATED variable in class:StreamTruncated
375 errno = errno.EIO variable in class:ZIOError
383 errno = errno.ENOSPC variable in class:NoSpace
391 errno = errno.EDQUOT variable in class:QuotaExceeded
399 errno = errno.EBUSY variable in class:DatasetBusy
407 errno = errno.ENAMETOOLONG variable in class:NameTooLong
415 errno = errno.EINVAL variable in class:NameInvalid
444 errno = errno.EROFS variable in class:ReadOnlyPool
452 errno = errno.EAGAIN variable in class:SuspendedPool
460 errno = errno.EXDEV variable in class:PoolNotFound
468 errno = errno.EXDEV variable in class:PoolsDiffer
476 errno = errno.ENOTSUP variable in class:FeatureNotSupported
484 errno = errno.ENOTSUP variable in class:PropertyNotSupported
492 errno = errno.EINVAL variable in class:PropertyInvalid
500 errno = errno.EINVAL variable in class:DatasetTypeInvalid
508 errno = errno.EINVAL variable in class:UnknownCryptCommand
516 errno = errno.EACCES variable in class:EncryptionKeyNotLoaded
521 errno = errno.EEXIST variable in class:EncryptionKeyAlreadyLoaded
526 errno = errno.EACCES variable in class:EncryptionKeyInvalid
531 errno = None variable in class:ZCPError
536 errno = errno.EINVAL variable in class:ZCPSyntaxError
544 errno = ECHRNG variable in class:ZCPRuntimeError
552 errno = errno.EINVAL variable in class:ZCPLimitInvalid
557 errno = ETIME variable in class:ZCPTimeout
562 errno = errno.ENOSPC variable in class:ZCPSpaceError
567 errno = errno.ENOMEM variable in class:ZCPMemoryError
572 errno = errno.EPERM variable in class:ZCPPermissionError
577 errno = ZFS_ERR_CHECKPOINT_EXISTS variable in class:CheckpointExists
582 errno = ZFS_ERR_NO_CHECKPOINT variable in class:CheckpointNotFound
587 errno = ZFS_ERR_DISCARDING_CHECKPOINT variable in class:CheckpointDiscarding
592 errno = ZFS_ERR_DEVRM_IN_PROGRESS variable in class:DeviceRemovalRunning
597 errno = ZFS_ERR_VDEV_TOO_BIG variable in class:DeviceTooBig
[all...]
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.errno.d31 * collect errno at every fbt probe and at every firing of a
37 @a[errno] = count();
42 @a[errno] = count();
/freebsd-head/contrib/elftoolchain/libpe/
H A Dpe_cntl.c27 #include <errno.h>
38 errno = EINVAL;
49 errno = EACCES;
57 errno = EINVAL;
/freebsd-head/stand/libsa/
H A Dfstat.c47 errno = EBADF;
53 errno = EOPNOTSUPP;
57 errno = (f->f_ops->fo_stat)(f, sb);
58 if (errno)
/freebsd-head/usr.sbin/pw/
H A Dstrtounum.c30 #include <errno.h>
46 errno = EINVAL;
50 errno = 0;
53 errno = EINVAL;
58 errno = ERANGE;
62 if (errno == ERANGE || ret > maxval) {
63 errno = ERANGE;
/freebsd-head/contrib/elftoolchain/libelftc/
H A Delftc_timestamp.c30 #include <errno.h>
42 errno = 0;
45 errno = EINVAL;
47 errno = ERANGE;
48 if (errno != 0)
/freebsd-head/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dutil.py29 import errno namespace
35 errno.ECANCELED = 47
36 errno.ENOTSUP = 48
62 errno -- the error number (eg, from ioctl(2))."""
64 __slots__ = "why", "task", "errno"
69 eno -- the error number (errno)
74 self.errno = eno
89 errno.EPERM: _("permission denied"),
90 errno.ECANCELED:
92 errno
[all...]
/freebsd-head/contrib/tcp_wrappers/
H A Dpercent_m.c12 #include <errno.h>
15 extern int errno;
32 if (errno < sys_nerr && errno > 0) {
33 strcpy(bp, sys_errlist[errno]);
35 sprintf(bp, "Unknown error %d", errno);
/freebsd-head/tests/sys/cddl/zfs/tests/exec/
H A Dmmap_exec.c35 #include <errno.h>
37 extern int errno;
52 errno = 0;
56 return (errno);
60 return (errno);
66 return (errno);
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/builtinvar/
H A Dtst.errno1.d31 * To print errno and make sure it succeeds.
41 printf("the errno = %d\n", errno);
/freebsd-head/contrib/apr/threadproc/unix/
H A Dprocsup.c22 return errno;
49 return errno;
53 return errno;
59 return errno;
65 return errno;
73 return errno;
80 return errno;
95 errno = ECHILD;
/freebsd-head/libexec/rtld-elf/tests/libpythagoras/
H A Dpythagoras.c28 #include <errno.h>
38 errno = ERANGE;
/freebsd-head/lib/libc/sys/
H A D__error.c37 extern int errno;
43 return (&errno);
/freebsd-head/lib/libutil/
H A Dexpand_number.c35 #include <errno.h>
49 serrno = errno;
50 errno = 0;
53 errno = ERANGE;
54 if (errno != 0)
56 errno = serrno;
84 errno = EINVAL;
90 errno = ERANGE;
/freebsd-head/lib/libnv/
H A Dcommon_impl.h37 #include <errno.h>
45 return (fcntl(fd, F_GETFD) != -1 || errno != EBADF);

Completed in 131 milliseconds

1234567891011>>