Lines Matching refs:refc
146 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
156 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
157 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
158 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
166 rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); in xfs_refcountbt_init_rec_from_cur()
167 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
168 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
189 struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
200 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()
201 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
280 return be32_to_cpu(k1->refc.rc_startblock) < in xfs_refcountbt_keys_inorder()
281 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
290 return be32_to_cpu(r1->refc.rc_startblock) + in xfs_refcountbt_recs_inorder()
291 be32_to_cpu(r1->refc.rc_blockcount) <= in xfs_refcountbt_recs_inorder()
292 be32_to_cpu(r2->refc.rc_startblock); in xfs_refcountbt_recs_inorder()
346 cur->bc_private.a.priv.refc.nr_ops = 0; in xfs_refcountbt_init_cursor()
347 cur->bc_private.a.priv.refc.shape_changes = 0; in xfs_refcountbt_init_cursor()