Lines Matching refs:rec
165 union xfs_btree_rec *rec) in xfs_rmapbt_init_key_from_rec() argument
167 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_key_from_rec()
168 key->rmap.rm_owner = rec->rmap.rm_owner; in xfs_rmapbt_init_key_from_rec()
169 key->rmap.rm_offset = rec->rmap.rm_offset; in xfs_rmapbt_init_key_from_rec()
182 union xfs_btree_rec *rec) in xfs_rmapbt_init_high_key_from_rec() argument
187 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec()
189 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_high_key_from_rec()
191 key->rmap.rm_owner = rec->rmap.rm_owner; in xfs_rmapbt_init_high_key_from_rec()
192 key->rmap.rm_offset = rec->rmap.rm_offset; in xfs_rmapbt_init_high_key_from_rec()
193 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rmapbt_init_high_key_from_rec()
194 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rmapbt_init_high_key_from_rec()
204 union xfs_btree_rec *rec) in xfs_rmapbt_init_rec_from_cur() argument
206 rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); in xfs_rmapbt_init_rec_from_cur()
207 rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); in xfs_rmapbt_init_rec_from_cur()
208 rec->rmap.rm_owner = cpu_to_be64(cur->bc_rec.r.rm_owner); in xfs_rmapbt_init_rec_from_cur()
209 rec->rmap.rm_offset = cpu_to_be64( in xfs_rmapbt_init_rec_from_cur()
230 struct xfs_rmap_irec *rec = &cur->bc_rec.r; in xfs_rmapbt_key_diff() local
235 d = (int64_t)be32_to_cpu(kp->rm_startblock) - rec->rm_startblock; in xfs_rmapbt_key_diff()
240 y = rec->rm_owner; in xfs_rmapbt_key_diff()
247 y = rec->rm_offset; in xfs_rmapbt_key_diff()