Home
last modified time | relevance | path

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

12345678910>>...115

/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/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/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.c619 *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()
808 *errno = EBADF; in kiconv_fr_sb()
867 *errno = E2BIG; in kiconv_fr_sb()
911 *errno = EBADF; in kiconvstr_to_sb()
962 *errno = E2BIG; in kiconvstr_to_sb()
1267 *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.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()
142 if (!errno) in _m_get_device_info()
149 if (!errno) in _m_get_device_info()
158 if (!errno) in _m_get_device_info()
280 errno = 0; in _m_raw_read()
[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()
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.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/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()
138 errno = 0; in inet_matchaddr()
142 errno = EINVAL; in inet_matchaddr()
151 if (errno != 0) in inet_matchaddr()
158 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/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/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/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 …]
H A DUTF-8%zh_CN.iso2022-7.c61 errno = ENOMEM; in _icv_open()
80 errno = EBADF; in _icv_close()
97 errno = EBADF; in _icv_iconv()
108 errno = 0; in _icv_iconv()
160 errno = E2BIG; in _icv_iconv()
170 errno = E2BIG; in _icv_iconv()
188 errno = E2BIG; in _icv_iconv()
221 errno = E2BIG; in _icv_iconv()
258 errno = E2BIG; in _icv_iconv()
273 if (errno) in _icv_iconv()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Drename.c45 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 …]

12345678910>>...115