Lines Matching refs:cur_entry_offset
31 return state.cur_entry_offset < JOURNAL_ENTRY_CLOSED_VAL; in __journal_entry_is_open()
254 new.cur_entry_offset = closed_val; in __journal_entry_close()
256 if (old.cur_entry_offset == JOURNAL_ENTRY_ERROR_VAL || in __journal_entry_close()
257 old.cur_entry_offset == new.cur_entry_offset) in __journal_entry_close()
265 if (old.cur_entry_offset == JOURNAL_ENTRY_BLOCKED_VAL) in __journal_entry_close()
266 old.cur_entry_offset = j->cur_entry_offset_if_blocked; in __journal_entry_close()
269 buf->data->u64s = cpu_to_le32(old.cur_entry_offset); in __journal_entry_close()
503 BUG_ON(old.cur_entry_offset == JOURNAL_ENTRY_ERROR_VAL); in journal_entry_open()
512 new.cur_entry_offset = le32_to_cpu(buf->data->u64s); in journal_entry_open()
784 if (state.cur_entry_offset < JOURNAL_ENTRY_CLOSED_VAL && in bch2_journal_entry_res_resize()
785 state.cur_entry_offset > j->cur_entry_u64s) { in bch2_journal_entry_res_resize()
1016 j->reservations.cur_entry_offset == JOURNAL_ENTRY_BLOCKED_VAL) { in bch2_journal_unblock()
1022 new.cur_entry_offset = j->cur_entry_offset_if_blocked; in bch2_journal_unblock()
1037 j->cur_entry_offset_if_blocked = old.cur_entry_offset; in __bch2_journal_block()
1043 new.cur_entry_offset = JOURNAL_ENTRY_BLOCKED_VAL; in __bch2_journal_block()
1046 if (old.cur_entry_offset < JOURNAL_ENTRY_BLOCKED_VAL) in __bch2_journal_block()
1047 journal_cur_buf(j)->data->u64s = cpu_to_le32(old.cur_entry_offset); in __bch2_journal_block()
1691 { .cur_entry_offset = JOURNAL_ENTRY_CLOSED_VAL }).v); in bch2_fs_journal_init_early()
1763 switch (s.cur_entry_offset) { in __bch2_journal_debug_to_text()
1774 prt_printf(out, "%u/%u\n", s.cur_entry_offset, j->cur_entry_u64s); in __bch2_journal_debug_to_text()