Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 3195) sorted by relevance

12345678910>>...128

/illumos-gate/usr/src/lib/libm/common/C/
H A D_SVID_error.c145 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 …]
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dutil.py30 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 …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c98 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 …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBA.cc87 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 DTgtFCHBA.cc89 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 …]
/illumos-gate/usr/src/cmd/tsol/updatehome/
H A Dsetupfiles.c105 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 …]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_emea/
H A Dkiconv_emea.c599 size_t *outbytesleft, int *errno) in kiconv_to_sb() argument
619 *errno = EBADF; in kiconv_to_sb()
627 *errno = EBADF; in kiconv_to_sb()
672 *errno = EILSEQ; in kiconv_to_sb()
682 *errno = E2BIG; in kiconv_to_sb()
708 *errno = EINVAL; in kiconv_to_sb()
725 *errno = EILSEQ; in kiconv_to_sb()
732 *errno = EILSEQ; in kiconv_to_sb()
792 size_t *outbytesleft, int *errno) in kiconv_fr_sb() argument
808 *errno = EBADF; in kiconv_fr_sb()
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Derrno.c33 errno_to_efi_status(int errno) in errno_to_efi_status() argument
37 switch (errno) { in errno_to_efi_status()
98 int errno; in efi_status_to_errno() local
102 errno = EPERM; in efi_status_to_errno()
106 errno = EOVERFLOW; in efi_status_to_errno()
111 errno = EIO; in efi_status_to_errno()
115 errno = EINVAL; in efi_status_to_errno()
119 errno = ESTALE; in efi_status_to_errno()
123 errno = ENXIO; in efi_status_to_errno()
127 errno = ENOENT; in efi_status_to_errno()
[all …]
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c65 so_check_fd(int fd, int *errno) in so_check_fd() argument
71 *errno = ENOTSOCK; in so_check_fd()
75 *errno = ENOTSOCK; in so_check_fd()
95 errno = 0; in socket()
103 errno = EPROTONOSUPPORT; in socket()
113 errno = EMFILE; /* No slots left. */ in socket()
137 errno = EPROTOTYPE; in socket()
141 if (errno != 0) in socket()
158 errno = 0; in getsockname()
159 if ((i = so_check_fd(s, &errno)) == -1) in getsockname()
[all …]
/illumos-gate/usr/src/tools/sgs/sgsmsg/
H A Dsgsmsg.c147 (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 …]
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c60 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 …]
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c46 if (errno == 0) in my_perror()
49 error_no = errno; in my_perror()
52 errno = error_no; in my_perror()
81 errno = EINVAL; in _m_get_media_info()
90 errno = EINVAL; in _m_get_media_info()
95 errno = EINVAL; in _m_get_media_info()
123 errno = EINVAL; in _m_get_device_info()
132 errno = EINVAL; in _m_get_device_info()
137 errno = EINVAL; in _m_get_device_info()
142 if (!errno) in _m_get_device_info()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c108 errno = EMSGSIZE; in ns_name_ntop()
113 errno = EMSGSIZE; in ns_name_ntop()
119 errno = EMSGSIZE; /*%< XXX */ in ns_name_ntop()
123 errno = EMSGSIZE; in ns_name_ntop()
131 errno = EINVAL; in ns_name_ntop()
136 errno = EMSGSIZE; in ns_name_ntop()
146 errno = EMSGSIZE; in ns_name_ntop()
153 errno = EMSGSIZE; in ns_name_ntop()
162 errno = EMSGSIZE; in ns_name_ntop()
171 errno = EMSGSIZE; in ns_name_ntop()
[all …]
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c70 errno = EINVAL; in _m_get_media_info()
78 errno = EINVAL; in _m_get_media_info()
102 errno = reterror->errnum; in _m_get_media_info()
126 errno = EINVAL; in _m_get_device_info()
131 errno = EINVAL; in _m_get_device_info()
137 if (!errno) in _m_get_device_info()
138 errno = ENOMEM; in _m_get_device_info()
144 if (!errno) in _m_get_device_info()
145 errno = ENOMEM; in _m_get_device_info()
153 if (!errno) in _m_get_device_info()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcppath.c109 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 …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c85 return (errno); in cmd_execute_command()
89 return (errno); in cmd_execute_command()
93 return (errno); in cmd_execute_command()
111 exit(errno); in cmd_execute_command()
115 exit(errno); in cmd_execute_command()
124 exit(errno); in cmd_execute_command()
128 exit(errno); in cmd_execute_command()
135 exit(errno); in cmd_execute_command()
186 *errp = errno; in cmd_execute_command_and_retrieve_string()
191 *errp = errno; in cmd_execute_command_and_retrieve_string()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ja/common/
H A Djis_TO_PCK.c107 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 …]
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c124 return (errno = EINVAL); in sysevent_evc_bind()
132 return (errno = EINVAL); in sysevent_evc_bind()
137 return (errno = EINVAL); in sysevent_evc_bind()
141 return (errno = EINVAL); in sysevent_evc_bind()
146 return (errno = ENOMEM); in sysevent_evc_bind()
156 if (errno != ENOENT) { in sysevent_evc_bind()
157 ec = errno == EACCES ? EPERM : errno; in sysevent_evc_bind()
159 return (errno = ec); in sysevent_evc_bind()
164 ec = errno == EACCES ? EPERM : errno; in sysevent_evc_bind()
166 return (errno = ec); in sysevent_evc_bind()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c241 (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 …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c59 int serrno = errno; in inet_matchaddr()
63 errno = ENOMEM; in inet_matchaddr()
81 errno = EINVAL; in inet_matchaddr()
89 errno = EINVAL; in inet_matchaddr()
95 errno = EINVAL; in inet_matchaddr()
103 errno = 0; in inet_matchaddr()
105 if (errno != 0 || prefix6 < 0 || in inet_matchaddr()
107 errno = EINVAL; in inet_matchaddr()
138 errno = 0; in inet_matchaddr()
140 if (errno != 0 || qaddr4 < 0 || qaddr4 > 255 || in inet_matchaddr()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/clocklock/
H A Dclock_lock_sem.c90 errno != EINVAL) { in clock_test_sem_invalid_source()
93 strerrorname_np(errno)); in clock_test_sem_invalid_source()
98 -1 || errno != EINVAL) { in clock_test_sem_invalid_source()
101 strerrorname_np(errno)); in clock_test_sem_invalid_source()
118 "success, found %s", test->ct_desc, strerrorname_np(errno)); in clock_test_sem_inv_to_ign_abs()
127 "success, found %s", test->ct_desc, strerrorname_np(errno)); in clock_test_sem_inv_to_ign_abs()
142 if (sem_timedwait(sem, &clock_to_invns) != -1 || errno != EINVAL) { in clock_test_sem_inv_to_abs()
145 strerrorname_np(errno)); in clock_test_sem_inv_to_abs()
150 errno != EINVAL) { in clock_test_sem_inv_to_abs()
153 strerrorname_np(errno)); in clock_test_sem_inv_to_abs()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_syscall.c15 if (errno != EFAULT) in main()
17 "set errno other than EFAULT (%d)", errno); in main()
24 if (errno != EFAULT) in main()
26 "set errno other than EFAULT (%d)", errno); in main()
33 if (errno != EFAULT) in main()
36 errno); in main()
43 if (errno != EFAULT) in main()
46 errno); in main()
52 if (errno != EINVAL) in main()
54 "to other than EINVAL (%d)", errno); in main()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c37 return (errno != 0) ? errno : -1; in sm_memstat_open()
79 return (errno != 0) ? errno : -1;
111 return (errno != 0) ? errno : -1;
115 return (errno != 0) ? errno : -2;
138 return (errno != 0) ? errno : -1;
165 return (errno != 0) ? errno : -2;
169 return (errno != 0) ? errno : -3;
216 return (fp != NULL) ? 0 : errno;
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A DUTF-8%HZ-GB-2312.c55 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 …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkdev.c49 errno = EINVAL; in __makedev()
58 errno = EINVAL; in __makedev()
64 errno = EINVAL; in __makedev()
70 errno = EINVAL; in __makedev()
76 errno = EINVAL; in __makedev()
82 errno = EINVAL; in __makedev()
87 errno = EINVAL; in __makedev()
106 errno = EINVAL; in __major()
114 errno = EINVAL; in __major()
119 errno = EINVAL; in __major()
[all …]

12345678910>>...128