Home
last modified time | relevance | path

Searched refs:offline_state (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/journal/
Dmanaged-journal-file.c169 switch (f->file->offline_state) { in managed_journal_file_set_offline_internal()
171 … if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_CANCEL, OFFLINE_DONE)) in managed_journal_file_set_offline_internal()
176 …if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_AGAIN_FROM_SYNCING, OFFLINE_SYN… in managed_journal_file_set_offline_internal()
181 …if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_AGAIN_FROM_OFFLINING, OFFLINE_S… in managed_journal_file_set_offline_internal()
193 … if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_SYNCING, OFFLINE_OFFLINING)) in managed_journal_file_set_offline_internal()
226 … if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_OFFLINING, OFFLINE_DONE)) in managed_journal_file_set_offline_internal()
252 switch (f->file->offline_state) { in managed_journal_file_set_offline_try_restart()
258 …if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_CANCEL, OFFLINE_AGAIN_FROM_SYNC… in managed_journal_file_set_offline_try_restart()
263 …if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_SYNCING, OFFLINE_AGAIN_FROM_SYN… in managed_journal_file_set_offline_try_restart()
268 …if (!__sync_bool_compare_and_swap(&f->file->offline_state, OFFLINE_OFFLINING, OFFLINE_AGAIN_FROM_O… in managed_journal_file_set_offline_try_restart()
[all …]
/systemd-251/src/libsystemd/sd-journal/
Djournal-file.h98 volatile OfflineState offline_state; member
Djournal-file.c174 if (f->offline_state == OFFLINE_JOINED) in journal_file_set_offline_thread_join()
181 f->offline_state = OFFLINE_JOINED; in journal_file_set_offline_thread_join()
201 switch (f->offline_state) { in journal_file_set_online()
208 … if (!__sync_bool_compare_and_swap(&f->offline_state, OFFLINE_SYNCING, OFFLINE_CANCEL)) in journal_file_set_online()
215 … if (!__sync_bool_compare_and_swap(&f->offline_state, OFFLINE_AGAIN_FROM_SYNCING, OFFLINE_CANCEL)) in journal_file_set_online()
222 …if (!__sync_bool_compare_and_swap(&f->offline_state, OFFLINE_AGAIN_FROM_OFFLINING, OFFLINE_CANCEL)) in journal_file_set_online()