/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_error.c | 74 md_void_errno_t errnum in mderror() argument 81 ip->errnum = errnum; in mderror() 92 int errnum in mdsyserror() argument 99 ip->errnum = errnum; in mdsyserror() 110 md_dev_errno_t errnum, in mddeverror() argument 118 ip->errnum = errnum; in mddeverror() 130 md_md_errno_t errnum, in mdmderror() argument 138 ip->errnum = errnum; in mdmderror() 150 md_comp_errno_t errnum, in mdcomperror() argument 159 ip->errnum = errnum; in mdcomperror() [all …]
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | disk_io.c | 167 while (byte_len > 0 && !errnum) in rawread() 181 errnum = ERR_NO_DISK; in rawread() 229 errnum = ERR_GEOM; in rawread() 239 errnum = ERR_READ; in rawread() 265 errnum = ERR_READ; in rawread() 303 return (!errnum); in rawread() 316 errnum = ERR_OUTSIDE_PART; in devread() 352 errnum = ERR_WRITE; in rawwrite() 367 errnum = ERR_WRITE; in rawwrite() 425 errnum = ERR_DEV_VALUES; in sane_partition() [all …]
|
H A D | fsys_zfs.c | 547 } else if (errnum = zio_read(bp, tmpbuf, stack)) { in dmu_read() 548 return (errnum); in dmu_read() 602 errnum = ERR_FSYS_CORRUPT; in zap_hash() 730 if (errnum) in fzap_lookup() 731 return (errnum); in fzap_lookup() 746 if (errnum = dmu_read(zap_dnode, blkid, l, stack)) in fzap_lookup() 747 return (errnum); in fzap_lookup() 773 if ((errnum = dmu_read(zap_dnode, 0, zapbuf, stack)) != 0) in zap_lookup() 774 return (errnum); in zap_lookup() 807 if ((errnum = dmu_read(zap_dnode, 0, mzp, stack)) != 0) in zap_iterate() [all …]
|
H A D | builtins.c | 247 return errnum; in blocklist_func() 342 errnum = ERR_BOOT_COMMAND; in boot_func() 375 if (errnum == ERR_NONE) in bootp_func() 376 errnum = ERR_DEV_VALUES; in bootp_func() 467 if (errnum == ERR_NONE) in chainloader_func() 468 errnum = ERR_EXEC_FORMAT; in chainloader_func() 479 errnum = ERR_EXEC_FORMAT; in chainloader_func() 495 errnum = ERR_NONE; in chainloader_func() 532 errnum = ERR_BAD_ARGUMENT; in cmp_func() 852 errnum = ERR_FILE_NOT_FOUND; in device_func() [all …]
|
H A D | boot.c | 71 if (!errnum) in load_image() 72 errnum = ERR_EXEC_FORMAT; in load_image() 85 errnum = ERR_BOOT_FEATURES; in load_image() 112 errnum = ERR_BELOW_1MB; in load_image() 119 errnum = ERR_EXEC_FORMAT; in load_image() 163 errnum = ERR_EXEC_FORMAT; in load_image() 166 errnum = ERR_BELOW_1MB; in load_image() 214 errnum = ERR_BELOW_1MB; in load_image() 276 errnum = ERR_WONT_FIT; in load_image() 280 errnum = ERR_WONT_FIT; in load_image() [all …]
|
H A D | gunzip.c | 290 return ! errnum; in gunzip_test_header() 306 if (! errnum) in gunzip_test_header() 307 errnum = ERR_BAD_GZIP_HEADER; in gunzip_test_header() 765 errnum = ERR_BAD_GZIP_DATA; in inflate_codes_in_window() 803 errnum = ERR_BAD_GZIP_DATA; in inflate_codes_in_window() 885 errnum = ERR_BAD_GZIP_DATA; in init_stored_block() 916 errnum = ERR_BAD_GZIP_DATA; in init_fixed_block() 926 errnum = ERR_BAD_GZIP_DATA; in init_fixed_block() 969 errnum = ERR_BAD_GZIP_DATA; in init_dynamic_block() 987 errnum = ERR_BAD_GZIP_DATA; in init_dynamic_block() [all …]
|
H A D | cmdline.c | 94 errnum = ERR_UNRECOGNIZED; in find_command() 107 errnum = 0; in init_cmdline() 142 errnum = ERR_NONE; in enter_cmdline() 160 errnum = ERR_UNRECOGNIZED; in enter_cmdline() 200 if (errnum) in run_script() 202 errnum = ERR_NONE; in run_script() 261 errnum = ERR_UNRECOGNIZED; in run_script()
|
H A D | fsys_minix.c | 217 errnum = ERR_FSYS_CORRUPT; in minix_block_map() 229 errnum = ERR_FSYS_CORRUPT; in minix_block_map() 237 errnum = ERR_FSYS_CORRUPT; in minix_block_map() 284 if (errnum) in minix_read() 358 errnum = ERR_SYMLINK_LOOP; in minix_dir() 374 errnum = ERR_FILELENGTH; in minix_dir() 418 errnum = ERR_BAD_FILETYPE; in minix_dir() 437 errnum = ERR_BAD_FILETYPE; in minix_dir() 468 errnum = ERR_FILE_NOT_FOUND; in minix_dir() 487 errnum = ERR_FSYS_CORRUPT; in minix_dir()
|
H A D | fsys_ffs.c | 130 errnum = ERR_FSYS_CORRUPT; in block_map() 149 while (len && !errnum) in ffs_read() 175 if (errnum) in ffs_read() 206 errnum = ERR_BAD_FILETYPE; in ffs_dir() 224 errnum = ERR_BAD_FILETYPE; in ffs_dir() 246 errnum = ERR_FILE_NOT_FOUND; in ffs_dir() 260 errnum = ERR_FSYS_CORRUPT; in ffs_dir()
|
H A D | fsys_ufs2.c | 155 errnum = ERR_FSYS_CORRUPT; in block_map() 174 while (len && !errnum) in ufs2_read() 200 if (errnum) in ufs2_read() 231 errnum = ERR_BAD_FILETYPE; in ufs2_dir() 249 errnum = ERR_BAD_FILETYPE; in ufs2_dir() 267 errnum = ERR_FILE_NOT_FOUND; in ufs2_dir() 281 errnum = ERR_FSYS_CORRUPT; in ufs2_dir()
|
H A D | fsys_ext2fs.c | 376 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 391 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 400 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 413 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 422 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 430 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 500 if (errnum) in ext2fs_read() 655 errnum = ERR_SYMLINK_LOOP; in ext2fs_dir() 668 errnum = ERR_FILELENGTH; in ext2fs_dir() 722 errnum = ERR_BAD_FILETYPE; in ext2fs_dir() [all …]
|
/titanic_41/usr/src/lib/libnsl/nsl/ |
H A D | t_strerror.c | 83 _tx_strerror(int errnum, int api_semantics) in _tx_strerror() argument 88 if (errnum <= _xti_nerr && errnum >= 0) in _tx_strerror() 89 return (dgettext(__nsl_dom, _xti_errlist[errnum])); in _tx_strerror() 90 (void) snprintf(buf, sizeof (buf), "%d: %s", errnum, in _tx_strerror() 108 if (errnum < t_nerr && errnum >= 0) in _tx_strerror() 109 return (dgettext(__nsl_dom, t_errlist[errnum])); in _tx_strerror() 110 (void) snprintf(buf, sizeof (buf), "%d: %s", errnum, in _tx_strerror()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | strerror.c | 43 strerror(int errnum) in strerror() argument 45 if (errnum < _sys_num_err && errnum >= 0) in strerror() 46 return (_libc_gettext((char *)&_sys_errs[_sys_index[errnum]])); in strerror() 56 strerror_r(int errnum, char *strerrbuf, size_t buflen) in strerror_r() argument 61 if (errnum < _sys_num_err && errnum >= 0) { in strerror_r() 62 buf = _libc_gettext((char *)&_sys_errs[_sys_index[errnum]]); in strerror_r()
|
/titanic_41/usr/src/lib/libresolv2/common/bsd/ |
H A D | strerror.c | 61 u_int errnum; in isc_strerror() local 68 errnum = num; /*%< convert to unsigned */ in isc_strerror() 70 if (errnum < (u_int)sys_nerr) in isc_strerror() 71 return (sys_errlist[errnum]); in isc_strerror() 82 *t++ = "0123456789"[errnum % 10]; in isc_strerror() 83 } while (errnum /= 10); in isc_strerror()
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | errstring.c | 52 sm_errstring(errnum) 53 int errnum; 58 switch (errnum) 272 if (errnum >= E_LDAPBASE) 273 return ldap_err2string(errnum - E_LDAPBASE); 276 ret = strerror(errnum); 281 (void) sm_snprintf(buf, sizeof buf, "Error %d", errnum);
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | mdiox.x | 669 int errnum; /* errno for type == MDT_ACCES */ member 694 int errnum; /* errno for type == MDT_ACCES */ member 1412 md_void_errno_t errnum; member 1420 int errnum; member 1428 enum clnt_stat errnum; member 1464 md_dev_errno_t errnum; member 1482 md_overlap_errno_t errnum; member 1488 md_overlap_errno_t errnum; 1508 md_use_errno_t errnum; member 1514 md_use_errno_t errnum; [all …]
|
/titanic_41/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 385 int errnum; in N2N_check_priv() local 389 errnum = errno; in N2N_check_priv() 393 NSCD_SET_STATUS(phdr, NSS_ERROR, errnum); in N2N_check_priv() 437 int errnum; in _nscd_APP_check_cred() local 441 errnum = errno; in _nscd_APP_check_cred() 445 NSCD_SET_STATUS(phdr, NSS_ERROR, errnum); in _nscd_APP_check_cred() 1127 int errnum; in _nscd_setup_server() local 1140 errnum = errno; in _nscd_setup_server() 1142 (me, "signal (SIGPIPE): %s\n", strerror(errnum)); in _nscd_setup_server() 1161 errnum = errno; in _nscd_setup_server() [all …]
|
H A D | nscd_door.c | 199 int ret, errnum; in _nscd_doorcall_fd() local 223 errnum = errno; in _nscd_doorcall_fd() 229 NSCD_SET_STATUS(phdr, NSS_ERROR, errnum); in _nscd_doorcall_fd() 234 callnum, fd, strerror(errnum)); in _nscd_doorcall_fd() 276 int errnum; in send_doorfd() local 291 errnum = errno; in send_doorfd() 295 doorfd, strerror(errnum)); in send_doorfd() 297 NSCD_SET_STATUS(phdr, NSS_ERROR, errnum); in send_doorfd()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_error.c | 294 md_void_errno_t errnum, in mderror() argument 302 ip->errnum = errnum; in mderror() 314 int errnum, in mdsyserror() argument 321 if (errnum != 0) { in mdsyserror() 323 ip->errnum = errnum; in mdsyserror() 347 ip->errnum = rpcerr.re_status; in mdrpcerror() 368 ip->errnum = rpc_createerr.cf_stat; in mdrpccreateerror() 381 md_dev_errno_t errnum, in mddeverror() argument 390 ip->errnum = errnum; in mddeverror() 403 md_use_errno_t errnum, in mduseerror() argument [all …]
|
/titanic_41/usr/src/common/unicode/ |
H A D | u8_textprep.c | 337 u8_validate(char *u8str, size_t n, char **list, int flag, int *errnum) in u8_validate() argument 374 *errnum = EILSEQ; in u8_validate() 380 *errnum = ERANGE; in u8_validate() 390 *errnum = EINVAL; in u8_validate() 410 *errnum = EILSEQ; in u8_validate() 415 *errnum = EILSEQ; in u8_validate() 435 *errnum = EBADF; in u8_validate() 569 size_t n2, boolean_t is_it_toupper, int *errnum) in do_case_compare() argument 590 *errnum = EILSEQ; in do_case_compare() 615 *errnum = EINVAL; in do_case_compare() [all …]
|
/titanic_41/usr/src/lib/libndmp/common/ |
H A D | libndmp_error.c | 66 ndmp_strerror(int errnum) in ndmp_strerror() argument 70 if (((errnum >= ENDMP_BASE) && (errnum - ENDMP_BASE)) < ndmp_nerr) { in ndmp_strerror() 72 if (ndmp_errlist[i].err == errnum) in ndmp_strerror()
|
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_error.c | 59 int errnum, in mhd_error() argument 64 if (errnum != 0) { in mhd_error() 65 mhep->errnum = errnum; in mhd_error() 84 switch (mhep->errnum) { in mhd_strerror() 90 if ((emsg = strerror(mhep->errnum)) != NULL) in mhd_strerror()
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_clear/ |
H A D | zpool_clear_001_pos.ksh | 84 typeset -i errnum=0 92 [[ "$output" == "$healthstr" ]] && return $errnum 115 (( errnum = errnum + 1 )) 126 (( errnum = errnum + 1 )) 130 return $errnum
|
/titanic_41/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 104 "Error in get_medium_property. errnum = 0x%x \n", reterror->errnum); in _m_get_media_info() 105 errno = reterror->errnum; in _m_get_media_info() 181 "Error in get_device_info. errnum = 0x%x \n", reterror->errnum); in _m_get_device_info() 182 errno = reterror->errnum; in _m_get_device_info() 284 reterror->errnum, r_p->offset, r_p->offset); in _m_raw_write() 285 errno = reterror->errnum; in _m_raw_write() 348 reterror->errnum, r_p->offset, r_p->offset); in _m_raw_read() 349 errno = reterror->errnum; in _m_raw_read() 406 DPRINTF1("Error in format. errnum = 0x%x \n", reterror->errnum); in _m_media_format() 407 errno = reterror->errnum; in _m_media_format() [all …]
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | err.c | 977 sm_errstring(errnum) in sm_errstring() argument 978 int errnum; in sm_errstring() 999 switch (errnum) 1005 err = strerror(errnum); 1009 "Error %d", errnum); 1014 if (errnum >= 0 && errnum < sys_nerr) 1015 (void) sm_strlcpy(bp, sys_errlist[errnum], 1019 "Error %d", errnum); 1024 if (errnum == ETIMEDOUT) 1141 if (errnum >= E_LDAPBASE) [all …]
|