Lines Matching defs:bset
41 * better: see comments in bset.c at cacheline_to_bkey() for
571 static inline struct bset *bset(const struct btree *b,
580 __btree_node_ptr_to_offset(b, vstruct_last(bset(b, t)));
584 const struct bset *i)
590 static inline struct bset *btree_bset_first(struct btree *b)
592 return bset(b, b->set);
595 static inline struct bset *btree_bset_last(struct btree *b)
597 return bset(b, bset_tree_last(b));
614 return t->data_offset + offsetof(struct bset, _data) / sizeof(u64);
619 EBUG_ON(bset(_b, _t)->start != \
622 bset(_b, _t)->start; \
628 vstruct_last(bset(_b, _t))); \
636 sizeof(struct bset) / sizeof(u64);