Lines Matching refs:out
98 struct bkey_packed *out = dst->start; in bch2_key_sort_fix_overlapping() local
109 bkey_p_copy(out, k); in bch2_key_sort_fix_overlapping()
110 btree_keys_account_key_add(&nr, 0, out); in bch2_key_sort_fix_overlapping()
111 out = bkey_p_next(out); in bch2_key_sort_fix_overlapping()
117 dst->u64s = cpu_to_le16((u64 *) out - dst->_data); in bch2_key_sort_fix_overlapping()
129 struct bkey_packed *in, *out = vstruct_last(dst); in bch2_sort_repack() local
140 bkey_p_copy(out, in); in bch2_sort_repack()
141 else if (bch2_bkey_transform(out_f, out, bkey_packed(in) in bch2_sort_repack()
143 out->format = KEY_FORMAT_LOCAL_BTREE; in bch2_sort_repack()
145 bch2_bkey_unpack(src, (void *) out, in); in bch2_sort_repack()
147 out->needs_whiteout = false; in bch2_sort_repack()
149 btree_keys_account_key_add(&nr, 0, out); in bch2_sort_repack()
150 out = bkey_p_next(out); in bch2_sort_repack()
153 dst->u64s = cpu_to_le16((u64 *) out - dst->_data); in bch2_sort_repack()
175 struct bkey_packed *in, *next, *out = dst; in bch2_sort_keys_keep_unwritten_whiteouts() local
187 bkey_p_copy(out, in); in bch2_sort_keys_keep_unwritten_whiteouts()
188 out = bkey_p_next(out); in bch2_sort_keys_keep_unwritten_whiteouts()
191 return (u64 *) out - (u64 *) dst; in bch2_sort_keys_keep_unwritten_whiteouts()
201 struct bkey_packed *in, *out = dst; in bch2_sort_keys() local
209 bkey_p_copy(out, in); in bch2_sort_keys()
210 out = bkey_p_next(out); in bch2_sort_keys()
213 return (u64 *) out - (u64 *) dst; in bch2_sort_keys()