Searched refs:unwritten_idx (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | btree_io.c | 422 unsigned unwritten_idx; in btree_node_compact() local 425 for (unwritten_idx = 0; in btree_node_compact() 426 unwritten_idx < b->nsets; in btree_node_compact() 427 unwritten_idx++) in btree_node_compact() 428 if (!bset_written(b, bset(b, &b->set[unwritten_idx]))) in btree_node_compact() 431 if (b->nsets - unwritten_idx > 1) { in btree_node_compact() 432 btree_node_sort(c, b, unwritten_idx, b->nsets); in btree_node_compact() 436 if (unwritten_idx > 1) { in btree_node_compact() 437 btree_node_sort(c, b, 0, unwritten_idx); in btree_node_compact()
|
H A D | journal_types.h | 103 unwritten_idx:2, member
|
H A D | journal_io.c | 1677 BUG_ON(journal_state_count(new, new.unwritten_idx)); in CLOSURE_CALLBACK() 1678 BUG_ON(new.unwritten_idx != (seq & JOURNAL_BUF_MASK)); in CLOSURE_CALLBACK() 1680 new.unwritten_idx++; in CLOSURE_CALLBACK()
|
H A D | journal.c | 1392 j->reservations.idx = j->reservations.unwritten_idx = journal_cur_seq(j); in bch2_fs_journal_start() 1393 j->reservations.unwritten_idx++; in bch2_fs_journal_start()
|