Home
last modified time | relevance | path

Searched full:errno (Results 1 – 25 of 2129) sorted by relevance

12345678910>>...86

/openbmc/phosphor-debug-collector/
H A Ddump_offload.cpp59 lg2::error("writeOnUnixSocket: select() failed, errno: {ERRNO}", in writeOnUnixSocket()
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()
74 lg2::error("writeOnUnixSocket: write() failed, errno: {ERRNO}", 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()
114 lg2::error("socketInit: socket() failed, errno: {ERRNO}", "ERRNO", in socketInit()
115 errno); in socketInit()
[all …]
H A Ddump_manager_main.cpp41 lg2::error("Unable to initialize signal set, errno: {ERRNO}", "ERRNO", in main()
42 errno); in main()
48 lg2::error("Unable to add signal to signal set, errno: {ERRNO}", in main()
49 "ERRNO", errno); in main()
56 lg2::error("Unable to block signal, errno: {ERRNO}", "ERRNO", errno); in main()
H A Dwatch.cpp47 auto error = errno; in Watch()
49 "Error occurred during the inotify_add_watch call, errno: {ERRNO}", in Watch()
50 "ERRNO", error); in Watch()
71 auto error = errno; in inotifyInit()
72 lg2::error("Error occurred during the inotify_init1, errno: {ERRNO}", in inotifyInit()
73 "ERRNO", error); in inotifyInit()
99 auto error = errno; in callback()
100 lg2::error("Error occurred during the read, errno: {ERRNO}", "ERRNO", in callback()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/ez-ipupdate/files/
H A Dcache_file.c.patch3 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 Dconf_file.c.patch3 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/qemu/tests/qemu-iotests/
H A D026.out.nocache6 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 D026.out6 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 D02683 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 …]
/openbmc/u-boot/arch/sandbox/cpu/
H A Deth-raw-os.c8 #include <errno.h>
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()
[all …]
/openbmc/phosphor-power/
H A Dgpio.cpp50 auto e = errno; in read()
51 lg2::error("Failed GET_LINE_VALUES ioctl ERRNO={ERRNO}", "ERRNO", e); in read()
70 auto e = errno; in set()
71 lg2::error("Failed SET_LINE_VALUES ioctl ERRNO={ERRNO}", "ERRNO", e); in set()
87 auto e = errno; in requestLine()
88 lg2::error("Failed opening GPIO device DEVICE={DEVICE} ERRNO={ERRNO}", in requestLine()
89 "DEVICE", device, "ERRNO", e); in requestLine()
113 auto e = errno; in requestLine()
114 lg2::error("Failed GET_LINEHANDLE ioctl GPIO={GPIO} ERRNO={ERRNO}", in requestLine()
115 "GPIO", gpio, "ERRNO", e); in requestLine()
H A Dpmbus.cpp172 auto rc = errno;
175 "Failed to read sysfs file errno={ERRNO} FILENAME={FILENAME}", in read()
176 "ERRNO", rc, "FILENAME", path); in read()
212 auto rc = errno;
217 "Failed to read sysfs file errno={ERRNO} FILENAME={FILENAME}", in readString()
218 "ERRNO", rc, "FILENAME", path); in readString()
252 auto rc = errno; in readBinary()
254 "Failed to read sysfs file errno in readBinary()
[all...]
/openbmc/qemu/rust/qemu-api/src/
H A Derrno.rs3 //! Utility functions to convert `errno` to and from
6 //! QEMU C functions often have a "positive success/negative `errno`" calling
12 /// An `errno` value that can be converted into an [`io::Error`]
13 pub struct Errno(pub u16); struct
15 // On Unix, from_raw_os_error takes an errno value and OS errors
17 // GetLastError() value; therefore we need to convert errno values
21 impl From<Errno> for ErrorKind {
22 fn from(value: Errno) -> ErrorKind { in from()
24 let Errno(errno) = value; in from() localVariable
25 match i32::from(errno) { in from()
[all …]
/openbmc/openpower-debug-collector/watchdog/
H A Dffdc_file.cpp3 #include <errno.h> // for errno
31 "ERRORMSG", strerror(errno)); in ~FFDCFile()
45 std::string{"Unable to open FFDC file: "} + strerror(errno)}; in prepareFFDCFile()
53 "errorno({ERRNO}), errormsg({ERRORMSG})", in prepareFFDCFile()
54 "FILE", tempFile.getPath(), "ERRNO", errno, "ERRORMSG", in prepareFFDCFile()
55 strerror(errno)); in prepareFFDCFile()
72 "file({FILE}), errorno({ERRNO}), errormsg({ERRORMSG})", in prepareFFDCFile()
73 "FILE", tempFile.getPath(), "ERRNO", errno, "ERRORMSG", in prepareFFDCFile()
74 strerror(errno)); in prepareFFDCFile()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Ddownload_manager.cpp87 error("Error ({ERRNO}) occurred during the TFTP call", "ERRNO", in downloadViaTFTP()
88 errno); in downloadViaTFTP()
93 error("Error ({ERRNO}) occurred during fork", "ERRNO", errno); in downloadViaTFTP()
103 error("Error ({ERRNO}) occurred during fork", "ERRNO", errno); in downloadViaTFTP()
111 error("Error ({ERRNO}) occurred during waitpid", "ERRNO", errno); in downloadViaTFTP()
H A Dsync_manager.cpp58 error("Error ({ERRNO}) occurred during the rsync call on {PATH}", in processEntry()
59 "ERRNO", errno, "PATH", entryPath); in processEntry()
68 "Error ({ERRNO}) occurred during the rsync delete call on {PATH}", in processEntry()
69 "ERRNO", errno, "PATH", entryPath); in processEntry()
79 error("Error ({ERRNO}) occurred during fork", "ERRNO", errno); in processEntry()
/openbmc/obmc-ikvm/
H A Dikvm_video.cpp4 #include <errno.h>
127 entry("ERROR=%s", strerror(errno))); in getFrame()
159 entry("ERROR=%s", strerror(errno))); in needsResize()
182 xyz::openbmc_project::Common::File::Open::ERRNO(-EPROTO), 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()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/perl/files/
H A Derrno_ver.diff4 Subject: [PATCH] Remove Errno version check due to upgrade problems with
16 ext/Errno/Errno_pm.PL | 5 -----
19 diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
21 --- a/ext/Errno/Errno_pm.PL
22 +++ b/ext/Errno/Errno_pm.PL
30 - die "Errno architecture ($archname-$osvers) does not match executable architecture (\$Config{'arc…
/openbmc/qemu/io/
H A Dchannel-file.c54 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/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c16 #include <errno.h>
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()
[all …]
/openbmc/qemu/util/
H A Devent_notifier-posix.c44 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 Duserfaultfd.c77 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()
229 " mode=%" PRIx64 " errno=%i", addr, length, in uffd_change_protection()
230 (uint64_t) uffd_writeprotect.mode, errno); in uffd_change_protection()
243 * Returns 0 on success, -errno in case of an error
262 int e = errno; in uffd_copy_page()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/management/commands/
H A Dchecksocket.py12 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/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c16 #include <errno.h>
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()
[all …]
/openbmc/u-boot/include/
H A Derrno.h9 #include <linux/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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/
H A DThreshold.events.yaml6 errno: ERANGE
28 errno: ERANGE
50 errno: ERANGE
72 errno: ERANGE
94 errno: ERANGE
116 errno: ERANGE
138 errno: ERANGE
160 errno: ERANGE
182 errno: ERANGE
204 errno
[all...]

12345678910>>...86