Home
last modified time | relevance | path

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

12345678910>>...139

/freebsd-12.1/cddl/lib/libdtrace/
H A Derrno.d245 inline string strerror[int errno] =
246 errno == 0 ? "Success" :
249 errno == ESRCH ? "No such process" :
260 errno == EFAULT ? "Bad address" :
262 errno == EBUSY ? "Device busy" :
263 errno == EEXIST ? "File exists" :
267 errno == EISDIR ? "Is a directory" :
273 errno == EFBIG ? "File too large" :
275 errno == ESPIPE ? "Illegal seek" :
278 errno == EPIPE ? "Broken pipe" :
[all …]
/freebsd-12.1/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c100 if (errno != EINVAL) in main()
102 "%d (%s)", errno, strerror(errno)); in main()
126 if (errno != EINVAL) in main()
128 errno, strerror(errno)); in main()
153 errno, strerror(errno)); in main()
174 "setsockopt() failed with %d (%s)", errno, strerror(errno)); in main()
185 "(%s)", errno, strerror(errno)); in main()
197 "failed with %d (%s)", errno, strerror(errno)); in main()
254 "(%s)", errno, strerror(errno)); in main()
282 "failed with %d (%s)", errno, strerror(errno)); in main()
[all …]
/freebsd-12.1/lib/libutil/
H A Dpidfile.c70 return (errno); in pidfile_verify()
84 return (errno); in pidfile_read()
143 error = errno; in pidfile_open()
145 errno = error; in pidfile_open()
174 if (errno == 0 || errno == EAGAIN) in pidfile_open()
178 error = errno; in pidfile_open()
181 errno = error; in pidfile_open()
212 error = errno; in pidfile_open()
217 errno = error; in pidfile_open()
244 error = errno; in pidfile_write()
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dutil.py29 import errno
35 errno.ECANCELED = 47
36 errno.ENOTSUP = 48
74 self.errno = eno
90 errno.ECANCELED:
98 errno.EROFS:
105 __strs[errno.EACCES] = __strs[errno.EPERM]
106 __strs[errno.ENXIO] = __strs[errno.EIO]
107 __strs[errno.ENODEV] = __strs[errno.EIO]
108 __strs[errno.EDQUOT] = __strs[errno.ENOSPC]
[all …]
/freebsd-12.1/tests/sys/posixshm/
H A Dposixshm_test.c122 errno); in scribble_object()
146 errno); in ATF_TC_BODY()
175 errno); in ATF_TC_BODY()
199 if (errno != EACCES) in ATF_TC_BODY()
201 "errno=%d", errno); in ATF_TC_BODY()
220 errno); in ATF_TC_BODY()
393 errno); in ATF_TC_BODY()
514 errno = 0; in ATF_TC_BODY()
518 "errno=%d", errno); in ATF_TC_BODY()
526 errno = 0; in ATF_TC_BODY()
[all …]
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.c34 errno = ENOSYS; in setresgid()
39 saved_errno = errno; in setresgid()
41 errno = saved_errno; in setresgid()
46 saved_errno = errno; in setresgid()
48 errno = saved_errno; in setresgid()
52 saved_errno = errno; in setresgid()
54 errno = saved_errno; in setresgid()
69 errno = ENOSYS; in setresuid()
74 saved_errno = errno; in setresuid()
76 errno = saved_errno; in setresuid()
[all …]
H A Dport-solaris.c60 "status: %s", __func__, strerror(errno)); in get_active_process_contract_id()
65 __func__, strerror(errno)); in get_active_process_contract_id()
80 CT_TEMPLATE, strerror(errno)); in solaris_contract_pre_fork()
181 __func__, strerror(errno)); in solaris_contract_post_fork_parent()
221 strerror(errno)); in solaris_set_default_project()
285 fatal("priv_addset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
295 fatal("priv_delset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
298 fatal("getppriv: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
305 fatal("setppriv: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
331 fatal("setppriv: %s", strerror(errno)); in solaris_drop_privs_root_pinfo_net()
[all …]
/freebsd-12.1/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c351 errno = 0; in snmp_date2asn_oid()
367 errno = 0; in snmp_date2asn_oid()
381 errno = 0; in snmp_date2asn_oid()
395 errno = 0; in snmp_date2asn_oid()
409 errno = 0; in snmp_date2asn_oid()
423 errno = 0; in snmp_date2asn_oid()
437 errno = 0; in snmp_date2asn_oid()
463 errno = 0; in snmp_date2asn_oid()
477 errno = 0; in snmp_date2asn_oid()
736 errno = 0; in snmp_ntp_ts2asn_oid()
[all …]
/freebsd-12.1/tools/regression/sockets/kqueue/
H A Dkqueue.c124 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read()
137 fail(errno, "write", socktype, NULL); in test_evfilt_read()
150 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read()
162 fail(errno, "read", socktype, NULL); in test_evfilt_read()
175 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read()
209 fail(errno, "kevent", socktype, "EVFILT_WRITE"); in test_evfilt_write()
221 if (len == -1 && errno != EAGAIN && errno != ENOBUFS) in test_evfilt_write()
222 fail(errno, "write", socktype, NULL); in test_evfilt_write()
235 fail(errno, "kevent", socktype, "EVFILT_WRITE"); in test_evfilt_write()
261 fail(errno, "kqueue", NULL, NULL); in main()
[all …]
/freebsd-12.1/contrib/openbsm/compat/
H A Dpidfile.h64 return (errno); in pidfile_verify()
78 return (errno); in pidfile_read()
147 if (errno == 0 || errno == EAGAIN) in pidfile_open()
156 error = errno; in pidfile_open()
160 errno = error; in pidfile_open()
170 error = errno; in pidfile_open()
174 errno = error; in pidfile_open()
208 error = errno; in pidfile_write()
210 errno = error; in pidfile_write()
216 error = errno; in pidfile_write()
[all …]
/freebsd-12.1/usr.sbin/bluetooth/hcseriald/
H A Dhcseriald.c108 strerror(errno), errno); in main()
117 p, strerror(errno), errno); in main()
129 strerror(errno), errno); in main()
135 strerror(errno), errno); in main()
141 strerror(errno), errno); in main()
171 device, strerror(errno), errno); in open_device()
179 device, strerror(errno), errno); in open_device()
194 device, strerror(errno), errno); in open_device()
202 device, strerror(errno), errno); in open_device()
223 fd, strerror(errno), errno); in open_device()
[all …]
/freebsd-12.1/usr.sbin/bluetooth/bcmfw/
H A Dbcmfw.c129 path, strerror(errno), errno); in bcmfw_check_device()
136 strerror(errno), errno); in bcmfw_check_device()
169 buf, strerror(errno), errno); in bcmfw_load_firmware()
177 buf, strerror(errno), errno); in bcmfw_load_firmware()
187 md, strerror(errno), errno); in bcmfw_load_firmware()
195 md, strerror(errno), errno); in bcmfw_load_firmware()
221 name, BCMFW_BULK_EP, strerror(errno), errno); in bcmfw_load_firmware()
227 name, BCMFW_INTR_EP, strerror(errno), errno); in bcmfw_load_firmware()
242 fw, strerror(errno), errno); in bcmfw_load_firmware()
250 fw, strerror(errno), errno); in bcmfw_load_firmware()
[all …]
/freebsd-12.1/stand/efi/libefi/
H A Derrno.c99 int errno; in efi_status_to_errno() local
103 errno = EPERM; in efi_status_to_errno()
112 errno = EIO; in efi_status_to_errno()
116 errno = EINVAL; in efi_status_to_errno()
120 errno = ESTALE; in efi_status_to_errno()
124 errno = ENXIO; in efi_status_to_errno()
128 errno = ENOENT; in efi_status_to_errno()
132 errno = ENOMEM; in efi_status_to_errno()
136 errno = ENODEV; in efi_status_to_errno()
148 errno = 0; in efi_status_to_errno()
[all …]
/freebsd-12.1/tools/regression/capsicum/syscalls/
H A Dcap_fcntls_limit.c68 errno = 0; in fcntl_tests_0()
96 errno = 0; in fcntl_tests_0()
110 errno = 0; in fcntl_tests_0()
114 errno = 0; in fcntl_tests_0()
123 errno = 0; in fcntl_tests_0()
129 errno = 0; in fcntl_tests_0()
142 errno = 0; in fcntl_tests_0()
145 errno = 0; in fcntl_tests_0()
148 errno = 0; in fcntl_tests_0()
151 errno = 0; in fcntl_tests_0()
[all …]
/freebsd-12.1/contrib/openbsm/libbsm/
H A Dbsm_wrappers.c85 error = errno; in audit_submit()
88 errno = error; in audit_submit()
95 error = errno; in audit_submit()
98 errno = error; in audit_submit()
128 error = errno; in audit_submit()
131 errno = error; in audit_submit()
153 errno = EPERM; in audit_submit()
157 error = errno; in audit_submit()
161 errno = error; in audit_submit()
190 errno = EPERM; in audit_submit()
[all …]
/freebsd-12.1/lib/libc/nameser/
H A Dns_name.c116 errno = EMSGSIZE; in ns_name_ntop()
131 errno = EMSGSIZE; in ns_name_ntop()
139 errno = EINVAL; in ns_name_ntop()
185 errno = EMSGSIZE; in ns_name_ntop()
242 errno = e; in ns_name_pton2()
322 errno = EMSGSIZE; in ns_name_pton2()
327 errno = EMSGSIZE; in ns_name_pton2()
339 errno = EMSGSIZE; in ns_name_pton2()
551 errno = EINVAL; in ns_name_pack()
813 errno = EISDIR; in ns_name_map()
[all …]
/freebsd-12.1/lib/libcasper/services/cap_sysctl/tests/
H A Dsysctl_test.c212 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
216 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
279 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
283 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
287 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
290 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
317 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
323 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
327 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
351 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation()
[all …]
/freebsd-12.1/usr.sbin/bluetooth/rfcomm_pppd/
H A Drfcomm_pppd.c173 strerror(errno), errno); in main()
180 strerror(errno), errno); in main()
195 strerror(errno), errno); in main()
201 strerror(errno), errno); in main()
207 strerror(errno), errno); in main()
216 strerror(errno), errno); in main()
230 strerror(errno), errno); in main()
236 strerror(errno), errno); in main()
416 strerror(errno), errno); in exec_ppp()
423 strerror(errno), errno); in exec_ppp()
[all …]
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dreaddir.cc93 errno = 0; in TEST_F()
97 errno = 0; in TEST_F()
110 errno = 0; in TEST_F()
144 errno = 0; in TEST_F()
148 errno = 0; in TEST_F()
262 errno = 0; in TEST_F()
265 errno = 0; in TEST_F()
321 errno = 0; in TEST_F()
326 errno = 0; in TEST_F()
369 errno = 0; in TEST_F()
[all …]
H A Dwrite.cc298 << strerror(errno); in TEST_F()
512 << strerror(errno); in TEST_F()
588 << strerror(errno); in TEST_F()
782 << strerror(errno); in TEST_F()
855 << strerror(errno); in TEST_F()
984 << strerror(errno); in TEST_F()
989 << strerror(errno); in TEST_F()
1061 << strerror(errno); in TEST_F()
1064 << strerror(errno); in TEST_F()
1067 << strerror(errno); in TEST_F()
[all …]
/freebsd-12.1/lib/libc/posix1e/
H A Dacl_set.c60 errno = EINVAL; in acl_set_file()
65 errno = EINVAL; in acl_set_file()
81 errno = EINVAL; in acl_set_link_np()
86 errno = EINVAL; in acl_set_link_np()
112 errno = EINVAL; in acl_set_fd_np()
117 errno = EINVAL; in acl_set_fd_np()
137 errno = EINVAL; in acl_set_permset()
167 errno = EINVAL; in acl_set_qualifier()
176 errno = EINVAL; in acl_set_qualifier()
226 errno = EINVAL; in acl_set_tag_type()
[all …]
/freebsd-12.1/tools/regression/netinet/tcpdrop/
H A Dtcpdrop.c79 error = errno; in tcp_server()
81 errno = error; in tcp_server()
93 error = errno; in tcp_server()
95 errno = error; in tcp_server()
111 error = errno; in tcp_server()
113 errno = error; in tcp_server()
134 error = errno; in tcp_client()
136 errno = error; in tcp_client()
147 error = errno; in tcp_client()
149 errno = error; in tcp_client()
[all …]
/freebsd-12.1/contrib/apr/locks/unix/
H A Dproc_mutex.c49 return errno; in proc_mutex_posix_cleanup()
246 rv = errno; in proc_mutex_sysv_create()
252 rv = errno; in proc_mutex_sysv_create()
383 rv = errno; in proc_mutex_proc_pthread_create()
390 rv = errno; in proc_mutex_proc_pthread_create()
401 rv = errno; in proc_mutex_proc_pthread_create()
409 rv = errno; in proc_mutex_proc_pthread_create()
419 rv = errno; in proc_mutex_proc_pthread_create()
430 rv = errno; in proc_mutex_proc_pthread_create()
449 rv = errno; in proc_mutex_proc_pthread_acquire()
[all …]
/freebsd-12.1/contrib/netbsd-tests/kernel/
H A Dt_mqueue.c35 "mq_send 1 failed: %d", errno); in send_msgs()
39 "mq_send 2 failed: %d", errno); in send_msgs()
43 "mq_send 3 failed: %d", errno); in send_msgs()
47 "mq_send 4 failed: %d", errno); in send_msgs()
51 "mq_send 5 failed: %d", errno); in send_msgs()
55 "mq_send 6 failed: %d", errno); in send_msgs()
67 errno); in receive_msgs()
74 "mq_receive 1 failed: %d", errno); in receive_msgs()
79 "mq_receive 2 failed: %d", errno); in receive_msgs()
84 "mq_receive 3 failed: %d", errno); in receive_msgs()
[all …]
/freebsd-12.1/lib/libc/gen/
H A D__xuname.c62 oerrno = errno; in __xuname()
65 errno = oerrno; in __xuname()
75 oerrno = errno; in __xuname()
77 if (errno == ENOMEM) in __xuname()
78 errno = oerrno; in __xuname()
90 oerrno = errno; in __xuname()
93 errno = oerrno; in __xuname()
111 oerrno = errno; in __xuname()
114 errno = oerrno; in __xuname()
136 oerrno = errno; in __xuname()
[all …]

12345678910>>...139