Home
last modified time | relevance | path

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

12345678910>>...73

/dragonfly/lib/libutil/
H A Dpidfile.c62 return (errno); in pidfile_verify()
76 return (errno); in pidfile_read()
143 if (errno == 0 || errno == EAGAIN) in pidfile_open()
156 error = errno; in pidfile_open()
160 errno = error; in pidfile_open()
194 error = errno; in pidfile_write()
196 errno = error; in pidfile_write()
202 error = errno; in pidfile_write()
204 errno = error; in pidfile_write()
218 errno = error; in pidfile_close()
[all …]
/dragonfly/stand/boot/efi/libefi/
H A Derrno.c36 int errno; in efi_status_to_errno() local
40 errno = EPERM; in efi_status_to_errno()
49 errno = EIO; in efi_status_to_errno()
53 errno = EINVAL; in efi_status_to_errno()
57 errno = ESTALE; in efi_status_to_errno()
61 errno = ENXIO; in efi_status_to_errno()
65 errno = ENOENT; in efi_status_to_errno()
69 errno = ENOMEM; in efi_status_to_errno()
73 errno = ENODEV; in efi_status_to_errno()
85 errno = 0; in efi_status_to_errno()
[all …]
/dragonfly/contrib/cvs-1.12/src/
H A Dmkmodules.c730 && !existence_error (errno)) in mkmodules()
846 if (errno != EEXIST) in make_tempfile()
1044 dir1_errno = errno; in rename_dbmfile()
1046 pag1_errno = errno; in rename_dbmfile()
1048 db1_errno = errno; in rename_dbmfile()
1052 dir2_errno = errno; in rename_dbmfile()
1055 pag2_errno = errno; in rename_dbmfile()
1058 db2_errno = errno; in rename_dbmfile()
1062 dir3_errno = errno; in rename_dbmfile()
1065 pag3_errno = errno; in rename_dbmfile()
[all …]
H A Dfilesubr.c83 if (errno == EINTR) in copy_file()
233 errno = EACCES; in isaccessible()
259 errno = EACCES; in isaccessible()
319 int save_errno = errno; in mkdir_if_needed()
460 if (errno == ENOTEMPTY in deep_remove_dir()
461 || errno == EEXIST in deep_remove_dir()
473 errno = 0; in deep_remove_dir()
507 errno = 0; in deep_remove_dir()
509 if (errno != 0) in deep_remove_dir()
513 errno = save_errno; in deep_remove_dir()
[all …]
H A Drun.c197 rerrno = errno; in run_exec()
204 rerrno = errno; in run_exec()
213 rerrno = errno; in run_exec()
277 rerrno = errno; in run_exec()
322 if (w == -1 && errno != EINTR) in run_exec()
330 rerrno = errno; in run_exec()
394 errno = rerrno; in run_exec()
471 error (1, errno, "cannot fork"); in work_around_openssh_glitch()
489 if (errno == EINTR) in work_around_openssh_glitch()
500 if (errno == EINTR) in work_around_openssh_glitch()
[all …]
H A Dentries.c92 error (1, errno, "cannot write %s", entfilename); in write_ent_proc()
151 && !existence_error (errno)) in write_entries()
378 error (0, errno, "cannot read entries file"); in fgetentent()
671 error (1, errno, "write to %s failed", tmp); in WriteTag()
674 error (1, errno, "cannot close %s", tmp); in WriteTag()
771 else if (!existence_error (errno)) in ParseTag()
801 int save_errno = errno; in Subdirs_Known()
840 int save_errno = errno; in subdir_record()
997 if (!existence_error (errno)) in base_walk()
1067 error (0, errno, "error writing %s", in base_walk()
[all …]
H A Dlogin.c329 error (0, errno, "cannot read %s", passfile); in password_entry_operation()
334 error (0, errno, "cannot close %s", passfile); in password_entry_operation()
402 error (0, errno, "cannot close %s", tmp_name); in password_entry_operation()
407 error (0, errno, "cannot remove %s", tmp_name); in password_entry_operation()
417 error (0, errno, "cannot read %s", passfile); in password_entry_operation()
422 error (0, errno, "cannot close %s", passfile); in password_entry_operation()
428 error (0, errno, "cannot close %s", tmp_name); in password_entry_operation()
457 error (1, errno, "cannot write %s", passfile); in password_entry_operation()
459 error (1, errno, "cannot close %s", passfile); in password_entry_operation()
485 save_errno = errno; in password_entry_operation()
[all …]
H A Dcreate_adm.c70 error (0, errno, "warning: cannot make directory %s in %s", in Create_Admin()
75 error (1, errno, "cannot make directory %s in %s", in Create_Admin()
95 error (1, errno, "cannot open %s", tmp); in Create_Admin()
97 error (1, errno, "cannot open %s/%s", update_dir, CVSADM_REP); in Create_Admin()
130 error (1, errno, "write to %s failed", tmp); in Create_Admin()
137 error (1, errno, "cannot close %s", tmp); in Create_Admin()
139 error (1, errno, "cannot close %s/%s", update_dir, CVSADM_REP); in Create_Admin()
151 error (1, errno, "cannot open %s", tmp); in Create_Admin()
153 error (1, errno, "cannot open %s/%s", update_dir, CVSADM_ENT); in Create_Admin()
158 error (1, errno, "cannot close %s", tmp); in Create_Admin()
[all …]
/dragonfly/lib/libc/nameser/
H A Dns_name.c110 errno = EMSGSIZE; in ns_name_ntop()
125 errno = EMSGSIZE; in ns_name_ntop()
133 errno = EINVAL; in ns_name_ntop()
179 errno = EMSGSIZE; in ns_name_ntop()
221 errno = e; in ns_name_pton()
299 errno = EMSGSIZE; in ns_name_pton()
304 errno = EMSGSIZE; in ns_name_pton()
316 errno = EMSGSIZE; in ns_name_pton()
346 errno = EMSGSIZE; in ns_name_ntol()
508 errno = EINVAL; in ns_name_pack()
[all …]
/dragonfly/lib/libthread_xu/thread/
H A Dthr_sem.c176 errno = EINVAL; in sem_check_validity()
188 errno = EINVAL; in sem_alloc()
211 errno = ENOSPC; in sem_alloc()
227 errno = EINVAL; in _sem_init()
241 errno = EINVAL; in _sem_destroy()
265 errno = EINVAL; in _sem_getvalue()
291 errno = EAGAIN; in _sem_trywait()
332 errno = retval; in _sem_wait()
383 errno = retval; in _sem_timedwait()
653 if (errno != EACCES && errno != EMFILE) in _sem_open()
[all …]
/dragonfly/contrib/diffutils/lib/
H A Dstriconv.c78 if (errno == E2BIG) in mem_cd_iconv()
92 errno = EILSEQ; in mem_cd_iconv()
128 errno = ENOMEM; in mem_cd_iconv()
168 errno = EILSEQ; in mem_cd_iconv()
199 errno = saved_errno; in mem_cd_iconv()
240 errno = ENOMEM; in str_cd_iconv()
272 errno = ENOMEM; in str_cd_iconv()
391 errno = saved_errno; in str_cd_iconv()
408 errno = ENOMEM; in str_iconv()
423 errno = EINVAL; in str_iconv()
[all …]
/dragonfly/contrib/grep/lib/
H A Dstriconv.c78 if (errno == E2BIG) in mem_cd_iconv()
92 errno = EILSEQ; in mem_cd_iconv()
128 errno = ENOMEM; in mem_cd_iconv()
168 errno = EILSEQ; in mem_cd_iconv()
199 errno = saved_errno; in mem_cd_iconv()
240 errno = ENOMEM; in str_cd_iconv()
272 errno = ENOMEM; in str_cd_iconv()
391 errno = saved_errno; in str_cd_iconv()
408 errno = ENOMEM; in str_iconv()
423 errno = EINVAL; in str_iconv()
[all …]
/dragonfly/contrib/openpam/lib/libpam/
H A Dopenpam_configure.c196 errno = EINVAL; in openpam_parse_chain()
327 serrno = errno; in openpam_parse_chain()
329 errno = serrno; in openpam_parse_chain()
332 serrno = errno; in openpam_parse_chain()
340 errno = serrno; in openpam_parse_chain()
366 serrno = errno; in openpam_load_file()
369 errno = serrno; in openpam_load_file()
379 serrno = errno; in openpam_load_file()
455 errno = ENOENT; in openpam_load_chain()
491 serrno = errno; in openpam_configure()
[all …]
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Dlinux_ioctl.c31 ret = errno ? -errno : -999; in linux_set_iface_flags()
33 ifname, strerror(errno)); in linux_set_iface_flags()
48 ret = errno ? -errno : -999; in linux_set_iface_flags()
71 ret = errno ? -errno : -999; in linux_iface_up()
73 ifname, strerror(errno)); in linux_iface_up()
89 ifname, strerror(errno)); in linux_get_ifhwaddr()
115 ifname, strerror(errno)); in linux_set_ifhwaddr()
126 int saved_errno = errno; in linux_br_add()
130 errno = saved_errno; in linux_br_add()
163 int saved_errno = errno; in linux_br_add_if()
[all …]
/dragonfly/crypto/openssh/
H A Duidswap.c88 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
93 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
103 strerror(errno)); in temporarily_use_uid()
107 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
112 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
121 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid()
132 strerror(errno)); in temporarily_use_uid()
135 strerror(errno)); in temporarily_use_uid()
166 fatal("%s: setuid failed: %s", __func__, strerror(errno)); in restore_uid()
172 fatal("setgroups: %.100s", strerror(errno)); in restore_uid()
[all …]
H A Datomicio.c69 if (errno == EINTR) { in atomicio6()
72 errno = EINTR; in atomicio6()
76 } else if (errno == EAGAIN || errno == EWOULDBLOCK) { in atomicio6()
82 errno = EPIPE; in atomicio6()
87 errno = EINTR; in atomicio6()
115 errno = EINVAL; in atomiciov6()
134 errno = EINTR; in atomiciov6()
138 } else if (errno == EAGAIN || errno == EWOULDBLOCK) { in atomiciov6()
144 errno = EPIPE; in atomiciov6()
157 errno = EFAULT; in atomiciov6()
[all …]
H A Dsshpty.c73 error("openpty: %.100s", strerror(errno)); in pty_allocate()
113 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty()
132 error("SETPGRP %s",strerror(errno)); in pty_make_controlling_tty()
144 strerror(errno)); in pty_make_controlling_tty()
187 strerror(errno)); in pty_setowner()
195 if (errno == EROFS && in pty_setowner()
199 strerror(errno)); in pty_setowner()
203 strerror(errno)); in pty_setowner()
209 if (errno == EROFS && in pty_setowner()
212 tty, (u_int)mode, strerror(errno)); in pty_setowner()
[all …]
/dragonfly/lib/libc/gen/
H A Duname.c59 oerrno = errno; in uname()
62 errno = oerrno; in uname()
73 oerrno = errno; in uname()
75 if(errno == ENOMEM) in uname()
76 errno = oerrno; in uname()
88 oerrno = errno; in uname()
91 errno = oerrno; in uname()
106 oerrno = errno; in uname()
109 errno = oerrno; in uname()
128 oerrno = errno; in uname()
[all …]
/dragonfly/test/testcases/libnvmm/
H A Dh_mem_assist.c105 err(errno, "nvmm_vcpu_run"); in run_machine()
289 err(errno, "mmap"); in map_pages64()
292 err(errno, "nvmm_hva_map"); in map_pages64()
296 err(errno, "nvmm_gpa_map"); in map_pages64()
301 err(errno, "mmap"); in map_pages64()
305 err(errno, "mmap"); in map_pages64()
309 err(errno, "mmap"); in map_pages64()
313 err(errno, "mmap"); in map_pages64()
316 err(errno, "nvmm_hva_map"); in map_pages64()
435 err(errno, "mmap"); in map_pages16()
[all …]
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dclvmd-corosync.c122 errno = EINVAL; in cs_to_errno()
125 errno = EINVAL; in cs_to_errno()
128 errno = EINVAL; in cs_to_errno()
131 errno = ETIME; in cs_to_errno()
134 errno = EAGAIN; in cs_to_errno()
146 errno = EBUSY; in cs_to_errno()
149 errno = EPERM; in cs_to_errno()
164 errno = EINTR; in cs_to_errno()
179 errno = EIO; in cs_to_errno()
182 errno = EIO; in cs_to_errno()
[all …]
H A Drefresh_clvmd.c73 int saved_errno = errno; in _open_local_sock()
76 strerror(errno)); in _open_local_sock()
80 errno = saved_errno; in _open_local_sock()
117 errno = ENOTCONN; in _send_request()
125 errno = ENOMEM; in _send_request()
234 errno = ENOMEM; in _cluster_request()
258 errno = ENOMEM; in _cluster_request()
321 saved_errno = errno; in refresh_clvmd()
323 errno = saved_errno; in refresh_clvmd()
364 saved_errno = errno; in debug_clvmd()
[all …]
/dragonfly/contrib/dhcpcd/compat/
H A Dpidfile.c80 errno = EBADF; in pidfile_clean()
87 error = errno; in pidfile_clean()
98 errno = error; in pidfile_clean()
154 error = errno; in pidfile_read()
157 errno = error; in pidfile_read()
163 errno = error; in pidfile_read()
218 errno = error; in pidfile_lock()
228 errno = error; in pidfile_lock()
244 errno = EEXIST; in pidfile_lock()
262 int error = errno; in pidfile_lock()
[all …]
/dragonfly/contrib/libpcap/
H A Dpcap-bpf.c503 ((errno != EACCES && errno != ENOENT) || in bpf_open()
506 if (errno == EACCES) in bpf_open()
549 switch (errno) { in bpf_open()
653 switch (errno) { in bpf_bind()
753 if (errno == ENXIO || errno == EINVAL) { in device_exists()
1104 switch (errno) { in pcap_read_bpf()
1171 errno, "read"); in pcap_read_bpf()
1357 errno, "send"); in pcap_inject_bpf()
2891 if (errno == EOPNOTSUPP || errno == EINVAL || errno == ENOTTY ||
2892 errno == ENODEV || errno == EPERM
[all …]
/dragonfly/usr.sbin/sdpd/
H A Dserver.c126 strerror(errno), errno); in server_init()
142 strerror(errno), errno); in server_init()
156 strerror(errno), errno); in server_init()
165 strerror(errno), errno); in server_init()
173 strerror(errno), errno); in server_init()
187 strerror(errno), errno); in server_init()
195 strerror(errno), errno); in server_init()
347 strerror(errno), errno); in server_accept_client()
359 strerror(errno), errno); in server_accept_client()
368 strerror(errno), errno); in server_accept_client()
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Dauth.c119 errno = EINVAL; in dhcp_auth_validate()
131 errno = ERANGE; in dhcp_auth_validate()
143 errno = EINVAL; in dhcp_auth_validate()
155 errno = EPERM; in dhcp_auth_validate()
184 errno = EPERM; in dhcp_auth_validate()
189 errno = EPERM; in dhcp_auth_validate()
305 errno = ESRCH; in dhcp_auth_validate()
324 errno = EPERM; in dhcp_auth_validate()
331 errno = EPERM; in dhcp_auth_validate()
360 errno = ENOSYS; in dhcp_auth_validate()
[all …]

12345678910>>...73