Searched defs:errno (Results 1 - 21 of 21) sorted by relevance

/systemd/src/machine/
H A Dmachined.c20 #include <errno.h>
148 if (errno == ENOENT)
151 return log_error_errno(errno, "Failed to open /run/systemd/machines: %m");
154 FOREACH_DIRENT(de, d, return -errno) { argument
/systemd/src/basic/
H A Dhostname-util.c21 #include <errno.h>
182 return -errno;
188 return -errno;
203 return -errno;
206 FOREACH_LINE(l, f, return -errno) { argument
H A Dconf-files.c21 #include <errno.h>
52 if (errno == ENOENT)
54 return -errno;
57 FOREACH_DIRENT(de, dir, return -errno) { argument
H A Dcopy.c21 #include <errno.h>
87 if (errno != EINVAL && errno != ENOSYS)
88 return -errno;
103 if (errno != EINVAL && errno != ENOSYS)
104 return -errno;
121 return -errno;
153 return -errno;
156 return -errno;
305 FOREACH_DIRENT_ALL(de, d, return -errno) argument
[all...]
H A Dlocale-util.c21 #include <errno.h>
89 return errno == ENOENT ? 0 : -errno;
92 return -errno;
102 return -errno;
151 return errno == ENOENT ? 0 : -errno;
153 FOREACH_DIRENT(entry, dir, return -errno) { argument
H A Dprocess-util.c21 #include <errno.h>
114 if (errno == ENOENT)
116 return -errno;
243 if (errno == ENOENT)
245 return -errno;
255 return eof ? 1 : -errno;
324 if (errno == ENOENT)
326 return -errno;
329 FOREACH_LINE(line, f, return -errno) { argument
390 if (errno
[all...]
H A Dtime-util.c20 #include <errno.h>
748 errno = 0;
751 if (errno > 0)
752 return -errno;
760 errno = 0;
762 if (errno > 0)
763 return -errno;
880 errno = 0;
883 if (errno > 0)
884 return -errno;
964 FOREACH_LINE(l, f, return -errno) argument
[all...]
H A Dcgroup-util.c21 #include <errno.h>
73 return -errno;
88 errno = 0;
94 return errno > 0 ? -errno : -EIO;
119 return -errno;
131 FOREACH_DIRENT_ALL(de, d, return -errno) { argument
161 if (r < 0 && errno != ENOENT)
162 return -errno;
211 if (ret >= 0 && errno !
840 FOREACH_LINE(line, f, return -errno) argument
[all...]
/systemd/src/login/
H A Dlogind-acl.c20 #include <errno.h>
49 return -errno;
55 return -errno;
61 return -errno;
79 return -errno;
98 r = -errno;
117 r = -errno;
123 r = -errno;
129 r = -errno;
135 r = -errno;
257 FOREACH_DIRENT(dent, dir, return -errno) argument
[all...]
H A Dlogind.c20 #include <errno.h>
297 if (errno == ENOENT)
300 return log_error_errno(errno, "Failed to open /run/systemd/seats: %m");
303 FOREACH_DIRENT(de, d, return -errno) { argument
333 if (errno == ENOENT)
336 return log_error_errno(errno, "Failed to open /var/lib/systemd/linger/: %m");
339 FOREACH_DIRENT(de, d, return -errno) { argument
368 if (errno == ENOENT)
371 return log_error_errno(errno, "Failed to open /run/systemd/users: %m");
374 FOREACH_DIRENT(de, d, return -errno) { argument
414 FOREACH_DIRENT(de, d, return -errno) argument
460 FOREACH_DIRENT(de, d, return -errno) argument
[all...]
/systemd/src/import/
H A Dpull-common.c71 if (errno == ENOENT) {
76 return -errno;
79 FOREACH_DIRENT_ALL(de, d, return -errno) { argument
423 return log_error_errno(errno, "Failed to create pipe for gpg: %m");
427 return log_error_errno(errno, "Failed to create temporary file: %m");
436 r = log_error_errno(errno, "Failed to create tempory home for gpg: %m");
444 return log_error_errno(errno, "Failed to fork off gpg: %m");
473 log_error_errno(errno, "Failed to dup2() fd: %m");
482 log_error_errno(errno, "Failed to open /dev/null: %m");
487 log_error_errno(errno, "Faile
[all...]
/systemd/src/libsystemd/sd-path/
H A Dsd-path.c107 if (errno == ENOENT)
110 return -errno;
117 FOREACH_LINE(line, f, return -errno) { argument
/systemd/src/shared/
H A Dmachine-image.c21 #include <errno.h>
167 return -errno;
171 (faccessat(dfd, filename, W_OK, AT_EACCESS) < 0 && errno == EROFS);
185 return -errno;
297 if (errno == ENOENT)
300 return -errno;
339 if (errno == ENOENT)
342 return -errno;
345 FOREACH_DIRENT_ALL(de, d, return -errno) { argument
435 return -errno;
[all...]
H A Defivars.c21 #include <errno.h>
219 return -errno;
222 return -errno;
230 return -errno;
240 return -errno;
280 return -errno;
286 return -errno;
602 return -errno;
604 FOREACH_DIRENT(de, dir, return -errno) { argument
H A Dinstall.c21 #include <errno.h>
300 if (errno != EEXIST)
301 return -errno;
373 return -errno;
378 FOREACH_DIRENT(de, d, return -errno) { argument
388 if (errno == ENOENT)
392 r = -errno;
442 if (unlink(p) < 0 && errno != ENOENT) {
444 r = -errno;
481 return -errno;
524 FOREACH_DIRENT(de, d, return -errno) argument
2121 FOREACH_LINE(line, f, return -errno) argument
2333 FOREACH_DIRENT(de, d, return -errno) argument
2409 FOREACH_DIRENT(de, d, return -errno) argument
[all...]
/systemd/src/core/
H A Dautomount.c20 #include <errno.h>
318 return log_error_errno(errno, "Failed to open /dev/autofs: %m");
323 return -errno;
348 return -errno;
368 return -errno;
376 return -errno;
397 return -errno;
418 return -errno;
551 r = -errno;
558 r = -errno;
722 log_unit_warning_errno(UNIT(a), errno, "Failed to stat automount point: %m"); local
977 log_unit_warning_errno(UNIT(a), errno, "Failed to stat automount point: %m"); local
[all...]
H A Dsocket.c21 #include <errno.h>
696 return -errno;
700 return -errno;
847 log_unit_warning_errno(UNIT(s), errno, "SO_KEEPALIVE failed: %m"); local
853 log_unit_warning_errno(UNIT(s), errno, "TCP_KEEPIDLE failed: %m"); local
859 log_unit_warning_errno(UNIT(s), errno, "TCP_KEEPINTVL failed: %m"); local
865 log_unit_warning_errno(UNIT(s), errno, "TCP_KEEPCNT failed: %m"); local
871 log_unit_warning_errno(UNIT(s), errno, "TCP_DEFER_ACCEPT failed: %m"); local
879 log_unit_warning_errno(UNIT(s), errno, "SCTP_NODELAY failed: %m"); local
882 log_unit_warning_errno(UNIT(s), errno, "TCP_NODELA local
889 log_unit_warning_errno(UNIT(s), errno, "SO_BROADCAST failed: %m"); local
895 log_unit_warning_errno(UNIT(s), errno, "SO_PASSCRED failed: %m"); local
901 log_unit_warning_errno(UNIT(s), errno, "SO_PASSSEC failed: %m"); local
906 log_unit_warning_errno(UNIT(s), errno, "SO_PRIORITY failed: %m"); local
915 log_unit_warning_errno(UNIT(s), errno, "SO_RCVBUF failed: %m"); local
922 log_unit_warning_errno(UNIT(s), errno, "SO_SNDBUF failed: %m"); local
927 log_unit_warning_errno(UNIT(s), errno, "SO_MARK failed: %m"); local
931 log_unit_warning_errno(UNIT(s), errno, "IP_TOS failed: %m"); local
946 log_unit_warning_errno(UNIT(s), errno, "IP_TTL/IPV6_UNICAST_HOPS failed: %m"); local
951 log_unit_warning_errno(UNIT(s), errno, "TCP_CONGESTION failed: %m"); local
974 log_unit_warning_errno(UNIT(s), errno, "Setting pipe size failed, ignoring: %m"); local
[all...]
/systemd/src/gpt-auto-generator/
H A Dgpt-auto-generator.c85 return log_error_errno(errno, "Failed to create unit file %s: %m", p);
120 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
129 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
138 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
203 return log_error_errno(errno, "Failed to create unit file %s: %m", unit);
245 return log_error_errno(errno, "Failed to create symlink %s: %m", lnk);
298 errno = 0;
301 if (errno == 0)
303 return log_error_errno(errno, "Failed to allocate prober: %m");
309 errno
871 FOREACH_DIRENT_ALL(de, d, return -errno) argument
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dbus-creds.c817 if (errno == ENOENT)
819 else if (errno != EPERM && errno != EACCES)
820 return -errno;
824 FOREACH_LINE(line, f, return -errno) { argument
/systemd/src/libsystemd/sd-device/
H A Ddevice-enumerator.c487 return -errno;
489 FOREACH_DIRENT_ALL(dent, dir, return -errno) { argument
598 return -errno;
602 FOREACH_DIRENT_ALL(dent, dir, return -errno) { argument
632 if (errno == ENOENT)
636 return -errno;
642 FOREACH_DIRENT_ALL(dent, dir, return -errno) { argument
761 return -errno;
764 FOREACH_DIRENT_ALL(dent, dir, return -errno) { argument
/systemd/src/coredump/
H A Dcoredump.c20 #include <errno.h>
155 return log_error_errno(errno, "Failed to get ACL: %m");
160 log_error_errno(errno, "Failed to patch ACL: %m");
161 return -errno;
166 return log_warning_errno(errno, "Failed to patch ACL: %m");
173 return log_error_errno(errno, "Failed to apply ACL: %m");
207 r = -errno;
233 return log_error_errno(errno, "Failed to sync coredump %s: %m", filename);
236 return log_error_errno(errno, "Failed to rename coredump %s -> %s: %m", filename, target);
252 if (unlink(filename) < 0 && errno !
520 FOREACH_DIRENT(dent, proc_fd_dir, return -errno) argument
[all...]

Completed in 64 milliseconds