Lines Matching refs:fn

316         const char *fn;  in flushed_flag_is_set()  local
325 fn = strjoina(s->runtime_directory, "/flushed"); in flushed_flag_is_set()
326 return access(fn, F_OK) >= 0; in flushed_flag_is_set()
330 const char *fn; in system_journal_open() local
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()
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()
396 …r = open_journal(s, true, fn, O_RDWR|O_CREAT, false, &s->runtime_storage.metrics, &s->runtime_jour… in system_journal_open()
1153 const char *fn; in server_flush_to_var() local
1250 fn = strjoina(s->runtime_directory, "/flushed"); in server_flush_to_var()
1251 k = touch(fn); in server_flush_to_var()
1253 log_warning_errno(k, "Failed to touch %s, ignoring: %m", fn); in server_flush_to_var()
1260 const char *fn; in server_relinquish_var() local
1280 fn = strjoina(s->runtime_directory, "/flushed"); in server_relinquish_var()
1281 if (unlink(fn) < 0 && errno != ENOENT) in server_relinquish_var()
1282 log_warning_errno(errno, "Failed to unlink %s, ignoring: %m", fn); in server_relinquish_var()
1445 const char *fn; in server_full_rotate() local
1459 fn = strjoina(s->runtime_directory, "/rotated"); in server_full_rotate()
1460 r = write_timestamp_file_atomic(fn, now(CLOCK_MONOTONIC)); in server_full_rotate()
1462 log_warning_errno(r, "Failed to write %s, ignoring: %m", fn); in server_full_rotate()
1558 const char *fn; in server_full_sync() local
1566 fn = strjoina(s->runtime_directory, "/synced"); in server_full_sync()
1567 r = write_timestamp_file_atomic(fn, now(CLOCK_MONOTONIC)); in server_full_sync()
1569 log_warning_errno(r, "Failed to write %s, ignoring: %m", fn); in server_full_sync()