Lines Matching refs:bset
98 static void set_needs_whiteout(struct bset *i, int v) in set_needs_whiteout()
216 (compacting && !bset_written(b, bset(b, t))); in should_compact_bset()
229 struct bset *i = bset(b, t); in bch2_drop_whiteouts()
301 struct bset *start_bset = bset(b, &b->set[start_idx]); in btree_node_sort()
313 u64s += le16_to_cpu(bset(b, t)->u64s); in btree_node_sort()
339 seq = max(seq, le64_to_cpu(bset(b, t)->journal_seq)); in btree_node_sort()
429 if (!bset_written(b, bset(b, &b->set[unwritten_idx]))) in btree_node_compact()
449 !bset_written(b, bset(b, t)) && in bch2_btree_build_aux_trees()
487 BUG_ON(bset_written(b, bset(b, &b->set[1]))); in bch2_btree_init_next()
516 struct btree *b, struct bset *i, struct bkey_packed *k, in btree_err_msg()
546 struct bset *i, in __btree_err()
637 struct bset *i = bset(b, t); in bch2_btree_node_drop_keys_outside_node()
681 struct btree *b, struct bset *i, in validate_bset()
845 struct bset *i, struct bkey_packed *k) in bkey_packed_valid()
862 struct bset *i, int write, in validate_bset_keys()
981 struct bset *i; in bch2_btree_node_read_done()
1931 struct bset *i, unsigned sectors) in validate_bset_for_write()
1969 struct bset *i; in __bch2_btree_node_write()
2055 i = bset(b, t); in __bch2_btree_node_write()
2255 set_needs_whiteout(bset(b, t), true); in bch2_btree_post_write_cleanup()