Home
last modified time | relevance | path

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

12345678910>>...138

/freebsd-13.1/cddl/lib/libdtrace/
H A Derrno.d247 inline string strerror[int errno] =
248 errno == 0 ? "Success" :
251 errno == ESRCH ? "No such process" :
262 errno == EFAULT ? "Bad address" :
264 errno == EBUSY ? "Device busy" :
265 errno == EEXIST ? "File exists" :
269 errno == EISDIR ? "Is a directory" :
275 errno == EFBIG ? "File too large" :
277 errno == ESPIPE ? "Illegal seek" :
280 errno == EPIPE ? "Broken pipe" :
[all …]
/freebsd-13.1/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A Dexceptions.py57 self.errno = errno
66 self.errno = errno
96 errno = errno.ENOENT variable in DatasetNotFound
110 errno = errno.EEXIST variable in DatasetExists
118 errno = errno.EINVAL variable in NotClone
140 errno = errno.ENOENT variable in ParentNotFound
170 errno = errno.EEXIST variable in SnapshotNotLatest
178 errno = errno.EEXIST variable in SnapshotIsCloned
186 errno = errno.EBUSY variable in SnapshotIsHeld
194 errno = errno.EXDEV variable in DuplicateSnapshots
[all …]
H A D_error_translation.py31 import errno
53 if ret == errno.EINVAL:
56 if ret == errno.EEXIST:
58 if ret == errno.ENOENT:
70 if ret == errno.EINVAL:
74 if ret == errno.EXDEV:
76 if ret == errno.EEXIST:
78 if ret == errno.ENOENT:
88 if ret == errno.ESRCH:
90 if ret == errno.EINVAL:
[all …]
/freebsd-13.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-13.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-13.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-13.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()
294 fatal("priv_delset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
297 fatal("getppriv: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
304 fatal("setppriv: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
330 fatal("setppriv: %s", strerror(errno)); in solaris_drop_privs_root_pinfo_net()
[all …]
/freebsd-13.1/tests/sys/posixshm/
H A Dposixshm_test.c139 errno); in scribble_object()
172 errno); in verify_object()
196 errno); in ATF_TC_BODY()
244 errno); in ATF_TC_BODY()
431 errno); in ATF_TC_BODY()
476 errno); in ATF_TC_BODY()
649 errno); in ATF_TC_BODY()
770 errno = 0; in ATF_TC_BODY()
782 errno = 0; in ATF_TC_BODY()
864 errno); in ATF_TC_BODY()
[all …]
/freebsd-13.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-13.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-13.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-13.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-13.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-13.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-13.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-13.1/sys/contrib/openzfs/cmd/zed/
H A Dzed_conf.c284 errno = 0; in zed_conf_parse_opts()
326 errno = EINVAL; in zed_conf_scan_dir()
333 errno = ENOMEM; in zed_conf_scan_dir()
344 errno = errno_bak; in zed_conf_scan_dir()
436 errno = EINVAL; in zed_conf_write_pid()
500 errno = ERANGE; in zed_conf_write_pid()
536 errno = EINVAL; in zed_conf_open_state()
616 errno = EINVAL; in zed_conf_read_state()
644 errno = EIO; in zed_conf_read_state()
666 errno = EINVAL; in zed_conf_write_state()
[all …]
/freebsd-13.1/contrib/capsicum-test/
H A Dsmoketest.c42 …if (rc < 0) fprintf(stderr, "*** cap_rights_limit() failed: errno=%d %s\n", errno, strerror(errno)… in main()
51 if (rc < 0) fprintf(stderr, "*** cap_rights_get() failed: errno=%d %s\n", errno, strerror(errno)); in main()
56 fprintf(stderr, "[%d] fstat(cap_fd=%d) rc=%d errno=%d\n", getpid_(), cap_fd, rc, errno); in main()
62 if (rc < 0) fprintf(stderr, "*** pdfork() failed: errno=%d %s\n", errno, strerror(errno)); in main()
79 … (rc < 0) fprintf(stderr, "*** pdgetpid(pd=%d) failed: errno=%d %s\n", pd, errno, strerror(errno)); in main()
87 if (rc < 0) fprintf(stderr, "*** pdkill() failed: errno=%d %s\n", errno, strerror(errno)); in main()
103 if (rc < 0) fprintf(stderr, "*** cap_getmode() failed: errno=%d %s\n", errno, strerror(errno)); in main()
107 if (rc < 0) fprintf(stderr, "*** cap_enter() failed: errno=%d %s\n", errno, strerror(errno)); in main()
111 if (rc < 0) fprintf(stderr, "*** cap_getmode() failed: errno=%d %s\n", errno, strerror(errno)); in main()
118 if (errno != ECAPMODE) fprintf(stderr, "*** open() failed with errno %d not ECAPMODE\n", errno); in main()
[all …]
/freebsd-13.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-13.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-13.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-13.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-13.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 …]
/freebsd-13.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-13.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 …]

12345678910>>...138