Home
last modified time | relevance | path

Searched refs:errnum (Results 1 – 25 of 119) sorted by relevance

12345

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c306 return (!errnum); in rawread()
580 if (!errnum) in check_and_print_mount()
1197 if (errnum) in set_device()
1397 if (errnum && (*filename == '/' || errnum != ERR_FSYS_MOUNT)) in setup_part()
1400 errnum = 0; in setup_part()
1522 if (errnum) in print_completions()
1530 errnum = 0; in print_completions()
1672 if (errnum) in print_completions()
1691 if (errnum) in print_completions()
1735 errnum = 0; in grub_open()
[all …]
H A Dfsys_zfs.c735 if (errnum) in fzap_lookup()
736 return (errnum); in fzap_lookup()
752 return (errnum); in fzap_lookup()
779 return (errnum); in zap_lookup()
813 return (errnum); in zap_iterate()
890 return (errnum); in dnode_get()
960 return (errnum); in dnode_get_path()
963 return (errnum); in dnode_get_path()
968 return (errnum); in dnode_get_path()
1711 errnum = err; in zfs_mount()
[all …]
H A Dbuiltins.c250 return errnum; in blocklist_func()
956 err = errnum; in test_config_file()
963 errnum = err; in test_config_file()
1416 if (errnum) in embed_func()
1423 if (errnum) in embed_func()
1815 if (errnum) in geometry_func()
2775 if (errnum) in ioprobe_func()
3016 if (errnum) in map_func()
3022 if (errnum) in map_func()
3731 errnum = 0; in real_root_func()
[all …]
H A Dboot.c71 if (!errnum) in load_image()
112 errnum = ERR_BELOW_1MB; in load_image()
166 errnum = ERR_BELOW_1MB; in load_image()
280 errnum = ERR_WONT_FIT; in load_image()
332 switch (errnum) in load_image()
473 if (errnum) in load_image()
518 && !errnum) in load_image()
523 if (!errnum) in load_image()
650 if (! errnum) in load_image()
744 if (! errnum) in load_image()
[all …]
H A Dgunzip.c290 return ! errnum; in gunzip_test_header()
306 if (! errnum) in gunzip_test_header()
307 errnum = ERR_BAD_GZIP_HEADER; in gunzip_test_header()
803 errnum = ERR_BAD_GZIP_DATA; in inflate_codes_in_window()
1140 errnum = ERR_BAD_GZIP_DATA; in inflate_window()
1142 if (errnum) in inflate_window()
1224 while (len > 0 && !errnum) in gunzip_read()
1232 if (errnum) in gunzip_read()
1242 errnum = ERR_BAD_GZIP_DATA; in gunzip_read()
1268 errnum = ERR_BAD_GZIP_CRC; in gunzip_read()
[all …]
H A Dcmdline.c94 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 Dfsys_minix.c217 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 Dfsys_ffs.c130 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 Dfsys_ufs2.c155 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 Dfsys_ext2fs.c376 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()
740 errnum = ERR_BAD_FILETYPE; in ext2fs_dir()
[all …]
H A Dchar_io.c141 if (errnum > ERR_NONE && errnum < MAX_ERR_NUM) in print_error()
144 printf ("\nError %u: %s\n", errnum, err_list[errnum]); in print_error()
146 printf ("Error %u\n", errnum); in print_error()
628 errnum = ERR_NONE; in real_get_cmdline()
641 errnum = ERR_NONE; in real_get_cmdline()
901 errnum = ERR_NUMBER_OVERFLOW; in safe_parse_maxint()
910 errnum = ERR_NUMBER_PARSING; in safe_parse_maxint()
1393 if (errnum == 0) /* preserve original errnum */ in memcheck()
1394 errnum = local_errnum; in memcheck()
1456 return errnum ? NULL : start; in grub_memset()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrerror.c44 strerror_l(int errnum, locale_t loc) in strerror_l() argument
46 if (errnum < _sys_num_err && errnum >= 0) in strerror_l()
47 return (_libc_gettext_l(&_sys_errs[_sys_index[errnum]], in strerror_l()
55 strerror(int errnum) in strerror() argument
57 return (strerror_l(errnum, uselocale(NULL))); in strerror()
64 strerror_r(int errnum, char *strerrbuf, size_t buflen) in strerror_r() argument
69 if (errnum < _sys_num_err && errnum >= 0) { in strerror_r()
70 buf = _libc_gettext((char *)&_sys_errs[_sys_index[errnum]]); in strerror_r()
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_strerror.c83 _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()
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrerror.c56 u_int errnum; in isc_strerror() local
63 errnum = num; /*%< convert to unsigned */ in isc_strerror()
65 if (errnum < (u_int)sys_nerr) in isc_strerror()
66 return (sys_errlist[errnum]); in isc_strerror()
77 *t++ = "0123456789"[errnum % 10]; in isc_strerror()
78 } while (errnum /= 10); in isc_strerror()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Derrstring.c52 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);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c392 int errnum; in N2N_check_priv() local
396 errnum = errno; in N2N_check_priv()
444 int errnum; in _nscd_APP_check_cred() local
448 errnum = errno; in _nscd_APP_check_cred()
1134 int errnum; in _nscd_setup_server() local
1147 errnum = errno; in _nscd_setup_server()
1168 errnum = errno; in _nscd_setup_server()
1178 errnum = errno; in _nscd_setup_server()
1257 errnum = errno; in _nscd_setup_server()
1276 errnum = errno; in _nscd_setup_server()
[all …]
H A Dnscd_door.c199 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()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_errno.c43 int errnum; member
93 smb_errno2status(int errnum) in smb_errno2status() argument
97 if (errnum == 0) in smb_errno2status()
100 for (es = smb_errno2status_map; es->errnum != 0; es++) in smb_errno2status()
101 if (es->errnum == errnum) in smb_errno2status()
/illumos-gate/usr/src/common/unicode/
H A Du8_textprep.c374 *errnum = EILSEQ; in u8_validate()
380 *errnum = ERANGE; in u8_validate()
390 *errnum = EINVAL; in u8_validate()
1429 *errnum = EILSEQ; in collect_a_seq()
1449 *errnum = EINVAL; in collect_a_seq()
1845 int *errnum) in u8_strcmp() argument
1851 *errnum = 0; in u8_strcmp()
1943 *errnum = EBADF; in u8_textprep_str()
1950 *errnum = EBADF; in u8_textprep_str()
1958 *errnum = E2BIG; in u8_textprep_str()
[all …]
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_error.c66 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()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_001_pos.ksh84 typeset -i errnum=0
92 [[ "$output" == "$healthstr" ]] && return $errnum
115 (( errnum = errnum + 1 ))
126 (( errnum = errnum + 1 ))
130 return $errnum
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c102 errno = reterror->errnum; in _m_get_media_info()
178 reterror->errnum); in _m_get_device_info()
179 errno = reterror->errnum; in _m_get_device_info()
282 errno = reterror->errnum; in _m_raw_write()
346 errno = reterror->errnum; in _m_raw_read()
399 errno = reterror->errnum; in _m_media_format()
445 reterror->errnum); in _m_get_media_status()
446 errno = reterror->errnum; in _m_get_media_status()
494 errno = reterror->errnum; in _m_set_media_status()
629 reterror->errnum); in _m_check_format_status()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c977 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)
1019 "Error %d", errnum);
1024 if (errnum == ETIMEDOUT)
1141 if (errnum >= E_LDAPBASE)
1146 err = strerror(errnum);
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c812 int errnum; in connect_to_ldap_config_server() local
825 if ((errnum = ldapssl_client_init( in connect_to_ldap_config_server()
872 if (errnum == LDAP_SUCCESS) in connect_to_ldap_config_server()
876 errnum == LDAP_SERVER_DOWN) { in connect_to_ldap_config_server()
925 int errnum; in process_ldap_config_result() local
997 if (errnum != LDAP_SUCCESS) in process_ldap_config_result()
1006 if (errnum != LDAP_SUCCESS) in process_ldap_config_result()
1045 int errnum; in process_ldap_referral() local
1076 if (errnum != LDAP_SUCCESS) { in process_ldap_referral()
1174 int errnum; in parse_ldap_config_dn_attrs() local
[all …]
/illumos-gate/usr/src/cmd/pools/common/
H A Dutils.c47 get_errstr_err(int errnum, int syserr) in get_errstr_err() argument
51 if (errnum == POE_SYSTEM) in get_errstr_err()
54 errstr = pool_strerror(errnum); in get_errstr_err()

12345