Lines Matching refs:dst
95 bch2_key_sort_fix_overlapping(struct bch_fs *c, struct bset *dst, in bch2_key_sort_fix_overlapping() argument
98 struct bkey_packed *out = dst->start; in bch2_key_sort_fix_overlapping()
117 dst->u64s = cpu_to_le16((u64 *) out - dst->_data); in bch2_key_sort_fix_overlapping()
123 bch2_sort_repack(struct bset *dst, struct btree *src, in bch2_sort_repack() argument
129 struct bkey_packed *in, *out = vstruct_last(dst); in bch2_sort_repack()
153 dst->u64s = cpu_to_le16((u64 *) out - dst->_data); in bch2_sort_repack()
173 unsigned bch2_sort_keys_keep_unwritten_whiteouts(struct bkey_packed *dst, struct sort_iter *iter) in bch2_sort_keys_keep_unwritten_whiteouts() argument
175 struct bkey_packed *in, *next, *out = dst; in bch2_sort_keys_keep_unwritten_whiteouts()
191 return (u64 *) out - (u64 *) dst; in bch2_sort_keys_keep_unwritten_whiteouts()
199 unsigned bch2_sort_keys(struct bkey_packed *dst, struct sort_iter *iter) in bch2_sort_keys() argument
201 struct bkey_packed *in, *out = dst; in bch2_sort_keys()
213 return (u64 *) out - (u64 *) dst; in bch2_sort_keys()