Searched defs:errno (Results 1 - 25 of 91) sorted by relevance

1234

/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Derrno.c30 #include <errno.h>
32 int errno; variable
/illumos-gate/usr/src/stand/lib/sa/
H A Derrno.c30 #include <errno.h>
32 int errno; variable
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Derrno.c33 errno_to_efi_status(int errno) argument
37 switch (errno) {
98 int errno; local
102 errno = EPERM;
106 errno = EOVERFLOW;
111 errno = EIO;
115 errno = EINVAL;
119 errno = ESTALE;
123 errno = ENXIO;
127 errno
[all...]
/illumos-gate/usr/src/head/
H A Derrno.h39 #include <sys/errno.h>
54 #define errno (*(___errno())) macro
56 extern int errno;
57 /* ANSI C++ requires that errno be a macro */
59 #define errno errno macro
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dqstrdup.c35 #include <errno.h>
41 #define ERR_MEMORY "memory allocation failure, errno=%d"
51 progerr(gettext(ERR_MEMORY), errno); local
H A Dflex_dev.c34 #include <errno.h>
39 #define ERR_CHDIR "unable to chdir back to <%s>, errno=%d"
41 "errno=%d"
60 progerr(gettext(ERR_GETCWD), errno); local
66 progerr(gettext(ERR_CHDIR), cwd, errno); local
H A Deptstat.c32 #include <errno.h>
50 #define ERR_MEMORY "memory allocation failure, errno=%d"
118 progerr(gettext(ERR_MEMORY), errno); local
H A Dpathdup.c36 #include <errno.h>
42 #define ERR_MEMORY "memory allocation failure, errno=%d"
95 progerr(gettext(ERR_MEMORY), errno); local
H A Dputparam.c39 #include <errno.h>
97 progerr(gettext(ERR_MEMORY), errno); local
124 progerr(gettext(ERR_MEMORY), errno); local
147 progerr(gettext(ERR_MEMORY), errno); local
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Ddelmap.c32 #include <errno.h>
50 #define ERR_WRENT "write of entry failed, errno=%d"
51 #define ERR_MEMORY "no memory, errno=%d"
80 progerr(gettext(ERR_MEMORY), errno); local
87 progerr(gettext(ERR_MEMORY), errno); local
106 progerr(gettext(ERR_WRENT), errno); local
148 progerr(gettext(ERR_MEMORY), errno); local
/illumos-gate/usr/src/cmd/pyzfs/
H A Dpyzfs.py38 import errno namespace
74 import errno namespace
77 if e.errno == errno.EPIPE:
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dholds.py31 import errno namespace
76 raise zfs.util.ZFSError(errno.ENOENT, _("no matching datasets"))
H A Duserspace.py33 import errno namespace
H A Dutil.py30 import errno namespace
36 errno.ECANCELED = 47
37 errno.ENOTSUP = 48
63 errno -- the error number (eg, from ioctl(2))."""
65 __slots__ = "why", "task", "errno"
70 eno -- the error number (errno)
75 self.errno = eno
90 errno.EPERM: _("permission denied"),
91 errno.ECANCELED:
93 errno
[all...]
H A Dallow.py36 import errno namespace
253 raise zfs.util.ZFSError(errno.EINVAL, permname,
H A Ddataset.py32 import errno namespace
123 e = zfs.util.ZFSError(errno.EINVAL,
217 raise zfs.util.ZFSError(errno.EINVAL,
224 if not recursive or e.errno != errno.ENOENT:
234 if e.errno != errno.ENOENT:
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgexecv.c32 #include <errno.h>
184 progerr(pkg_gt(ERR_FORK_FAILED), errno, strerror(errno)); local
260 if (errno == EAGAIN) {
264 if (errno == EINTR) {
299 errno, strerror(errno)); local
444 progerr(pkg_gt(ERR_EX_FAIL), arg[0], errno); local
H A Dgpkglist.c36 #include <errno.h>
83 progerr(pkg_gt(ERR_MEMORY), errno); local
84 errno = ENOMEM;
128 errno = ENOPKG; /* contains no valid packages */
141 errno = EFAULT;
153 errno = EFAULT;
166 errno = ((n == 3) ? EINTR : EFAULT);
216 errno = ESRCH;
235 errno = ESRCH;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dglobals.c36 int errno; /* our old friend */ variable
/illumos-gate/usr/src/cmd/bnu/
H A Dcpmv.c76 DEBUG(5, "open of file returned errno %d\n", errno);
98 DEBUG(5, "rename failed: errno %d\n", errno);
152 ASSERT(unlink(file) == 0, Ct_UNLINK, file, errno); local
H A Dgename.c123 ASSERT(fp != NULL, Ct_OPEN, seqfile, errno);
128 Ct_CREATE, seqfile, errno);
136 ASSERT(ferror(fp) == 0, Ct_WRITE, seqfile, errno); local
138 ASSERT(ferror(fp) == 0, Ct_CLOSE, seqfile, errno); local
H A Dgtcfile.c204 ASSERT(xmv(wfile1, cmitfile) == 0, Ct_LINK, cmitfile, errno); local
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_rng.c149 dca_rngdone(dca_request_t *reqp, int errno) argument
151 if (errno == CRYPTO_SUCCESS) {
160 errno = CRYPTO_DEVICE_ERROR;
163 errno = dca_scatter(reqp->dr_obuf_kaddr,
165 if (errno != CRYPTO_SUCCESS) {
178 errno = dca_rngstart(reqp->dr_dca, reqp);
179 if (errno == CRYPTO_QUEUED) {
189 crypto_op_notification(reqp->dr_kcf_req, errno);
197 errno);
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_host.c147 sda_host_transfer(sda_host_t *h, int num, sda_err_t errno) argument
149 sda_slot_transfer(&h->h_slots[num], errno);
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dseterror.c73 /* need to handle the fact that errno has been defined as a function
75 # ifdef errno
76 # undef errno macro
77 # endif /* errno */
101 * of an errno error)
250 case 'm': /* insert the errno string */

Completed in 351 milliseconds

1234