Home
last modified time | relevance | path

Searched refs:have_timeout (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dvarlink.c1891 bool have_timeout; in prepare_callback() local
1907 have_timeout = r > 0; in prepare_callback()
1909 if (have_timeout) { in prepare_callback()
1915 … r = sd_event_source_set_enabled(v->time_event_source, have_timeout ? SD_EVENT_ON : SD_EVENT_OFF); in prepare_callback()
/systemd-251/src/core/
Dmanager.c248 bool have_timeout = job_get_timeout(j, &x) > 0; in manager_print_jobs_in_progress() local
258 …const char *limit = have_timeout ? FORMAT_TIMESPAN(x - j->begin_usec, 1*USEC_PER_SEC) : "no limit"; in manager_print_jobs_in_progress()