Lines Matching refs:rec
140 union xfs_btree_rec *rec) in xfs_refcountbt_init_key_from_rec() argument
142 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
148 union xfs_btree_rec *rec) in xfs_refcountbt_init_high_key_from_rec() argument
152 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
153 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
160 union xfs_btree_rec *rec) in xfs_refcountbt_init_rec_from_cur() argument
162 rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); in xfs_refcountbt_init_rec_from_cur()
163 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
164 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
184 struct xfs_refcount_irec *rec = &cur->bc_rec.rc; in xfs_refcountbt_key_diff() local
187 return (int64_t)be32_to_cpu(kp->rc_startblock) - rec->rc_startblock; in xfs_refcountbt_key_diff()