Lines Matching refs:refc

136 	key->refc.rc_startblock = rec->refc.rc_startblock;  in xfs_refcountbt_init_key_from_rec()
146 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
147 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
148 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
161 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_refcountbt_init_rec_from_cur()
162 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
163 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
183 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
199 ASSERT(!mask || mask->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
201 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()
202 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
293 return be32_to_cpu(k1->refc.rc_startblock) < in xfs_refcountbt_keys_inorder()
294 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
303 return be32_to_cpu(r1->refc.rc_startblock) + in xfs_refcountbt_recs_inorder()
304 be32_to_cpu(r1->refc.rc_blockcount) <= in xfs_refcountbt_recs_inorder()
305 be32_to_cpu(r2->refc.rc_startblock); in xfs_refcountbt_recs_inorder()
315 ASSERT(!mask || mask->refc.rc_startblock); in xfs_refcountbt_keys_contiguous()
317 return xbtree_key_contig(be32_to_cpu(key1->refc.rc_startblock), in xfs_refcountbt_keys_contiguous()
318 be32_to_cpu(key2->refc.rc_startblock)); in xfs_refcountbt_keys_contiguous()