Searched refs:cur_entry_offset (Results 1 – 4 of 4) sorted by relevance
303 } else if (unlikely(s.cur_entry_offset == JOURNAL_ENTRY_BLOCKED_VAL)) in bch2_journal_buf_put()357 if (new.cur_entry_offset + res->u64s > j->cur_entry_u64s) in journal_res_get_fast()365 new.cur_entry_offset += res->u64s; in journal_res_get_fast()381 res->offset = old.cur_entry_offset; in journal_res_get_fast()434 return j->reservations.cur_entry_offset == JOURNAL_ENTRY_ERROR_VAL in bch2_journal_error()
30 return state.cur_entry_offset < JOURNAL_ENTRY_CLOSED_VAL; in __journal_entry_is_open()253 new.cur_entry_offset = closed_val; in __journal_entry_close()255 if (old.cur_entry_offset == JOURNAL_ENTRY_ERROR_VAL || in __journal_entry_close()256 old.cur_entry_offset == new.cur_entry_offset) in __journal_entry_close()264 if (old.cur_entry_offset == JOURNAL_ENTRY_BLOCKED_VAL) in __journal_entry_close()265 old.cur_entry_offset = j->cur_entry_offset_if_blocked; in __journal_entry_close()268 buf->data->u64s = cpu_to_le32(old.cur_entry_offset); in __journal_entry_close()506 new.cur_entry_offset = le32_to_cpu(buf->data->u64s); in journal_entry_open()778 state.cur_entry_offset > j->cur_entry_u64s) { in bch2_journal_entry_res_resize()1035 new.cur_entry_offset = JOURNAL_ENTRY_BLOCKED_VAL; in __bch2_journal_block()[all …]
104 u64 cur_entry_offset:22, member
1725 j->reservations.cur_entry_offset < JOURNAL_ENTRY_CLOSED_VAL) { in CLOSURE_CALLBACK()