Searched defs:ss (Results 1 - 15 of 15) sorted by relevance

/systemd/src/basic/
H A Dsignal-util.h33 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 Dsignal-util.c55 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 Dutil.c352 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 Dtest-signal-util.c23 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 Dresolved-dns-stream.c213 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 Dresolved-dns-rr.c968 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 Dmachine-pool.c77 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 Defivars.c300 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 Dbacklight.c274 _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 Dpefile.c29 UINT16 ss; member in struct:DosFileHeader
/systemd/src/journal/
H A Djournald-server.c101 struct statvfs ss; local
127 if (fstatvfs(dirfd(d), &ss) < 0)
158 ss_avail = ss.f_bsize * ss.f_bavail;
H A Djournal-file.c3113 struct statvfs ss; local
3119 if (fstatvfs(fd, &ss) >= 0)
3120 fs_size = ss.f_frsize * ss.f_blocks;
/systemd/src/core/
H A Dexecute.c936 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 Dsd-event.c1144 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 Dsystemctl.c739 "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...]

Completed in 106 milliseconds