| /openbmc/u-boot/arch/sandbox/cpu/ |
| H A D | eth-raw-os.c | 46 return -errno; in sandbox_eth_raw_os_is_local() 51 ret = -errno; in sandbox_eth_raw_os_is_local() 63 return -errno; in sandbox_eth_raw_os_idx_to_name() 91 printf("Failed to open socket: %d %s\n", errno, in _raw_packet_start() 92 strerror(errno)); in _raw_packet_start() 93 return -errno; in _raw_packet_start() 100 errno, strerror(errno)); in _raw_packet_start() 101 return -errno; in _raw_packet_start() 118 errno, strerror(errno)); in _raw_packet_start() 126 printf("Failed to read flags: %d %s\n", errno, in _raw_packet_start() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/ez-ipupdate/files/ |
| H A D | cache_file.c.patch | 3 Dont assume errno type 11 -extern int errno; 12 +# include <errno.h> 13 # define error_string strerror(errno) 16 -extern int errno; 17 +# include <errno.h> 18 # define error_string (sys_errlist[errno]) 25 -extern int errno; 26 +# include <errno.h> 27 # define error_string strerror(errno) [all …]
|
| H A D | conf_file.c.patch | 3 Dont assume errno type 11 -extern int errno; 12 +# include <errno.h> 13 # define error_string strerror(errno) 16 -extern int errno; 17 +# include <errno.h> 18 # define error_string (sys_errlist[errno])
|
| /openbmc/phosphor-debug-collector/ |
| H A D | dump_offload.cpp | 60 "ERRNO", errno); in writeOnUnixSocket() 61 std::string msg = "select() failed " + std::string(strerror(errno)); in writeOnUnixSocket() 69 if (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR) in writeOnUnixSocket() 75 "ERRNO", errno); in writeOnUnixSocket() 77 "write() on socket failed " + std::string(strerror(errno)); in writeOnUnixSocket() 103 "UNIX socket path is too long " + std::string(strerror(errno)); in socketInit() 115 errno); in socketInit() 116 std::string msg = "socket() failed " + std::string(strerror(errno)); in socketInit() 122 lg2::error("socketInit: bind() failed, errno: {ERRNO}", "ERRNO", errno); in socketInit() 124 std::string msg = "socket bind failed " + std::string(strerror(errno)); in socketInit() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 026 | 83 for errno in 5 28; do 91 errno = "$errno" 99 echo "Event: $event; errno: $errno; imm: $imm; once: $once; write $vmstate" 141 for errno in 28; do 149 errno = "$errno" 157 echo "Event: $event; errno: $errno; imm: $imm; once: $once; write $vmstate" 181 for errno in 5 28; do 188 errno = "$errno" 196 echo "Event: $event; errno: $errno; imm: $imm; once: $once" 213 errno = "5" [all …]
|
| H A D | 026.out.nocache | 6 Event: l1_update; errno: 5; imm: off; once: on; write 11 Event: l1_update; errno: 5; imm: off; once: on; write -b 16 Event: l1_update; errno: 5; imm: off; once: off; write 23 Event: l1_update; errno: 5; imm: off; once: off; write -b 30 Event: l1_update; errno: 28; imm: off; once: on; write 35 Event: l1_update; errno: 28; imm: off; once: on; write -b 40 Event: l1_update; errno: 28; imm: off; once: off; write 47 Event: l1_update; errno: 28; imm: off; once: off; write -b 54 Event: l2_load; errno: 5; imm: off; once: on; write 62 Event: l2_load; errno: 5; imm: off; once: on; write -b [all …]
|
| H A D | 026.out | 6 Event: l1_update; errno: 5; imm: off; once: on; write 11 Event: l1_update; errno: 5; imm: off; once: on; write -b 16 Event: l1_update; errno: 5; imm: off; once: off; write 23 Event: l1_update; errno: 5; imm: off; once: off; write -b 30 Event: l1_update; errno: 28; imm: off; once: on; write 35 Event: l1_update; errno: 28; imm: off; once: on; write -b 40 Event: l1_update; errno: 28; imm: off; once: off; write 47 Event: l1_update; errno: 28; imm: off; once: off; write -b 54 Event: l2_load; errno: 5; imm: off; once: on; write 62 Event: l2_load; errno: 5; imm: off; once: on; write -b [all …]
|
| /openbmc/openbmc-tools/pwmtachtool/src/ |
| H A D | EINTR_wrappers.c | 104 if (errno != EINTR) in sigwrap_semop() 130 if (errno != EINTR) in sigwrap_epoll_wait() 165 if (errno != EINTR) in sigwrap_epoll_pwait() 188 if (errno != EINTR) in sigwrap_sigwaitinfo() 207 if (errno != EINTR) in sigwrap_sigtimedwait() 230 if (errno != EINTR) in sigwrap_nanosleep() 279 if (errno != EINTR) in sigwrap_usleep() 311 if (errno != EINTR) in sigwrap_poll() 335 if (errno != EINTR) in sigwrap_select() 359 if (errno != EINTR) in sigwrap_pselect() [all …]
|
| /openbmc/hiomapd/file/ |
| H A D | backend.c | 60 return -errno; in file_dev_init() 67 strerror(errno)); in file_dev_init() 68 rc = -errno; in file_dev_init() 75 rc = -errno; in file_dev_init() 81 rc = -errno; in file_dev_init() 134 MSG_ERR("Couldn't malloc erase buffer. %s\n", strerror(errno)); in file_erase() 143 return -errno; in file_erase() 173 strerror(errno)); in file_copy() 174 return -errno; in file_copy() 181 strerror(errno)); in file_copy() [all …]
|
| /openbmc/qemu/net/ |
| H A D | tap-linux.c | 60 error_setg_errno(errp, errno, "could not open %s", PATH_NET_TUN); in tap_open() 68 warn_report("TUNGETFEATURES failed: %s", strerror(errno)); in tap_open() 117 error_setg_errno(errp, errno, "could not configure %s (%s)", in tap_open() 120 error_setg_errno(errp, errno, "could not configure %s", in tap_open() 156 error_setg_errno(errp, errno, "TUNSETSNDBUF ioctl failed"); in tap_set_sndbuf() 167 error_setg_errno(errp, errno, in tap_probe_vnet_hdr() 203 strerror(errno)); in tap_fd_set_vnet_hdr_len() 217 if (errno == EINVAL) { in tap_fd_set_vnet_le() 218 return -errno; in tap_fd_set_vnet_le() 221 error_report("TUNSETVNETLE ioctl() failed: %s.", strerror(errno)); in tap_fd_set_vnet_le() [all …]
|
| H A D | tap-bsd.c | 63 else if (errno == ENXIO || errno == ENOENT) { in tap_open() 71 error_setg_errno(errp, errno, "could not open %s", dname); in tap_open() 77 error_setg_errno(errp, errno, "could not get tap name"); in tap_open() 83 error_setg_errno(errp, errno, "could not stat %s", dname); in tap_open() 116 error_setg_errno(errp, errno, "could not open %s", PATH_NET_TAP); in tap_open_clone() 124 error_setg_errno(errp, errno, "could not get tap interface name"); in tap_open_clone() 133 error_setg_errno(errp, errno, in tap_open_clone() 163 if (fd < 0 && errno != ENOENT) { in tap_open() 164 error_setg_errno(errp, errno, "could not open %s", dname); in tap_open()
|
| /openbmc/openbmc-tools/adcapp/src/ |
| H A D | EINTR_wrappers.c | 104 if (errno != EINTR) in sigwrap_semop() 124 if (errno != EINTR) 129 errno = EAGAIN; 157 if (errno != EINTR) in sigwrap_epoll_wait() 192 if (errno != EINTR) in sigwrap_epoll_pwait() 215 if (errno != EINTR) in sigwrap_sigwaitinfo() 234 if (errno != EINTR) in sigwrap_sigtimedwait() 257 if (errno != EINTR) in sigwrap_nanosleep() 306 if (errno != EINTR) in sigwrap_usleep() 338 if (errno != EINTR) in sigwrap_poll() [all …]
|
| /openbmc/qemu/util/ |
| H A D | event_notifier-posix.c | 44 errno = ENOSYS; in event_notifier_init() 49 if (errno != ENOSYS) { in event_notifier_init() 50 return -errno; in event_notifier_init() 53 return -errno; in event_notifier_init() 56 ret = -errno; in event_notifier_init() 60 ret = -errno; in event_notifier_init() 115 } while (ret < 0 && errno == EINTR); in event_notifier_set() 118 if (ret < 0 && errno != EAGAIN) { in event_notifier_set() 119 return -errno; in event_notifier_set() 139 } while ((len == -1 && errno == EINTR) || len == sizeof(buffer)); in event_notifier_test_and_clear()
|
| H A D | userfaultfd.c | 77 trace_uffd_query_features_nosys(errno); in uffd_query_features() 85 trace_uffd_query_features_api_failed(errno); in uffd_query_features() 114 trace_uffd_create_fd_nosys(errno); in uffd_create_fd() 121 trace_uffd_create_fd_api_failed(errno); in uffd_create_fd() 168 trace_uffd_register_memory_failed(addr, length, mode, errno); in uffd_register_memory() 195 trace_uffd_unregister_memory_failed(addr, length, errno); in uffd_unregister_memory() 230 (uint64_t) uffd_writeprotect.mode, errno); in uffd_change_protection() 262 int e = errno; in uffd_copy_page() 293 int e = errno; in uffd_zero_page() 325 int e = errno; in uffd_wakeup() [all …]
|
| H A D | osdep.c | 54 errno = EINVAL; in qemu_madvise() 62 errno = rc; in qemu_madvise() 67 errno = ENOSYS; in qemu_madvise() 88 error_report("%s: mprotect failed: %s", __func__, strerror(errno)); in qemu_mprotect__osdep() 147 errno = EINVAL; in qemu_dup_flags() 167 serrno = errno; in qemu_dup_flags() 171 errno = serrno; in qemu_dup_flags() 211 strerror(errno)); in qemu_probe_lock_ops() 253 return ret == -1 ? -errno : 0; in qemu_lock_fcntl() 278 return -errno; in qemu_lock_fd_test() [all …]
|
| /openbmc/qemu/bsd-user/freebsd/ |
| H A D | target_os_stack.h | 67 errno = EFAULT; in setup_initial_stack() 74 errno = EFAULT; in setup_initial_stack() 82 errno = EFAULT; in setup_initial_stack() 88 errno = EFAULT; in setup_initial_stack() 109 errno = ENOMEM; in setup_initial_stack() 130 errno = EFAULT; in setup_initial_stack() 134 errno = EFAULT; in setup_initial_stack() 141 errno = EFAULT; in setup_initial_stack() 155 errno = EFAULT; in setup_initial_stack() 159 errno = EFAULT; in setup_initial_stack() [all …]
|
| /openbmc/qemu/io/ |
| H A D | channel-file.c | 54 error_setg_errno(errp, errno, "Could not dup FD %d", fd); in qio_channel_file_new_dupfd() 121 if (errno == EAGAIN) { in qio_channel_file_readv() 124 if (errno == EINTR) { in qio_channel_file_readv() 128 error_setg_errno(errp, errno, in qio_channel_file_readv() 150 if (errno == EAGAIN) { in qio_channel_file_writev() 153 if (errno == EINTR) { in qio_channel_file_writev() 156 error_setg_errno(errp, errno, in qio_channel_file_writev() 176 if (errno == EAGAIN) { in qio_channel_file_preadv() 179 if (errno == EINTR) { in qio_channel_file_preadv() 183 error_setg_errno(errp, errno, "Unable to read from file"); in qio_channel_file_preadv() [all …]
|
| /openbmc/hiomapd/ |
| H A D | lpc.c | 52 path, strerror(errno)); in __lpc_dev_init() 53 return -errno; in __lpc_dev_init() 62 strerror(errno)); in __lpc_dev_init() 63 return -errno; in __lpc_dev_init() 75 MSG_ERR("Failed to map %s: %s\n", path, strerror(errno)); in __lpc_dev_init() 76 return -errno; in __lpc_dev_init() 132 strerror(errno)); in lpc_map_flash() 133 return -errno; in lpc_map_flash() 173 strerror(errno)); in lpc_map_memory() 174 return -errno; in lpc_map_memory()
|
| /openbmc/obmc-ikvm/ |
| H A D | ikvm_video.cpp | 127 entry("ERROR=%s", strerror(errno))); in getFrame() 159 entry("ERROR=%s", strerror(errno))); in needsResize() 227 entry("ERROR=%s", strerror(errno))); in resize() 230 CALLOUT_ERRNO(errno), in resize() 258 entry("ERROR=%s", strerror(errno))); in resize() 261 CALLOUT_ERRNO(errno), in resize() 271 entry("ERROR=%s", strerror(errno))); in resize() 280 entry("ERROR=%s", strerror(errno))); in resize() 283 CALLOUT_ERRNO(errno), in resize() 299 entry("ERROR=%s", strerror(errno))); in resize() [all …]
|
| /openbmc/qemu/tests/migration-stress/ |
| H A D | stress.c | 45 argv0, gettid(), strerror(errno)); in exit_failure() 61 argv0, gettid(), strerror(errno)); in get_command_arg_str() 67 argv0, gettid(), strerror(errno)); in get_command_arg_str() 113 errno = 0; in get_command_arg_ull() 115 if (errno || *end) { in get_command_arg_ull() 133 argv0, gettid(), strerror(errno)); in random_bytes() 139 argv0, gettid(), strerror(errno)); in random_bytes() 235 if (g_mkdir_with_parents(dir, 0755) < 0 && errno != EEXIST) { in mount_misc() 237 argv0, gettid(), dir, strerror(errno)); in mount_misc() 243 argv0, gettid(), dir, strerror(errno)); in mount_misc() [all …]
|
| /openbmc/openpower-debug-collector/watchdog/ |
| H A D | ffdc_file.cpp | 31 "ERRORMSG", strerror(errno)); in ~FFDCFile() 45 std::string{"Unable to open FFDC file: "} + strerror(errno)}; in prepareFFDCFile() 54 "FILE", tempFile.getPath(), "ERRNO", errno, "ERRORMSG", in prepareFFDCFile() 55 strerror(errno)); in prepareFFDCFile() 73 "FILE", tempFile.getPath(), "ERRNO", errno, "ERRORMSG", in prepareFFDCFile() 74 strerror(errno)); in prepareFFDCFile()
|
| /openbmc/qemu/crypto/ |
| H A D | random-platform.c | 56 if (fd == -1 && errno == ENOENT) { in qcrypto_random_init() 60 error_setg_errno(errp, errno, "No /dev/urandom or /dev/random"); in qcrypto_random_init() 88 } else if (errno != EINTR) { in qcrypto_random_bytes() 89 error_setg_errno(errp, errno, "getrandom"); in qcrypto_random_bytes() 107 } else if (errno != EINTR) { in qcrypto_random_bytes() 108 error_setg_errno(errp, errno, "Unable to read random bytes"); in qcrypto_random_bytes()
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/management/commands/ |
| H A D | checksocket.py | 12 import errno 46 errno.EACCES: 'You don\'t have permission to access port %s' \ 48 errno.EADDRINUSE: 'Port %s is already in use' % splitted[1], 49 errno.EADDRNOTAVAIL: 'IP address can\'t be assigned to', 51 if hasattr(err, 'errno') and err.errno in errors: 52 errtext = errors[err.errno]
|
| /openbmc/u-boot/include/ |
| H A D | errno.h | 11 extern int errno; 13 #define __set_errno(val) do { errno = val; } while (0) 16 const char *errno_str(int errno); 18 static inline const char *errno_str(int errno) in errno_str() argument
|
| /openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ |
| H A D | have_strerror.patch | 11 + strcpy(bp, strerror(errno)); 13 if (errno < sys_nerr && errno > 0) { 14 strcpy(bp, sys_errlist[errno]); 16 sprintf(bp, "Unknown error %d", errno);
|