Searched refs:USEC_INFINITY (Results 1 - 25 of 51) sorted by relevance
123
/systemd/src/test/ |
H A D | test-time.c | 45 assert_se(u == USEC_INFINITY); 47 assert_se(u == USEC_INFINITY); 160 test_format_timespan_one(USEC_INFINITY, accuracy); 184 assert_se(usec_add(USEC_INFINITY, 5) == USEC_INFINITY); 185 assert_se(usec_add(5, USEC_INFINITY) == USEC_INFINITY); 186 assert_se(usec_add(USEC_INFINITY-5, 2) == USEC_INFINITY-3); 187 assert_se(usec_add(USEC_INFINITY [all...] |
H A D | test-conf-files.c | 42 assert_se(touch_file(path, true, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID) == 0);
|
/systemd/src/basic/ |
H A D | time-util.h | 42 #define USEC_INFINITY ((usec_t) -1) macro 83 return ((ts->realtime > 0 && ts->realtime != USEC_INFINITY) || 84 (ts->monotonic > 0 && ts->monotonic != USEC_INFINITY)); 130 /* Adds two time values, and makes sure USEC_INFINITY as input results as USEC_INFINITY in output, and doesn't 135 return USEC_INFINITY; 144 if (timestamp == USEC_INFINITY) /* Make sure infinity doesn't degrade */ 145 return USEC_INFINITY;
|
H A D | io-util.c | 93 (void) fd_wait_for_event(fd, POLLIN, USEC_INFINITY); 147 (void) fd_wait_for_event(fd, POLLOUT, USEC_INFINITY); 194 r = ppoll(&pollfd, 1, t == USEC_INFINITY ? NULL : timespec_store(&ts, t), NULL);
|
H A D | time-util.c | 74 if (u == USEC_INFINITY || u <= 0) { 91 if (u == USEC_INFINITY) { 92 ts->realtime = ts->monotonic = USEC_INFINITY; 106 if (u == USEC_INFINITY) { 107 ts->realtime = ts->monotonic = USEC_INFINITY; 124 return USEC_INFINITY; 127 return USEC_INFINITY; 149 if (u == USEC_INFINITY) { 166 return USEC_INFINITY; 169 return USEC_INFINITY; [all...] |
H A D | rlimit-util.c | 119 if (t == USEC_INFINITY) { 147 if (t == USEC_INFINITY) {
|
H A D | terminal-util.c | 102 if (t != USEC_INFINITY) { 124 if (t != USEC_INFINITY) { 169 r = read_one_char(stdin, &c, USEC_INFINITY, &need_nl); 385 if (timeout != USEC_INFINITY) 389 notify = inotify_init1(IN_CLOEXEC | (timeout != USEC_INFINITY ? IN_NONBLOCK : 0)); 452 if (timeout != USEC_INFINITY) { 624 fd = acquire_terminal("/dev/console", false, true, true, USEC_INFINITY);
|
H A D | fs-util.c | 359 if (stamp != USEC_INFINITY) { 374 return touch_file(path, false, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID);
|
/systemd/src/shared/ |
H A D | watchdog.c | 33 static usec_t watchdog_timeout = USEC_INFINITY; 41 if (watchdog_timeout == USEC_INFINITY) 105 if (watchdog_fd < 0 && watchdog_timeout == USEC_INFINITY)
|
H A D | spawn-polkit-agent.c | 69 fd_wait_for_event(pipe_fd[0], POLLHUP, USEC_INFINITY);
|
/systemd/src/nspawn/ |
H A D | nspawn-stub-pid1.c | 40 usec_t quit_usec = USEC_INFINITY; 122 if (quit_usec == USEC_INFINITY)
|
/systemd/src/journal/ |
H A D | journald.c | 64 usec_t t = USEC_INFINITY, n;
|
H A D | journal-vacuum.c | 92 if (x > 0 && x != USEC_INFINITY && x < *realtime) 96 if (x > 0 && x != USEC_INFINITY && x < *realtime) 100 if (x > 0 && x != USEC_INFINITY && x < *realtime)
|
/systemd/src/resolve/ |
H A D | resolved-etc-hosts.c | 64 m->etc_hosts_mtime = USEC_INFINITY; 263 if (m->etc_hosts_last != USEC_INFINITY && m->etc_hosts_last + ETC_HOSTS_RECHECK_USEC > ts) 268 if (m->etc_hosts_mtime != USEC_INFINITY) {
|
/systemd/src/core/ |
H A D | job.c | 933 if (j->unit->job_timeout == USEC_INFINITY) 1118 if (j->begin_usec == 0 || j->unit->job_timeout == USEC_INFINITY) 1167 usec_t x = USEC_INFINITY, y = USEC_INFINITY; 1185 if (x == USEC_INFINITY && y == USEC_INFINITY)
|
H A D | scope.c | 80 if (usec == USEC_INFINITY) 357 if (t == USEC_INFINITY)
|
H A D | timer.c | 54 t->next_elapse_monotonic_or_boottime = USEC_INFINITY; 55 t->next_elapse_realtime = USEC_INFINITY; 341 if (*v == USEC_INFINITY) 347 *v = (usec_t) -2; /* Highest possible value, that is not USEC_INFINITY */ 628 touch_file(t->stamp_path, true, USEC_INFINITY, UID_INVALID, GID_INVALID, MODE_INVALID);
|
H A D | cgroup.c | 46 c->cpu_quota_per_sec_usec = USEC_INFINITY; 336 if (c->cpu_quota_per_sec_usec != USEC_INFINITY) { 506 c->cpu_quota_per_sec_usec != USEC_INFINITY)
|
H A D | busname.c | 126 if (usec == USEC_INFINITY) 986 if (t == USEC_INFINITY)
|
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 438 e->realtime.next = e->boottime.next = e->monotonic.next = e->realtime_alarm.next = e->boottime_alarm.next = USEC_INFINITY; 441 e->perturb = USEC_INFINITY; 1012 if (_likely_(e->perturb != USEC_INFINITY)) 1889 if (a >= USEC_INFINITY) 1890 return USEC_INFINITY; 1980 if (!a || a->enabled == SD_EVENT_OFF || a->time.next == USEC_INFINITY) { 1985 if (d->next == USEC_INFINITY) 1993 d->next = USEC_INFINITY; 2061 *next = USEC_INFINITY;
|
/systemd/src/libsystemd/sd-bus/ |
H A D | test-bus-benchmark.c | 53 assert_se(sd_bus_wait(b, USEC_INFINITY) >= 0);
|
/systemd/src/rfkill/ |
H A D | rfkill.c | 141 r = fd_wait_for_event(watch_fd, POLLIN, USEC_INFINITY);
|
/systemd/src/libsystemd/sd-daemon/ |
H A D | sd-daemon.c | 592 if (u <= 0 || u >= USEC_INFINITY) {
|
/systemd/src/tty-ask-password-agent/ |
H A D | tty-ask-password-agent.c | 358 tty_fd = acquire_terminal("/dev/console", false, false, false, USEC_INFINITY);
|
/systemd/src/network/ |
H A D | networkd-route.c | 42 route->lifetime = USEC_INFINITY; 525 if (route->lifetime != USEC_INFINITY) {
|
Completed in 130 milliseconds
123