/systemd/src/basic/ |
H A D | signal-util.h | 33 int sigset_add_many(sigset_t *ss, ...); 43 static inline void block_signals_reset(sigset_t *ss) { argument 44 assert_se(sigprocmask(SIG_SETMASK, ss, NULL) >= 0);
|
H A D | signal-util.c | 55 sigset_t ss; local 57 if (sigemptyset(&ss) < 0) 60 if (sigprocmask(SIG_SETMASK, &ss, NULL) < 0) 138 static int sigset_add_many_ap(sigset_t *ss, va_list ap) { argument 141 assert(ss); 148 if (sigaddset(ss, sig) < 0) { 157 int sigset_add_many(sigset_t *ss, ...) { argument 161 va_start(ap, ss); 162 r = sigset_add_many_ap(ss, ap); 170 sigset_t ss; local [all...] |
H A D | util.c | 352 sigset_t ss, saved_ss; local 368 assert_se(sigfillset(&ss) >= 0); 369 assert_se(sigprocmask(SIG_SETMASK, &ss, &saved_ss) >= 0);
|
/systemd/src/test/ |
H A D | test-signal-util.c | 23 sigset_t ss; local 25 assert_se(sigprocmask(0, NULL, &ss) >= 0); 27 assert_se(sigismember(&ss, SIGUSR1) == 0); 28 assert_se(sigismember(&ss, SIGALRM) == 0); 29 assert_se(sigismember(&ss, SIGVTALRM) == 0); 34 assert_se(sigprocmask(0, NULL, &ss) >= 0); 35 assert_se(sigismember(&ss, SIGUSR1) == 1); 36 assert_se(sigismember(&ss, SIGALRM) == 0); 37 assert_se(sigismember(&ss, SIGVTALRM) == 1); 41 assert_se(sigprocmask(0, NULL, &ss) > [all...] |
/systemd/src/resolve/ |
H A D | resolved-dns-stream.c | 213 ssize_t ss; local 222 ss = writev(fd, iov, 2); 223 if (ss < 0) { 227 s->n_written += ss; 242 ssize_t ss; local 244 ss = read(fd, (uint8_t*) &s->read_size + s->n_read, sizeof(s->read_size) - s->n_read); 245 if (ss < 0) { 248 } else if (ss == 0) 251 s->n_read += ss; 260 ssize_t ss; local [all...] |
H A D | resolved-dns-rr.c | 968 char *ss; local 994 r = asprintf(&ss, "%s\n" 1007 s = ss; 1105 char *ss; local 1127 r = asprintf(&ss, "%s\n" 1138 s = ss;
|
/systemd/src/shared/ |
H A D | machine-pool.c | 77 struct statvfs ss; local 108 if (fstatvfs(fd, &ss) < 0) { 113 if (ss.f_bsize * ss.f_bavail < VAR_LIB_MACHINES_FREE_MIN) {
|
H A D | efivars.c | 300 size_t ss = 0; local 304 r = efi_get_variable(vendor, name, NULL, &s, &ss); 308 x = utf16_to_utf8(s, ss);
|
/systemd/src/backlight/ |
H A D | backlight.c | 274 _cleanup_free_ char *saved = NULL, *ss = NULL, *escaped_ss = NULL, *escaped_sysname = NULL, *escaped_path_id = NULL; local 308 ss = strndup(argv[2], sysname - argv[2]); 309 if (!ss) { 316 if (!streq(ss, "backlight") && !streq(ss, "leds")) { 317 log_error("Not a backlight or LED device: '%s:%s'", ss, sysname); 322 device = udev_device_new_from_subsystem_sysname(udev, ss, sysname); 325 log_error_errno(errno, "Failed to get backlight or LED device '%s:%s': %m", ss, sysname); 340 escaped_ss = cescape(ss);
|
/systemd/src/boot/efi/ |
H A D | pefile.c | 29 UINT16 ss; member in struct:DosFileHeader
|
/systemd/src/journal/ |
H A D | journald-server.c | 101 struct statvfs ss; local 127 if (fstatvfs(dirfd(d), &ss) < 0) 158 ss_avail = ss.f_bsize * ss.f_bavail;
|
H A D | journal-file.c | 3113 struct statvfs ss; local 3119 if (fstatvfs(fd, &ss) >= 0) 3120 fs_size = ss.f_frsize * ss.f_blocks;
|
/systemd/src/core/ |
H A D | execute.c | 936 sigset_t ss; local 938 assert_se(sigemptyset(&ss) >= 0); 939 assert_se(sigaddset(&ss, SIGTERM) >= 0); 942 if (sigwait(&ss, &sig) < 0) {
|
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 1144 sigset_t ss; local 1156 r = pthread_sigmask(SIG_SETMASK, NULL, &ss); 1160 if (!sigismember(&ss, sig)) 2042 ssize_t ss; local 2049 ss = read(fd, &x, sizeof(x)); 2050 if (ss < 0) { 2057 if (_unlikely_(ss != sizeof(x)))
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 739 "a(ss)"); 743 r = sd_bus_message_enter_container(reply, SD_BUS_TYPE_ARRAY, "(ss)"); 747 while ((r = sd_bus_message_read(reply, "(ss)", &type, &path)) > 0) { 1424 r = sd_bus_message_enter_container(reply, SD_BUS_TYPE_ARRAY, "(ss)"); 1428 while ((r = sd_bus_message_read(reply, "(ss)", &path, &state)) > 0) { 2592 "ss", name, mode); 3413 const char *active_on, *active_off, *on, *off, *ss; local 3498 ss = streq_ptr(i->active_state, i->sub_state) ? NULL : i->sub_state; 3499 if (ss) 3501 active_on, strna(i->active_state), ss, active_of [all...] |