/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | maperror.c | 150 extern int errno; in maperror() 152 if (errno == 0) in maperror() 155 switch (errno) { in maperror() 157 errno = XENOMSG; /* No message of desired type */ in maperror() 160 errno = XEIDRM; /* Identifier removed */ in maperror() 163 errno = XEDEADLK; /* Deadlock condition. */ in maperror() 166 errno = XENOLCK; /* No record locks available. */ in maperror() 169 errno = XENOSTR; /* Device not a stream */ in maperror() 172 errno = XETIME; /* timer expired */ in maperror() 175 errno = XENOSR; /* out of streams resources */ in maperror() [all …]
|
/titanic_50/usr/src/lib/libm/common/C/ |
H A D | _SVID_error.c | 145 errno = EDOM; in _SVID_libm_err() 150 errno = EDOM; in _SVID_libm_err() 160 errno = EDOM; in _SVID_libm_err() 165 errno = EDOM; in _SVID_libm_err() 178 errno = EDOM; in _SVID_libm_err() 183 errno = EDOM; in _SVID_libm_err() 196 errno = ERANGE; in _SVID_libm_err() 198 errno = ERANGE; in _SVID_libm_err() 210 errno = ERANGE; in _SVID_libm_err() 212 errno = ERANGE; in _SVID_libm_err() [all …]
|
/titanic_50/usr/src/lib/libtnfctl/ |
H A D | prb_proc.c | 82 path, strerror(errno))); in prb_proc_open_general() 83 return (prb_status_map(errno)); in prb_proc_open_general() 140 "proc_close: close failed: %s\n", strerror(errno))); in prb_proc_close() 141 return (prb_status_map(errno)); in prb_proc_close() 170 if (errno == EINTR) in prb_proc_stop() 174 strerror(errno))); in prb_proc_stop() 175 return (prb_status_map(errno)); in prb_proc_stop() 204 if (errno == EINTR) in prb_proc_prstop() 208 strerror(errno))); in prb_proc_prstop() 209 return (prb_status_map(errno)); in prb_proc_prstop() [all …]
|
/titanic_50/usr/src/lib/pyzfs/common/ |
H A D | util.py | 30 import errno 36 errno.ECANCELED = 47 37 errno.ENOTSUP = 48 75 self.errno = eno 90 errno.EPERM: _("permission denied"), 91 errno.ECANCELED: 93 errno.EINTR: _("signal received"), 94 errno.EIO: _("I/O error"), 95 errno.ENOENT: _("dataset does not exist"), 96 errno.ENOSPC: _("out of space"), [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 98 progerr(ERR_OPEN_READ, a_srcPath, errno, strerror(errno)); in copyf() 105 progerr(ERR_FSTAT, srcFd, a_srcPath, errno, strerror(errno)); in copyf() 122 errno, strerror(errno)); in copyf() 135 progerr(ERR_OPEN_WRITE, a_dstPath, errno, in copyf() 136 strerror(errno)); in copyf() 168 progerr(ERR_MODTIM, a_dstPath, errno, strerror(errno)); in copyf() 175 progerr(ERR_READ, a_srcPath, errno, strerror(errno)); in copyf() 267 progerr(ERR_COPY_MEMORY, a_srcPath, errno, in copyFile() 268 strerror(errno)); in copyFile() 287 errno, strerror(errno)); in copyFile() [all …]
|
/titanic_50/usr/src/lib/sun_fc/common/ |
H A D | FCHBA.cc | 87 errno = 0; in FCHBA() 93 if (errno == EBUSY) { in FCHBA() 95 } else if (errno == EAGAIN) { in FCHBA() 97 } else if (errno == ENOTSUP) { in FCHBA() 99 } else if (errno == ENOENT) { in FCHBA() 107 errno = 0; in FCHBA() 115 strerror(errno)); in FCHBA() 117 if (errno == EBUSY) { in FCHBA() 119 } else if (errno == EAGAIN) { in FCHBA() 121 } else if (errno == ENOTSUP) { in FCHBA() [all …]
|
H A D | TgtFCHBA.cc | 89 errno = 0; in getHBAAttributes() 99 if (errno == EBUSY) { in getHBAAttributes() 101 } else if (errno == EAGAIN) { in getHBAAttributes() 103 } else if (errno == ENOTSUP) { in getHBAAttributes() 131 errno = 0; in getHBAAttributes() 134 if (errno == EBUSY) { in getHBAAttributes() 136 } else if (errno == EAGAIN) { in getHBAAttributes() 138 } else if (errno == ENOTSUP) { in getHBAAttributes() 172 errno = 0; in doForceLip() 174 if (errno == EBUSY) { in doForceLip() [all …]
|
/titanic_50/usr/src/cmd/tsol/updatehome/ |
H A D | setupfiles.c | 105 return (errno); in __setupfiles() 123 return (errno); in __setupfiles() 143 return (errno); in __setupfiles() 156 errno = ENAMETOOLONG; in __setupfiles() 158 return (errno); in __setupfiles() 178 return (errno); in __setupfiles() 188 return (errno); in __setupfiles() 196 if (errno != ENOENT) in __setupfiles() 209 errno = ENAMETOOLONG; in __setupfiles() 211 return (errno); in __setupfiles() [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_emea/ |
H A D | kiconv_emea.c | 601 size_t *outbytesleft, int *errno) in kiconv_to_sb() argument 621 *errno = EBADF; in kiconv_to_sb() 629 *errno = EBADF; in kiconv_to_sb() 674 *errno = EILSEQ; in kiconv_to_sb() 684 *errno = E2BIG; in kiconv_to_sb() 710 *errno = EINVAL; in kiconv_to_sb() 727 *errno = EILSEQ; in kiconv_to_sb() 734 *errno = EILSEQ; in kiconv_to_sb() 794 size_t *outbytesleft, int *errno) in kiconv_fr_sb() argument 810 *errno = EBADF; in kiconv_fr_sb() [all …]
|
/titanic_50/usr/src/stand/lib/sock/ |
H A D | socket.c | 67 so_check_fd(int fd, int *errno) in so_check_fd() argument 73 *errno = ENOTSOCK; in so_check_fd() 77 *errno = ENOTSOCK; in so_check_fd() 97 errno = 0; in socket() 105 errno = EPROTONOSUPPORT; in socket() 115 errno = EMFILE; /* No slots left. */ in socket() 139 errno = EPROTOTYPE; in socket() 143 if (errno != 0) in socket() 160 errno = 0; in getsockname() 161 if ((i = so_check_fd(s, &errno)) == -1) in getsockname() [all …]
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | uidswap.c | 86 fatal("malloc(gid array): %.100s", strerror(errno)); in temporarily_use_uid() 91 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid() 97 strerror(errno)); in temporarily_use_uid() 100 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid() 104 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid() 108 debug("setregid(%u, -1): %.100s", (uint_t)pw->pw_gid, strerror(errno)); in temporarily_use_uid() 111 debug("setreuid(%u, -1): %.100s", (uint_t)pw->pw_uid, strerror(errno)); in temporarily_use_uid() 115 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid() 118 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid() 123 strerror(errno)); in temporarily_use_uid() [all …]
|
/titanic_50/usr/src/cmd/sgs/tools/common/ |
H A D | sgsmsg.c | 147 (void) fprintf(stderr, Errmsg_nmem, strerror(errno)); in message_append() 155 (void) fprintf(stderr, Errmsg_stnw, strerror(errno)); in message_append() 161 (void) fprintf(stderr, Errmsg_nmem, strerror(errno)); in message_append() 165 (void) fprintf(stderr, Errmsg_nmem, strerror(errno)); in message_append() 207 (void) fprintf(stderr, Errmsg_nmem, strerror(errno)); in getmesgid() 287 strerror(errno)); in getmesgid() 293 strerror(errno)); in getmesgid() 305 (void) fprintf(stderr, Errmsg_wrte, fldefs, strerror(errno)); in getmesgid() 390 (void) fprintf(stderr, Errmsg_wrte, fldefs, strerror(errno)); in init_defs() 395 (void) fprintf(stderr, Errmsg_wrte, fldefs, strerror(errno)); in init_defs() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4v/cpumem-retire/ |
H A D | cma_page_sun4v.c | 38 errno = ldom_fmri_status(cma_lhp, nvl); in cma_fmri_page_service_state() 40 if (errno == 0 || errno == EINVAL) in cma_fmri_page_service_state() 42 if (errno == EAGAIN) in cma_fmri_page_service_state() 52 errno = ldom_fmri_retire(cma_lhp, nvl); in cma_fmri_page_retire() 54 if (errno == 0 || errno == EIO || errno == EINVAL) in cma_fmri_page_retire() 56 if (errno == EAGAIN) in cma_fmri_page_retire() 66 errno = ldom_fmri_unretire(cma_lhp, nvl); in cma_fmri_page_unretire() 68 if (errno == 0 || errno == EIO) in cma_fmri_page_unretire()
|
/titanic_50/usr/src/lib/librcm/ |
H A D | librcm.c | 60 errno = EINVAL; in rcm_alloc_handle() 65 errno = EPERM; in rcm_alloc_handle() 85 errno = EINVAL; in rcm_alloc_handle() 107 errno = EINVAL; in rcm_free_handle() 131 errno = EINVAL; in rcm_get_info() 140 errno = EINVAL; in rcm_get_info() 157 errno = EINVAL; in rcm_get_info_list() 183 errno = EINVAL; in rcm_request_offline_list() 209 errno = EINVAL; in rcm_notify_online_list() 235 errno = EINVAL; in rcm_notify_remove_list() [all …]
|
/titanic_50/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 48 if (errno == 0) in my_perror() 51 error_no = errno; in my_perror() 54 errno = error_no; in my_perror() 83 errno = EINVAL; in _m_get_media_info() 92 errno = EINVAL; in _m_get_media_info() 97 errno = EINVAL; in _m_get_media_info() 125 errno = EINVAL; in _m_get_device_info() 134 errno = EINVAL; in _m_get_device_info() 139 errno = EINVAL; in _m_get_device_info() 144 if (!errno) in _m_get_device_info() [all …]
|
/titanic_50/usr/src/cmd/ssh/sshd/ |
H A D | sshpty.c | 60 error("openpty: %.100s", strerror(errno)); in pty_allocate() 79 error("_getpty: %.100s", strerror(errno)); in pty_allocate() 86 error("%.200s: %.100s", namebuf, strerror(errno)); in pty_allocate() 103 error("/dev/ptmx: %.100s", strerror(errno)); in pty_allocate() 108 error("grantpt: %.100s", strerror(errno)); in pty_allocate() 113 error("unlockpt: %.100s", strerror(errno)); in pty_allocate() 125 error("%.100s: %.100s", namebuf, strerror(errno)); in pty_allocate() 135 error("ioctl I_PUSH ptem: %.100s", strerror(errno)); in pty_allocate() 137 error("ioctl I_PUSH ldterm: %.100s", strerror(errno)); in pty_allocate() 140 error("ioctl I_PUSH ttcompat: %.100s", strerror(errno)); in pty_allocate() [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 109 errno, strerror(errno)); in cppath() 116 progerr(ERR_FSTAT, srcFd, a_srcPath, errno, strerror(errno)); in cppath() 169 progerr(ERR_INPUT, a_srcPath, errno, strerror(errno)); in cppath() 186 if (errno == ETXTBSY) { in cppath() 189 progerr(ERR_OUTPUT_WRITING, a_dstPath, errno, in cppath() 190 strerror(errno)); in cppath() 205 progerr(ERR_LOG, busylog, errno, in cppath() 206 strerror(errno)); in cppath() 220 progerr(ERR_MODTIM, a_dstPath, errno, strerror(errno)); in cppath() 259 progerr(ERR_MAKE_DIR, a_file, errno, strerror(errno)); in create_path() [all …]
|
/titanic_50/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 87 return (errno); in cmd_execute_command() 91 return (errno); in cmd_execute_command() 95 return (errno); in cmd_execute_command() 113 exit(errno); in cmd_execute_command() 117 exit(errno); in cmd_execute_command() 126 exit(errno); in cmd_execute_command() 130 exit(errno); in cmd_execute_command() 137 exit(errno); in cmd_execute_command() 188 *errp = errno; in cmd_execute_command_and_retrieve_string() 193 *errp = errno; in cmd_execute_command_and_retrieve_string() [all …]
|
/titanic_50/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 112 errno = EMSGSIZE; in ns_name_ntop() 117 errno = EMSGSIZE; in ns_name_ntop() 123 errno = EMSGSIZE; /*%< XXX */ in ns_name_ntop() 127 errno = EMSGSIZE; in ns_name_ntop() 135 errno = EINVAL; in ns_name_ntop() 140 errno = EMSGSIZE; in ns_name_ntop() 150 errno = EMSGSIZE; in ns_name_ntop() 157 errno = EMSGSIZE; in ns_name_ntop() 166 errno = EMSGSIZE; in ns_name_ntop() 175 errno = EMSGSIZE; in ns_name_ntop() [all …]
|
/titanic_50/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 72 errno = EINVAL; in _m_get_media_info() 81 errno = EINVAL; in _m_get_media_info() 105 errno = reterror->errnum; in _m_get_media_info() 129 errno = EINVAL; in _m_get_device_info() 134 errno = EINVAL; in _m_get_device_info() 140 if (!errno) in _m_get_device_info() 141 errno = ENOMEM; in _m_get_device_info() 147 if (!errno) in _m_get_device_info() 148 errno = ENOMEM; in _m_get_device_info() 156 if (!errno) in _m_get_device_info() [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | memstat.c | 39 return (errno != 0) ? errno : -1; in sm_memstat_open() 81 return (errno != 0) ? errno : -1; 113 return (errno != 0) ? errno : -1; 117 return (errno != 0) ? errno : -2; 140 return (errno != 0) ? errno : -1; 167 return (errno != 0) ? errno : -2; 171 return (errno != 0) ? errno : -3; 218 return (fp != NULL) ? 0 : errno;
|
/titanic_50/usr/src/lib/iconv_modules/ja/common/ |
H A D | jis_TO_PCK.c | 107 errno = EINVAL; in _icv_iconv() 118 errno = EINVAL; in _icv_iconv() 129 errno = EINVAL; in _icv_iconv() 136 errno = EILSEQ; in _icv_iconv() 153 errno = EINVAL; in _icv_iconv() 165 errno = EILSEQ; in _icv_iconv() 183 errno = EILSEQ; in _icv_iconv() 202 errno = EILSEQ; in _icv_iconv() 215 errno = EINVAL; in _icv_iconv() 223 errno = EILSEQ; in _icv_iconv() [all …]
|
/titanic_50/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 241 (errno == ENOENT)) { in update_fabric_wwn_list() 249 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 256 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 268 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 281 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 296 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 307 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 316 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 324 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() 329 cfga_err(errstring, errno, ERR_UPD_REP, 0); in update_fabric_wwn_list() [all …]
|
/titanic_50/usr/src/lib/libast/common/comp/ |
H A D | rename.c | 45 oerrno = errno; 54 errno = oerrno; 58 errno = EPERM; 70 ooerrno = errno; 74 if (errno == EPERM) 76 errno = ooerrno; 80 oerrno = errno; 84 if (errno == EPERM) 86 errno = ooerrno; 90 errno = oerrno; [all …]
|
/titanic_50/usr/src/lib/iconv_modules/zh/common/ |
H A D | UTF-8%HZ-GB-2312.c | 55 errno = ENOMEM; in _icv_open() 72 errno = EBADF; in _icv_close() 89 errno = EBADF; in _icv_iconv() 98 errno = 0; in _icv_iconv() 111 errno = E2BIG; in _icv_iconv() 123 errno = E2BIG; in _icv_iconv() 132 errno = E2BIG; in _icv_iconv() 140 errno = E2BIG; in _icv_iconv() 148 errno = EILSEQ; in _icv_iconv() 159 errno = EILSEQ; in _icv_iconv() [all …]
|