Lines Matching refs:last_seq

125 	u64			last_seq;  member
144 u64 last_seq = !JSET_NO_FLUSH(j) ? le64_to_cpu(j->last_seq) : 0; in journal_entry_add() local
154 le64_to_cpu(j->seq) < jlist->last_seq) in journal_entry_add()
166 if (last_seq > jlist->last_seq && !c->opts.read_entire_journal) { in journal_entry_add()
168 journal_entry_radix_idx(c, jlist->last_seq)) { in journal_entry_add()
174 if (le64_to_cpu(i->j.seq) >= last_seq) in journal_entry_add()
181 jlist->last_seq = max(jlist->last_seq, last_seq); in journal_entry_add()
908 le64_to_cpu(jset->last_seq) > le64_to_cpu(jset->seq), in jset_validate()
912 le64_to_cpu(jset->last_seq), in jset_validate()
914 jset->last_seq = jset->seq; in jset_validate()
1187 u64 *last_seq, in bch2_journal_read() argument
1201 jlist.last_seq = 0; in bch2_journal_read()
1225 *last_seq = 0; in bch2_journal_read()
1255 if (journal_entry_err_on(le64_to_cpu(i->j.last_seq) > le64_to_cpu(i->j.seq), in bch2_journal_read()
1259 le64_to_cpu(i->j.last_seq), in bch2_journal_read()
1261 i->j.last_seq = i->j.seq; in bch2_journal_read()
1263 *last_seq = le64_to_cpu(i->j.last_seq); in bch2_journal_read()
1273 if (!*last_seq) { in bch2_journal_read()
1280 *last_seq, *blacklist_seq - 1); in bch2_journal_read()
1294 if (seq < *last_seq) { in bch2_journal_read()
1308 seq = *last_seq; in bch2_journal_read()
1347 *last_seq, *blacklist_seq - 1, in bch2_journal_read()
1397 (le64_to_cpu(i->j.seq) == *last_seq || in bch2_journal_read()
1623 j->last_seq_ondisk = w->last_seq; in CLOSURE_CALLBACK()
1964 w->data->last_seq = 0; in bch2_journal_write_pick_flush()
1965 w->last_seq = 0; in bch2_journal_write_pick_flush()