Lines Matching refs:user_journals
444 f = ordered_hashmap_get(s->user_journals, UID_TO_PTR(uid)); in find_journal()
454 while (ordered_hashmap_size(s->user_journals) >= USER_JOURNALS_MAX) { in find_journal()
455 assert_se(f = ordered_hashmap_steal_first(s->user_journals)); in find_journal()
463 r = ordered_hashmap_put(s->user_journals, UID_TO_PTR(uid), f); in find_journal()
585 if (ordered_hashmap_contains(s->user_journals, UID_TO_PTR(uid))) in vacuum_offline_user_journals()
653 ORDERED_HASHMAP_FOREACH_KEY(f, k, s->user_journals) { in server_rotate()
656 ordered_hashmap_replace(s->user_journals, k, f); in server_rotate()
659 ordered_hashmap_remove(s->user_journals, k); in server_rotate()
680 ORDERED_HASHMAP_FOREACH(f, s->user_journals) { in server_sync()
1277 ordered_hashmap_clear_with_destructor(s->user_journals, managed_journal_file_close); in server_relinquish_var()
2365 s->user_journals = ordered_hashmap_new(NULL); in server_init()
2366 if (!s->user_journals) in server_init()
2551 ORDERED_HASHMAP_FOREACH(f, s->user_journals) in server_maybe_append_tags()
2572 ordered_hashmap_free_with_destructor(s->user_journals, managed_journal_file_close); in server_done()