Home
last modified time | relevance | path

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

12345678910>>...20

/f-stack/lib/
H A Dff_host_interface.c240 case ff_EPERM: errno = EPERM; break; in ff_os_errno()
242 case ff_ESRCH: errno = ESRCH; break; in ff_os_errno()
243 case ff_EINTR: errno = EINTR; break; in ff_os_errno()
244 case ff_EIO: errno = EIO; break; in ff_os_errno()
245 case ff_ENXIO: errno = ENXIO; break; in ff_os_errno()
246 case ff_E2BIG: errno = E2BIG; break; in ff_os_errno()
248 case ff_EBADF: errno = EBADF; break; in ff_os_errno()
255 case ff_EBUSY: errno = EBUSY; break; in ff_os_errno()
257 case ff_EXDEV: errno = EXDEV; break; in ff_os_errno()
266 case ff_EFBIG: errno = EFBIG; break; in ff_os_errno()
[all …]
/f-stack/freebsd/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 …]
/f-stack/tools/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 …]
H A Dexpand_number.c49 serrno = errno; in expand_number()
50 errno = 0; in expand_number()
53 errno = ERANGE; in expand_number()
54 if (errno != 0) in expand_number()
56 errno = serrno; in expand_number()
84 errno = EINVAL; in expand_number()
90 errno = ERANGE; in expand_number()
H A Dflopen.c79 serrno = errno; in vflopenat()
81 errno = serrno; in vflopenat()
91 serrno = errno; in vflopenat()
93 errno = serrno; in vflopenat()
104 serrno = errno; in vflopenat()
106 errno = serrno; in vflopenat()
115 serrno = errno; in vflopenat()
117 errno = serrno; in vflopenat()
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_conf.c352 errno = EINVAL; in zed_conf_scan_dir()
359 errno = ENOMEM; in zed_conf_scan_dir()
370 errno = errno_bak; in zed_conf_scan_dir()
434 errno = errno_bak; in zed_conf_scan_dir()
464 errno = EINVAL; in zed_conf_write_pid()
528 errno = ERANGE; in zed_conf_write_pid()
565 errno = EINVAL; in zed_conf_open_state()
645 errno = EINVAL; in zed_conf_read_state()
673 errno = EIO; in zed_conf_read_state()
695 errno = EINVAL; in zed_conf_write_state()
[all …]
H A Dzed_file.c41 if (errno == EINTR) in zed_file_read_n()
70 if (errno == EINTR) in zed_file_write_n()
93 errno = EBADF; in zed_file_lock()
102 if ((errno == EACCES) || (errno == EAGAIN)) in zed_file_lock()
120 errno = EBADF; in zed_file_unlock()
146 errno = EBADF; in zed_file_is_locked()
176 errno_bak = errno; in zed_file_close_from()
188 errno = errno_bak; in zed_file_close_from()
204 errno = EBADF; in zed_file_close_on_exec()
H A Dzed.c102 if (errno != EAGAIN) in _lock_memory()
105 zed_log_die("Failed to lock memory pages: %s", strerror(errno)); in _lock_memory()
133 strerror(errno)); in _start_daemonize()
152 strerror(errno)); in _start_daemonize()
168 strerror(errno)); in _start_daemonize()
188 zed_log_die("Failed to open /dev/null: %s", strerror(errno)); in _finish_daemonize()
192 strerror(errno)); in _finish_daemonize()
196 strerror(errno)); in _finish_daemonize()
200 strerror(errno)); in _finish_daemonize()
203 zed_log_die("Failed to close /dev/null: %s", strerror(errno)); in _finish_daemonize()
/f-stack/example/
H A Dmain_zc.c164 strerror(errno)); in loop()
172 printf("ff_kevent error:%d, %s\n", errno, in loop()
173 strerror(errno)); in loop()
185 … printf("ff_zc_mbuf_get failed, len:%d, errno:%d, %s\n", buf_len, errno, strerror(errno)); in loop()
195 … printf("ff_zc_mbuf_write failed, len:%d, errno:%d, %s\n", to_write_len, errno, strerror(errno)); in loop()
241 printf("ff_socket failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno)); in main()
253 printf("ff_bind failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno)); in main()
259 printf("ff_listen failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno)); in main()
270 printf("ff_socket failed, sockfd6:%d, errno:%d, %s\n", sockfd6, errno, strerror(errno)); in main()
282 printf("ff_bind failed, sockfd6:%d, errno:%d, %s\n", sockfd6, errno, strerror(errno)); in main()
[all …]
H A Dmain.c83 printf("ff_accept failed:%d, %s\n", errno, in loop()
84 strerror(errno)); in loop()
92 printf("ff_kevent error:%d, %s\n", errno, in loop()
93 strerror(errno)); in loop()
118 printf("ff_socket failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno)); in main()
130 printf("ff_bind failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno)); in main()
136 printf("ff_listen failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno)); in main()
147 printf("ff_socket failed, sockfd6:%d, errno:%d, %s\n", sockfd6, errno, strerror(errno)); in main()
159 printf("ff_bind failed, sockfd6:%d, errno:%d, %s\n", sockfd6, errno, strerror(errno)); in main()
165 printf("ff_listen failed, sockfd6:%d, errno:%d, %s\n", sockfd6, errno, strerror(errno)); in main()
/f-stack/tools/libutil/tests/
H A Dpidfile_test.c72 return (strerror(errno)); in test_pidfile_uncontested()
99 return (strerror(errno)); in test_pidfile_self()
101 serrno = errno; in test_pidfile_self()
139 return (strerror(errno)); in common_test_pidfile_child()
151 return (strerror(errno)); in common_test_pidfile_child()
164 serrno = errno; in common_test_pidfile_child()
195 serrno = errno; in common_test_pidfile_child()
198 errno = serrno; in common_test_pidfile_child()
199 return (strerror(errno)); in common_test_pidfile_child()
213 return (strerror(errno)); in common_test_pidfile_child()
[all …]
/f-stack/app/micro_thread/
H A Dmt_connection.cpp82 MTLOG_ERROR("socket create failed, errno %d(%s)", errno, strerror(errno)); in CreateSocket()
89 MTLOG_ERROR("socket unblock failed, errno %d(%s)", errno, strerror(errno)); in CreateSocket()
127 if ((errno == EINTR) || (errno == EAGAIN) || (errno == EINPROGRESS)) in SendData()
134 errno, strerror(errno)); in SendData()
159 if ((errno == EINTR) || (errno == EAGAIN) || (errno == EINPROGRESS)) in RecvData()
166 errno, strerror(errno)); in RecvData()
218 err = errno; in OpenCnnect()
295 if ((errno == EINTR) || (errno == EAGAIN) || (errno == EINPROGRESS)) in SendData()
335 if ((errno == EINTR) || (errno == EAGAIN) || (errno == EINPROGRESS)) in RecvData()
648 if ((errno == EINTR) || (errno == EAGAIN) || (errno == EINPROGRESS)) in SendData()
[all …]
H A Dmicro_thread.cpp954 errno = ETIME; in KqueueSchedule()
970 errno = EINVAL; in recvfrom()
1007 if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) in recvfrom()
1030 errno = EINVAL; in sendto()
1050 if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) { in sendto()
1076 errno = EINVAL; in connect()
1147 if (!((errno == EAGAIN) || (errno == EWOULDBLOCK))) { in accept()
1193 if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) { in read()
1243 if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) { in write()
1314 if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) in recv()
[all …]
/f-stack/dpdk/examples/l2fwd-keepalive/
H A Dshm.c24 if (shm_unlink(RTE_KEEPALIVE_SHM_NAME) == -1 && errno != ENOENT) in rte_keepalive_shm_create()
26 RTE_KEEPALIVE_SHM_NAME, strerror(errno)); in rte_keepalive_shm_create()
34 strerror(errno)); in rte_keepalive_shm_create()
37 "Failed to resize SHM (%s)\n", strerror(errno)); in rte_keepalive_shm_create()
45 "Failed to mmap SHM (%s)\n", strerror(errno)); in rte_keepalive_shm_create()
53 strerror(errno)); in rte_keepalive_shm_create()
91 strerror(errno)); in rte_keepalive_relayed_state()
100 strerror(errno)); in rte_keepalive_relayed_state()
106 if (shm_unlink(RTE_KEEPALIVE_SHM_NAME) == -1 && errno != ENOENT) in rte_keepalive_shm_cleanup()
108 RTE_KEEPALIVE_SHM_NAME, strerror(errno)); in rte_keepalive_shm_cleanup()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/largest_file/
H A Dlargest_file.c74 return (errno); in main()
78 return (errno); in main()
84 err = errno; in main()
92 err = errno; in main()
99 err = errno; in main()
107 err = errno; in main()
114 if (errno == EFBIG || errno == EINVAL) { in main()
118 err = errno; in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mktree/
H A Dmktree.c113 dname, errno, strerror(errno)); in mktree()
114 exit(errno); in mktree()
172 "\n[%d]: %s.\n", pname, errno, strerror(errno)); in crtfile()
173 exit(errno); in crtfile()
177 "\n[%d]: %s.\n", errno, strerror(errno)); in crtfile()
178 exit(errno); in crtfile()
184 "1024, 0) failed.\n[%d]: %s.\n", errno, strerror(errno)); in crtfile()
185 exit(errno); in crtfile()
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.c234 errno = ENOTSUP; in mlx5_glue_alloc_null_mr()
304 errno = ENOTSUP; in mlx5_glue_create_counters()
386 errno = ENOTSUP; in mlx5_glue_dr_create_flow_action_dest_flow_tbl()
402 errno = ENOTSUP; in mlx5_glue_dr_create_flow_action_dest_port()
465 return errno; in mlx5_glue_dr_destroy_flow_tbl()
491 return errno; in mlx5_glue_dr_destroy_domain()
504 return errno; in mlx5_glue_dr_sync_domain()
810 return errno; in mlx5_glue_dv_modify_flow_action_meter()
868 return errno; in mlx5_glue_dv_destroy_flow_matcher()
1066 return errno; in mlx5_glue_devx_qp_query()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zfs/
H A Dzfs_project.c68 name, strerror(errno)); in zfs_project_sanity_check()
104 name, strerror(errno)); in zfs_project_load_projid()
112 name, strerror(errno)); in zfs_project_load_projid()
132 name, strerror(errno)); in zfs_project_handle_one()
140 name, strerror(errno)); in zfs_project_handle_one()
199 name, strerror(errno)); in zfs_project_handle_one()
220 ret = -errno; in zfs_project_handle_dir()
228 errno = 0; in zfs_project_handle_dir()
237 errno = ENAMETOOLONG; in zfs_project_handle_dir()
247 if (errno && !ret) { in zfs_project_handle_dir()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dpwhash_argon2id.c143 errno = EFBIG; in crypto_pwhash_argon2id()
147 errno = EINVAL; in crypto_pwhash_argon2id()
153 errno = EFBIG; in crypto_pwhash_argon2id()
159 errno = EINVAL; in crypto_pwhash_argon2id()
172 errno = EINVAL; in crypto_pwhash_argon2id()
189 errno = EFBIG; in crypto_pwhash_argon2id_str()
195 errno = EINVAL; in crypto_pwhash_argon2id_str()
216 errno = EFBIG; in crypto_pwhash_argon2id_str_verify()
221 errno = EINVAL; in crypto_pwhash_argon2id_str_verify()
231 errno = EINVAL; in crypto_pwhash_argon2id_str_verify()
H A Dpwhash_argon2i.c147 errno = EFBIG; in crypto_pwhash_argon2i()
151 errno = EINVAL; in crypto_pwhash_argon2i()
157 errno = EFBIG; in crypto_pwhash_argon2i()
163 errno = EINVAL; in crypto_pwhash_argon2i()
176 errno = EINVAL; in crypto_pwhash_argon2i()
193 errno = EFBIG; in crypto_pwhash_argon2i_str()
199 errno = EINVAL; in crypto_pwhash_argon2i_str()
220 errno = EFBIG; in crypto_pwhash_argon2i_str_verify()
225 errno = EINVAL; in crypto_pwhash_argon2i_str_verify()
235 errno = EINVAL; in crypto_pwhash_argon2i_str_verify()
[all …]
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_kernel_tap.c41 if (ioctl(fd, TUNSETOFFLOAD, 0) != 0 && errno == EINVAL) { in vhost_kernel_tap_set_offload()
50 strerror(errno)); in vhost_kernel_tap_set_offload()
87 PATH_NET_TUN, strerror(errno)); in vhost_kernel_open_tap()
96 PMD_DRV_LOG(ERR, "TUNGETFEATURES failed: %s", strerror(errno)); in vhost_kernel_open_tap()
121 PMD_DRV_LOG(ERR, "TUNSETIFF failed: %s", strerror(errno)); in vhost_kernel_open_tap()
127 PMD_DRV_LOG(ERR, "strdup ifname failed: %s", strerror(errno)); in vhost_kernel_open_tap()
132 PMD_DRV_LOG(ERR, "fcntl tapfd failed: %s", strerror(errno)); in vhost_kernel_open_tap()
137 PMD_DRV_LOG(ERR, "TUNSETVNETHDRSZ failed: %s", strerror(errno)); in vhost_kernel_open_tap()
142 PMD_DRV_LOG(ERR, "TUNSETSNDBUF failed: %s", strerror(errno)); in vhost_kernel_open_tap()
154 PMD_DRV_LOG(ERR, "SIOCSIFHWADDR failed: %s", strerror(errno)); in vhost_kernel_open_tap()
/f-stack/tools/libnetgraph/
H A Dsock.c90 errnosv = errno; in NgMkSockNode()
109 errnosv = errno; in NgMkSockNode()
128 errnosv = errno; in NgMkSockNode()
134 errnosv = errno; in NgMkSockNode()
151 errnosv = errno; in NgMkSockNode()
162 errnosv = errno; in NgMkSockNode()
184 errno = errnosv; in NgMkSockNode()
230 errnosv = errno; in NgRecvData()
233 errno = errnosv; in NgRecvData()
303 errnosv = errno; in NgSendData()
[all …]
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_cpuflags.c25 errno = ENOTSUP; in getauxval()
48 errno = 0; in _rte_cpu_getauxval()
51 if (!val && (errno == ENOTSUP || errno == ENOENT)) { in _rte_cpu_getauxval()
58 errno = ENOENT; in _rte_cpu_getauxval()
61 errno = 0; in _rte_cpu_getauxval()
/f-stack/tools/compat/
H A Dstrtonum.c52 ev[0].err = errno; in strtonum()
53 errno = 0; in strtonum()
58 if (errno == EINVAL || numstr == ep || *ep != '\0') in strtonum()
60 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) in strtonum()
62 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) in strtonum()
67 errno = ev[error].err; in strtonum()

12345678910>>...20