Home
last modified time | relevance | path

Searched refs:serialize_usec (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-serialize.c65 TEST(serialize_usec) { in TEST() argument
72 assert_se(serialize_usec(f, "usec1", USEC_INFINITY) == 0); in TEST()
73 assert_se(serialize_usec(f, "usec2", 0) == 1); in TEST()
74 assert_se(serialize_usec(f, "usec3", USEC_INFINITY-1) == 1); in TEST()
/systemd-251/src/core/
Dmanager-serialize.c118 … (void) serialize_usec(f, "runtime-watchdog-overridden", m->watchdog_overridden[WATCHDOG_RUNTIME]); in manager_serialize()
119 … (void) serialize_usec(f, "reboot-watchdog-overridden", m->watchdog_overridden[WATCHDOG_REBOOT]); in manager_serialize()
120 … (void) serialize_usec(f, "kexec-watchdog-overridden", m->watchdog_overridden[WATCHDOG_KEXEC]); in manager_serialize()
121 …(void) serialize_usec(f, "pretimeout-watchdog-overridden", m->watchdog_overridden[WATCHDOG_PRETIME… in manager_serialize()
Dtimer.c683 (void) serialize_usec(f, "last-trigger-realtime", t->last_trigger.realtime); in timer_serialize()
686 (void) serialize_usec(f, "last-trigger-monotonic", t->last_trigger.monotonic); in timer_serialize()
Djob.c1157 (void) serialize_usec(f, "job-begin", j->begin_usec); in job_serialize()
1159 (void) serialize_usec(f, "job-begin-running", j->begin_running_usec); in job_serialize()
/systemd-251/src/shared/
Dserialize.h15 int serialize_usec(FILE *f, const char *key, usec_t usec);
Dserialize.c97 int serialize_usec(FILE *f, const char *key, usec_t usec) { in serialize_usec() function
/systemd-251/src/login/
Dlogind-dbus.c2130 serialize_usec(f, "USEC", m->scheduled_shutdown_timeout); in update_schedule_file()