Lines Matching defs:server
28 #include "journald-server.h"
33 Server server;
50 r = server_init(&server);
54 server_vacuum(&server, false, false);
55 server_flush_to_var(&server);
56 server_flush_dev_kmsg(&server);
59 server_driver_message(&server, SD_MESSAGE_JOURNAL_START,
66 r = sd_event_get_state(server.event);
74 if (server.max_retention_usec > 0 && server.oldest_file_usec > 0) {
77 if (server.oldest_file_usec + server.max_retention_usec < n) {
79 server_rotate(&server);
80 server_vacuum(&server, false, false);
85 t = server.oldest_file_usec + server.max_retention_usec - n;
89 if (server.system_journal) {
92 if (journal_file_next_evolve_usec(server.system_journal, &u)) {
101 r = sd_event_run(server.event, t);
107 server_maybe_append_tags(&server);
108 server_maybe_warn_forward_syslog_missed(&server);
112 server_driver_message(&server, SD_MESSAGE_JOURNAL_STOP,
117 server_done(&server);