Lines Matching refs:runtime_storage
181 return s->system_journal ? &s->system_storage : &s->runtime_storage; in server_current_storage()
373 fn = strjoina(s->runtime_storage.path, "/system.journal"); in system_journal_open()
381 … r = open_journal(s, false, fn, O_RDWR, false, &s->runtime_storage.metrics, &s->runtime_journal); in system_journal_open()
393 (void) mkdir_parents(s->runtime_storage.path, 0755); in system_journal_open()
394 (void) mkdir(s->runtime_storage.path, 0750); in system_journal_open()
396 …r = open_journal(s, true, fn, O_RDWR|O_CREAT, false, &s->runtime_storage.metrics, &s->runtime_jour… in system_journal_open()
403 (void) cache_space_refresh(s, &s->runtime_storage); in system_journal_open()
404 patch_min_use(&s->runtime_storage); in system_journal_open()
726 do_vacuum(s, &s->runtime_storage, verbose); in server_vacuum()
1239 (void) rm_rf(s->runtime_storage.path, REMOVE_ROOT); in server_flush_to_var()
1456 patch_min_use(&s->runtime_storage); in server_full_rotate()
2318 .runtime_storage.name = "Runtime Journal", in server_init()
2336 journal_reset_metrics(&s->runtime_storage.metrics); in server_init()
2513 … s->runtime_storage.path = strjoin("/run/log/journal/", SERVER_MACHINE_ID(s), ".", s->namespace); in server_init()
2515 s->runtime_storage.path = strjoin("/run/log/journal/", SERVER_MACHINE_ID(s)); in server_init()
2516 if (!s->runtime_storage.path) in server_init()
2611 free(s->runtime_storage.path); in server_done()