Lines Matching refs:src_k
433 struct bkey_s_c src_k; in bch2_remap_range() local
502 src_k = get_next_src(&src_iter, src_end); in bch2_remap_range()
503 ret = bkey_err(src_k); in bch2_remap_range()
516 if (src_k.k->type != KEY_TYPE_reflink_p) { in bch2_remap_range()
519 bch2_bkey_buf_reassemble(&new_src, c, src_k); in bch2_remap_range()
520 src_k = bkey_i_to_s_c(new_src.k); in bch2_remap_range()
527 BUG_ON(src_k.k->type != KEY_TYPE_reflink_p); in bch2_remap_range()
530 if (src_k.k->type == KEY_TYPE_reflink_p) { in bch2_remap_range()
532 bkey_s_c_to_reflink_p(src_k); in bch2_remap_range()
538 bkey_start_offset(src_k.k)); in bch2_remap_range()
547 min(src_k.k->p.offset - src_want.offset, in bch2_remap_range()