Searched defs:errno (Results 1 - 25 of 92) sorted by last modified time

1234

/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c282 sda_slot_abort(sda_slot_t *slot, sda_err_t errno) argument
290 sda_cmd_notify(cmdp, 0, errno);
295 sda_cmd_notify(cmdp, 0, errno);
303 sda_slot_handle_transfer(sda_slot_t *slot, sda_err_t errno) argument
318 sda_cmd_notify(cmdp, SDA_CMDF_DAT, errno);
422 sda_slot_transfer(sda_slot_t *slot, sda_err_t errno) argument
425 slot->s_errno = errno;
674 sda_err_t errno; local
676 errno = slot->s_errno;
681 sda_slot_handle_transfer(slot, errno);
[all...]
/illumos-gate/usr/src/man/man3c/
H A DMakefile792 errno.3c \
2098 errno.3c := LINKSRC = perror.3c
/illumos-gate/usr/src/man/man3head/
H A DMakefile31 errno.h.3head \
212 errno.3head \
390 errno.3head := LINKSRC = errno.h.3head
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c50 #include <errno.h>
477 int fd, errno, ret; local
484 if ((errno = ct_status_read(fd, CTD_ALL, &st)) != 0)
486 "%ld: %s.\n"), ct, strerror(errno));
488 if ((errno = ct_pr_status_get_svc_fmri(st, &ct_fmri)) != 0)
490 "%ld: %s.\n"), ct, strerror(errno));
2223 (void) fprintf(stderr, ": %s\n", strerror(errno));
/illumos-gate/usr/src/compat/bhyve/sys/
H A Derrno.h22 #define errno (*(___errno())) macro
25 #include_next <sys/errno.h>
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c40 #include <errno.h>
998 vdev, strerror(errno));
1360 if ((dirp = opendir(buf)) == NULL && errno != ENOENT) {
1362 "%s\n"), buf, strerror(errno));
2921 errno = 0;
2923 if (errno != 0 || *endptr != '\0') {
3037 errno = 0;
3039 if (errno != 0 || *endptr != '\0') {
4307 int argc = *argcp, errno; local
4315 errno
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c44 #include <errno.h>
557 errno = 0;
559 if (errno != 0 || endptr == (char *)value || *endptr)
563 (errno) ? strerror(errno) :
567 errno = 0;
569 if (errno != 0 || *endptr)
573 (errno) ? strerror(errno) : "Illegal character");
1090 errno
3486 errno); local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c4420 uint32_t errno = 0; local
4437 errno = emlxs_diag_biu_run(hba, pattern);
4439 if (pm->pm_stat_len == sizeof (errno)) {
4440 *(int *)pm->pm_stat_buf = errno;
4454 errno = emlxs_diag_post_run(hba);
4456 if (pm->pm_stat_len == sizeof (errno)) {
4457 *(int *)pm->pm_stat_buf = errno;
4482 errno = emlxs_diag_echo_run(port, did, pattern);
4484 if (pm->pm_stat_len == sizeof (errno)) {
4485 *(int *)pm->pm_stat_buf = errno;
11318 emlxs_error_xlate(uint8_t errno) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c6033 * Create a tunnel policy node with "name". Set errno with
6038 create_tunnel_policy(char *name, int *errno, uint64_t *gen, netstack_t *ns) argument
6046 *errno = ENOMEM;
6051 *errno = ENOMEM;
6062 *errno = EEXIST;
6096 *errno = ENOMEM;
H A Dspdsock.c2898 int errno; local
2934 errno = 0;
2935 itp = create_tunnel_policy(tname, &errno, &gen, ns);
2941 spdsock_error(q, mp, errno, 0);
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c146 #include <sys/errno.h>
930 "errno %d\n", pmf, PM_DEVICE(dip), cmpt,
1752 "errno=%d\n", pmf, PM_DEVICE(dip), ret, *retp))
3526 * Returns system call errno value.
3721 "%s@%s(%s#%d)[%d] to %d, errno %d\n", pmf,
8089 "errno %d\n", pmf, PM_DEVICE(dip), i,
8500 int errno = 0; local
8582 &errno;
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c75 /* need to handle the fact that errno has been defined as a function
77 # ifdef errno
78 # undef errno macro
79 # endif /* errno */
1696 * %m will parse the value in the next argument as an errno string
1843 case 'm': /* insert the errno string */
/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/uts/common/io/fibre-channel/impl/
H A Dfctl.c87 #include <sys/errno.h>
6018 int errno, const char *fmt, ...)
6047 if (errno && (cnt < FC_MAX_TRACE_BUF_LEN)) {
6049 "error=0x%x\n", errno);
6017 fc_trace_debug(fc_trace_logq_t *logq, caddr_t name, int dflag, int dlevel, int errno, const char *fmt, ...) argument
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpkgdbmerg.c33 #include <errno.h>
596 progerr(gettext(ERR_MEMORY), errno); local
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dcheckmap.c34 #include <errno.h>
70 #define ERR_NOMEM "unable to allocate dynamic memory, errno=%d"
358 progerr(gettext(ERR_NOMEM), errno); local
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c34 #include <errno.h>
88 #define ERR_MEMORY "memory allocation failure, errno=%d"
93 #define ERR_TEMP "unable to obtain temporary file resources, errno=%d"
364 progerr(gettext(ERR_TEMP), errno); local
377 progerr(gettext(ERR_TEMP), errno); local
601 progerr(gettext(ERR_TEMP), errno); local
717 progerr(gettext(ERR_TEMP), errno); local
726 progerr(gettext(ERR_TEMP), errno); local
798 progerr(gettext(ERR_MEMORY), errno); local
809 progerr(gettext(ERR_MEMORY), errno); local
[all...]
H A Dmkpkgmap.c33 #include <errno.h>
66 #define MSG_WRITE "write of entry failed, errno=%d"
72 #define MSG_RDINCLUDE "unable to process include file <%s>, errno=%d"
80 #define ERR_TEMP "unable to obtain temporary file resources, errno=%d"
81 #define ERR_ENVBUILD "unable to build parameter environment, errno=%d"
83 #define ERR_GETCWD "unable to get current directory, errno=%d"
138 progerr(gettext(ERR_TEMP), errno); local
155 progerr(gettext(ERR_ENVBUILD), errno); local
342 logerr(gettext(MSG_WRITE), errno); local
680 logerr(gettext(MSG_RDINCLUDE), file, errno); local
704 progerr(gettext(ERR_GETCWD), errno); local
799 progerr(gettext(ERR_ENVBUILD), errno); local
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dutil.c3151 int err = errno;
3170 err = errno;
3179 err = errno;
3700 * _REENTRANT code gets errno redefined to a function so provide for return
3701 * of the thread errno if applicable. This has no meaning in ld.so.1 which
3704 #undef errno macro
3708 extern int errno;
3710 return (&errno);
3735 extern int errno;
3743 errno
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddstream.c44 #include <errno.h>
205 logerr(pkg_gt(MSG_OPEN), device, errno); local
309 logerr(pkg_gt(MSG_OPEN), device, errno); local
324 logerr(pkg_gt(MSG_OPEN), device, errno); local
363 logerr(pkg_gt(MSG_OPEN), device, errno); local
372 logerr(pkg_gt(MSG_OPEN), device, errno); local
585 logerr(pkg_gt(MSG_STATFS), errno); local
741 logerr(pkg_gt(MSG_POPEN), cmd, errno); local
H A Dpkgtrans.c37 #include <errno.h>
797 logerr(pkg_gt(MSG_OPEN), device, errno); local
803 logerr(pkg_gt(MSG_OPEN), device, errno); local
1037 logerr(pkg_gt(MSG_POPEN), cmd, errno); local
1051 logerr(pkg_gt(MSG_PCLOSE), cmd, errno); local
1115 cmd, errno); local
1131 cmd, errno); local
1195 errno); local
1201 errno); local
1273 logerr(pkg_gt(MSG_STATVFS), dstdir, errno); local
1368 dstdev.cdevice, errno); local
1374 dstdev.cdevice, errno); local
[all...]
/illumos-gate/usr/src/contrib/zlib/
H A Dzutil.c138 * errno. We define it as a global variable to simplify porting.
141 int errno = 0; variable
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c50 #undef errno macro
51 extern int errno;
1437 self->ul_errnop = &errno;
2435 if (errno == ENOENT)
2436 errno = ESRCH;
2437 return (errno);
2441 saved_errno = errno;
2468 if (errno == ENOENT)
2469 errno = ESRCH;
2470 return (errno);
[all...]
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c1075 xvdi_dev_error(dev_info_t *dip, int errno, char *errstr) argument
1080 xenbus_dev_error(&pdp->xd_xsdev, errno, errstr);
1084 xvdi_fatal_error(dev_info_t *dip, int errno, char *errstr) argument
1089 xenbus_dev_fatal(&pdp->xd_xsdev, errno, errstr);
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/
H A Dkiconv_ja.c35 #include <sys/errno.h>
79 utf8_ucs(uint_t *p, uchar_t **pip, size_t *pileft, int *errno) argument
220 int *errno, /* point variable to errno */
227 return (utf8_ucs(p, pip, pileft, errno));
235 int *errno) /* point variable to errno */
324 char **outbuf, size_t *outbytesleft, int *errno)
426 char **outbuf, size_t *outbytesleft, int *errno)
513 size_t *outbytesleft, int flag, int *errno, uint8_
216 read_unicode( uint_t *p, uchar_t **pip, size_t *pileft, int *errno, int flag, size_t *rv) argument
231 write_unicode( uint_t u32, char **pop, size_t *poleft, int *errno) argument
323 _do_kiconv_fr_eucjp(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
425 _do_kiconv_to_eucjp(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
512 _do_kiconvstr_fr_eucjp(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno, uint8_t id) argument
661 _do_kiconvstr_to_eucjp(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno, uint8_t id) argument
752 kiconv_fr_eucjp(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
765 kiconv_to_eucjp(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
778 kiconvstr_fr_eucjp(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
786 kiconvstr_to_eucjp(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
794 kiconvstr_fr_eucjpms(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
802 kiconvstr_to_eucjpms(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
810 _do_kiconv_fr_sjis(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
999 _do_kiconv_to_sjis(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
1121 _do_kiconvstr_fr_sjis(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno, uint8_t id) argument
1353 _do_kiconvstr_to_sjis(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno, uint8_t id) argument
1479 kiconv_fr_sjis(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
1492 kiconv_to_sjis(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
1505 kiconvstr_fr_sjis(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
1513 kiconvstr_to_sjis(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
1521 kiconvstr_fr_cp932(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
1529 kiconvstr_to_cp932(char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft, int flag, int *errno) argument
[all...]

Completed in 172 milliseconds

1234