Lines Matching refs:bkey_packed
273 void bch2_bset_insert(struct btree *, struct bkey_packed *, struct bkey_i *,
275 void bch2_bset_delete(struct btree *, struct bkey_packed *, unsigned);
281 const struct bkey_packed *l, in bkey_cmp_p_or_unp()
282 const struct bkey_packed *r_packed, in bkey_cmp_p_or_unp()
285 EBUG_ON(r_packed && !bkey_packed(r_packed)); in bkey_cmp_p_or_unp()
287 if (unlikely(!bkey_packed(l))) in bkey_cmp_p_or_unp()
297 bch2_bkey_to_bset_inlined(struct btree *b, struct bkey_packed *k) in bch2_bkey_to_bset_inlined()
310 struct bset_tree *bch2_bkey_to_bset(struct btree *, struct bkey_packed *);
312 struct bkey_packed *bch2_bkey_prev_filter(struct btree *, struct bset_tree *,
313 struct bkey_packed *, unsigned);
315 static inline struct bkey_packed *
316 bch2_bkey_prev_all(struct btree *b, struct bset_tree *t, struct bkey_packed *k) in bch2_bkey_prev_all()
321 static inline struct bkey_packed *
322 bch2_bkey_prev(struct btree *b, struct bset_tree *t, struct bkey_packed *k) in bch2_bkey_prev()
330 const struct bkey_packed *,
331 const struct bkey_packed *);
336 struct bkey_packed *bch2_btree_node_iter_bset_pos(struct btree_node_iter *,
369 const struct bkey_packed *l, in bkey_iter_cmp()
370 const struct bkey_packed *r) in bkey_iter_cmp()
388 const struct bkey_packed *l, in bkey_iter_pos_cmp()
396 const struct bkey_packed *l, in bkey_iter_cmp_p_or_unp()
397 const struct bkey_packed *r_packed, in bkey_iter_cmp_p_or_unp()
404 static inline struct bkey_packed *
411 static inline struct bkey_packed *
419 static inline struct bkey_packed *
422 struct bkey_packed *k; in bch2_btree_node_iter_peek()
431 static inline struct bkey_packed *
434 struct bkey_packed *ret = bch2_btree_node_iter_peek_all(iter, b); in bch2_btree_node_iter_next_all()
442 struct bkey_packed *bch2_btree_node_iter_prev_all(struct btree_node_iter *,
444 struct bkey_packed *bch2_btree_node_iter_prev(struct btree_node_iter *,
467 struct bkey_packed *k, in btree_keys_account_key()
473 if (bkey_packed(k)) in btree_keys_account_key()
480 struct bkey_packed *k, in btree_keys_account_val_delta()
512 struct bkey_packed *);
524 void bch2_verify_insert_pos(struct btree *, struct bkey_packed *,
525 struct bkey_packed *, unsigned);
533 struct bkey_packed *where, in bch2_verify_insert_pos()
534 struct bkey_packed *insert, in bch2_verify_insert_pos()