Home
last modified time | relevance | path

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

12345678910>>...119

/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()
249 errno = EDOM; in _SVID_libm_err()
254 errno = EDOM; in _SVID_libm_err()
267 errno = EDOM; in _SVID_libm_err()
272 errno = EDOM; in _SVID_libm_err()
[all …]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_proc.c170 if (errno == EINTR) in prb_proc_stop()
174 strerror(errno))); in prb_proc_stop()
204 if (errno == EINTR) in prb_proc_prstop()
208 strerror(errno))); in prb_proc_prstop()
214 if (errno == EINTR) in prb_proc_prstop()
218 strerror(errno))); in prb_proc_prstop()
252 if (errno == EINTR) in prb_proc_state()
256 strerror(errno))); in prb_proc_state()
339 if (errno != EINTR && errno != ENOENT) in prb_proc_wait()
342 strerror(errno)); in prb_proc_wait()
[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
91 errno.ECANCELED:
99 errno.EROFS:
106 __strs[errno.EACCES] = __strs[errno.EPERM]
107 __strs[errno.ENXIO] = __strs[errno.EIO]
108 __strs[errno.ENODEV] = __strs[errno.EIO]
109 __strs[errno.EDQUOT] = __strs[errno.ENOSPC]
[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()
168 progerr(ERR_MODTIM, a_dstPath, errno, strerror(errno)); in copyf()
175 progerr(ERR_READ, a_srcPath, errno, strerror(errno)); in copyf()
287 errno, strerror(errno)); in copyFile()
297 errno, strerror(errno)); in copyFile()
340 errno, strerror(errno)); in copyFile()
343 errno, strerror(errno)); in copyFile()
363 errno, strerror(errno)); in copyFile()
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBA.cc87 errno = 0; in FCHBA()
107 errno = 0; in FCHBA()
155 errno = 0; in getHBAAttributes()
182 errno = 0; in getHBAAttributes()
222 errno = 0; in doForceLip()
241 errno = 0; in doForceLip()
264 errno = 0; in npivGetHBAAttributes()
288 errno = 0; in npivGetHBAAttributes()
333 errno = 0; in loadAdapters()
358 errno = 0; in loadAdapters()
[all …]
H A DTgtFCHBA.cc89 errno = 0; in getHBAAttributes()
99 if (errno == EBUSY) { in getHBAAttributes()
131 errno = 0; in getHBAAttributes()
134 if (errno == EBUSY) { in getHBAAttributes()
172 errno = 0; in doForceLip()
174 if (errno == EBUSY) { in doForceLip()
203 errno = 0; in doForceLip()
234 errno = 0; in loadAdapters()
258 errno = 0; in loadAdapters()
275 errno = 0; in loadAdapters()
[all …]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Derrno.c98 int errno; in efi_status_to_errno() local
102 errno = EPERM; 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()
131 errno = ENOMEM; in efi_status_to_errno()
135 errno = ENODEV; in efi_status_to_errno()
147 errno = 0; in efi_status_to_errno()
[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()
158 return (errno); in __setupfiles()
211 return (errno); in __setupfiles()
288 return (errno); in mkdirs()
358 return (errno); in copyfile()
384 return (errno); in copyfile()
395 return (errno); in copyfile()
403 return (errno); in copyfile()
[all …]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_emea/
H A Dkiconv_emea.c621 *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()
810 *errno = EBADF; in kiconv_fr_sb()
869 *errno = E2BIG; in kiconv_fr_sb()
913 *errno = EBADF; in kiconvstr_to_sb()
964 *errno = E2BIG; in kiconvstr_to_sb()
1269 *errno = EBADF; in kiconvstr_fr_sb()
[all …]
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c95 errno = 0; in socket()
158 errno = 0; in getsockname()
186 errno = 0; in getsockopt()
308 errno = 0; in setsockopt()
411 errno = 0; in shutdown()
476 errno = 0; in socket_close()
582 errno = 0; in bind()
653 errno = 0; in quickbind()
675 errno = 0; in listen()
696 errno = 0; in accept()
[all …]
/illumos-gate/usr/src/tools/sgs/sgsmsg/
H A Dsgsmsg.c287 strerror(errno)); in getmesgid()
293 strerror(errno)); in getmesgid()
422 strerror(errno)); in init_defs()
483 strerror(errno)); in fini_defs()
523 strerror(errno)); in fini_defs()
528 strerror(errno)); in fini_defs()
1117 strerror(errno)); in main()
1126 strerror(errno)); in main()
1135 strerror(errno)); in main()
1142 strerror(errno)); in main()
[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()
1135 errno = 0; in rcm_daemon_call()
[all …]
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c48 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()
144 if (!errno) in _m_get_device_info()
151 if (!errno) in _m_get_device_info()
160 if (!errno) in _m_get_device_info()
282 errno = 0; in _m_raw_read()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_page_sun4v.c38 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()
/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()
190 strerror(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()
342 progerr(ERR_MKTEMP, loc_link, errno, strerror(errno)); in write_file()
354 strerror(errno)); in write_file()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c108 errno = EMSGSIZE; in ns_name_ntop()
123 errno = EMSGSIZE; in ns_name_ntop()
131 errno = EINVAL; in ns_name_ntop()
177 errno = EMSGSIZE; in ns_name_ntop()
234 errno = e; in ns_name_pton2()
314 errno = EMSGSIZE; in ns_name_pton2()
319 errno = EMSGSIZE; in ns_name_pton2()
331 errno = EMSGSIZE; in ns_name_pton2()
542 errno = EINVAL; in ns_name_pack()
804 errno = EISDIR; in ns_name_map()
[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()
126 errno = EINVAL; in _m_get_device_info()
131 errno = EINVAL; in _m_get_device_info()
137 if (!errno) in _m_get_device_info()
144 if (!errno) in _m_get_device_info()
153 if (!errno) in _m_get_device_info()
220 errno = EINVAL; in _m_free_device_info()
225 errno = EINVAL; in _m_free_device_info()
249 errno = EINVAL; in _m_raw_write()
[all …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c87 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 …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c58 int serrno = errno; in inet_matchaddr()
62 errno = ENOMEM; in inet_matchaddr()
80 errno = EINVAL; in inet_matchaddr()
88 errno = EINVAL; in inet_matchaddr()
94 errno = EINVAL; in inet_matchaddr()
102 errno = 0; in inet_matchaddr()
137 errno = 0; in inet_matchaddr()
141 errno = EINVAL; in inet_matchaddr()
150 if (errno != 0) in inet_matchaddr()
157 errno = 0; in inet_matchaddr()
[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()
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()
60 if (errno != EINVAL) in main()
[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()
165 errno = EILSEQ; in _icv_iconv()
183 errno = EILSEQ; in _icv_iconv()
202 errno = EILSEQ; in _icv_iconv()
223 errno = EILSEQ; in _icv_iconv()
246 errno = EILSEQ; in _icv_iconv()
271 errno = EILSEQ; in _icv_iconv()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c39 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;
/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()
386 cfga_err(errstring, errno, in update_fabric_wwn_list()
[all …]
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c157 ec = errno == EACCES ? EPERM : errno; in sysevent_evc_bind()
164 ec = errno == EACCES ? EPERM : errno; in sysevent_evc_bind()
183 ec = errno; in sysevent_evc_bind()
227 errcp = errno; in sysevent_evc_unbind()
286 return (errno); in sysevent_evc_publish()
296 ec = errno; in sysevent_evc_publish()
489 ec = errno; in sysevent_evc_subscribe_cmn()
526 ec = errno; in sysevent_evc_subscribe_cmn()
546 ec = errno; in sysevent_evc_subscribe_cmn()
726 errcp = errno; in sysevent_evc_unsubscribe()
[all …]
/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()
175 errno = E2BIG; in _icv_iconv()
181 errno = EILSEQ; in _icv_iconv()
210 errno = E2BIG; in _icv_iconv()
246 errno = EILSEQ; in _icv_iconv()
265 errno = EILSEQ; in _icv_iconv()
269 if (errno) in _icv_iconv()
[all …]

12345678910>>...119