Searched refs:bkey_format_state (Results 1 – 3 of 3) sorted by relevance
560 struct bkey_format_state { struct565 void bch2_bkey_format_init(struct bkey_format_state *); argument567 static inline void __bkey_format_add(struct bkey_format_state *s, unsigned field, u64 v) in __bkey_format_add()576 static inline void bch2_bkey_format_add_key(struct bkey_format_state *s, const struct bkey *k) in bch2_bkey_format_add_key()583 void bch2_bkey_format_add_pos(struct bkey_format_state *, struct bpos);584 struct bkey_format bch2_bkey_format_done(struct bkey_format_state *);
546 void bch2_bkey_format_init(struct bkey_format_state *s) in bch2_bkey_format_init()560 void bch2_bkey_format_add_pos(struct bkey_format_state *s, struct bpos p) in bch2_bkey_format_add_pos()588 struct bkey_format bch2_bkey_format_done(struct bkey_format_state *s) in bch2_bkey_format_done()
161 static void __bch2_btree_calc_format(struct bkey_format_state *s, struct btree *b) in __bch2_btree_calc_format()176 struct bkey_format_state s; in bch2_btree_calc_format()1455 struct bkey_format_state format[2]; in __btree_split_node()1945 struct bkey_format_state new_s; in __bch2_foreground_maybe_merge()