Searched refs:r_v (Results 1 – 3 of 3) sorted by relevance
55 u64 l_v, r_v; in __bkey_cmp_bits() local63 r_v = *r & (~0ULL >> high_bit_offset); in __bkey_cmp_bits()68 r_v >>= 64 - nr_key_bits; in __bkey_cmp_bits()74 if (!nr_key_bits || l_v != r_v) in __bkey_cmp_bits()81 r_v = *r; in __bkey_cmp_bits()84 return cmp_int(l_v, r_v); in __bkey_cmp_bits()
346 struct bkey_i *r_v; in bch2_make_extent_indirect() local361 r_v = bch2_trans_kmalloc(trans, sizeof(__le64) + bkey_bytes(&orig->k)); in bch2_make_extent_indirect()362 ret = PTR_ERR_OR_ZERO(r_v); in bch2_make_extent_indirect()366 bkey_init(&r_v->k); in bch2_make_extent_indirect()367 r_v->k.type = bkey_type_to_indirect(&orig->k); in bch2_make_extent_indirect()368 r_v->k.p = reflink_iter.pos; in bch2_make_extent_indirect()369 bch2_key_resize(&r_v->k, orig->k.size); in bch2_make_extent_indirect()370 r_v->k.bversion = orig->k.bversion; in bch2_make_extent_indirect()372 set_bkey_val_bytes(&r_v->k, sizeof(__le64) + bkey_val_bytes(&orig->k)); in bch2_make_extent_indirect()374 refcount = bkey_refcount(bkey_i_to_s(r_v)); in bch2_make_extent_indirect()[all …]
710 u64 l_v, r_v; in bch2_bkey_greatest_differing_bit() local716 r_v = *r & (~0ULL >> high_bit_offset); in bch2_bkey_greatest_differing_bit()721 r_v >>= word_bits - nr_key_bits; in bch2_bkey_greatest_differing_bit()727 if (l_v != r_v) in bch2_bkey_greatest_differing_bit()728 return fls64(l_v ^ r_v) - 1 + nr_key_bits; in bch2_bkey_greatest_differing_bit()734 r_v = *r; in bch2_bkey_greatest_differing_bit()