Lines Matching refs:system_storage
181 return s->system_journal ? &s->system_storage : &s->runtime_storage; in server_current_storage()
343 (void) mkdir_parents(s->system_storage.path, 0755); in system_journal_open()
345 (void) mkdir(s->system_storage.path, 0755); in system_journal_open()
347 fn = strjoina(s->system_storage.path, "/system.journal"); in system_journal_open()
348 …r = open_journal(s, true, fn, O_RDWR|O_CREAT, s->seal, &s->system_storage.metrics, &s->system_jour… in system_journal_open()
351 (void) cache_space_refresh(s, &s->system_storage); in system_journal_open()
352 patch_min_use(&s->system_storage); in system_journal_open()
448 if (asprintf(&p, "%s/user-" UID_FMT ".journal", s->system_storage.path, uid) < 0) { in find_journal()
459 r = open_journal(s, true, p, O_RDWR|O_CREAT, s->seal, &s->system_storage.metrics, &f); in find_journal()
542 d = opendir(s->system_storage.path); in vacuum_offline_user_journals()
547 return log_error_errno(errno, "Failed to open %s: %m", s->system_storage.path); in vacuum_offline_user_journals()
562 … log_warning_errno(errno, "Failed to enumerate %s, ignoring: %m", s->system_storage.path); in vacuum_offline_user_journals()
588 full = path_join(s->system_storage.path, de->d_name); in vacuum_offline_user_journals()
611 &s->system_storage.metrics, in vacuum_offline_user_journals()
724 do_vacuum(s, &s->system_storage, verbose); in server_vacuum()
1177 log_debug("Flushing to %s...", s->system_storage.path); in server_flush_to_var()
1245 s->system_storage.path, in server_flush_to_var()
1272 log_debug("Relinquishing %s...", s->system_storage.path); in server_relinquish_var()
1454 patch_min_use(&s->system_storage); in server_full_rotate()
2108 log_info("Received client request to relinquish %s access.", s->system_storage.path); in vl_method_relinquish_var()
2319 .system_storage.name = "System Journal", in server_init()
2335 journal_reset_metrics(&s->system_storage.metrics); in server_init()
2521 s->system_storage.path = strdup(e); in server_init()
2523 … s->system_storage.path = strjoin("/var/log/journal/", SERVER_MACHINE_ID(s), ".", s->namespace); in server_init()
2525 s->system_storage.path = strjoin("/var/log/journal/", SERVER_MACHINE_ID(s)); in server_init()
2526 if (!s->system_storage.path) in server_init()
2612 free(s->system_storage.path); in server_done()