• Home
  • Raw
  • Download

Lines Matching refs:irec

94 	struct xfs_rmap_irec	*irec)  in xfs_rmap_update()  argument
100 irec->rm_startblock, irec->rm_blockcount, in xfs_rmap_update()
101 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update()
103 rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); in xfs_rmap_update()
104 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update()
105 rec.rmap.rm_owner = cpu_to_be64(irec->rm_owner); in xfs_rmap_update()
107 xfs_rmap_irec_offset_pack(irec)); in xfs_rmap_update()
186 struct xfs_rmap_irec *irec) in xfs_rmap_btrec_to_irec() argument
188 irec->rm_flags = 0; in xfs_rmap_btrec_to_irec()
189 irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock); in xfs_rmap_btrec_to_irec()
190 irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); in xfs_rmap_btrec_to_irec()
191 irec->rm_owner = be64_to_cpu(rec->rmap.rm_owner); in xfs_rmap_btrec_to_irec()
193 irec); in xfs_rmap_btrec_to_irec()
202 struct xfs_rmap_irec *irec, in xfs_rmap_get_rec() argument
212 return xfs_rmap_btrec_to_irec(rec, irec); in xfs_rmap_get_rec()
217 struct xfs_rmap_irec *irec; member
242 *info->irec = *rec; in xfs_rmap_find_left_neighbor_helper()
259 struct xfs_rmap_irec *irec, in xfs_rmap_find_left_neighbor() argument
279 info.irec = irec; in xfs_rmap_find_left_neighbor()
291 cur->bc_private.a.agno, irec->rm_startblock, in xfs_rmap_find_left_neighbor()
292 irec->rm_blockcount, irec->rm_owner, in xfs_rmap_find_left_neighbor()
293 irec->rm_offset, irec->rm_flags); in xfs_rmap_find_left_neighbor()
319 *info->irec = *rec; in xfs_rmap_lookup_le_range_helper()
337 struct xfs_rmap_irec *irec, in xfs_rmap_lookup_le_range() argument
352 info.irec = irec; in xfs_rmap_lookup_le_range()
363 cur->bc_private.a.agno, irec->rm_startblock, in xfs_rmap_lookup_le_range()
364 irec->rm_blockcount, irec->rm_owner, in xfs_rmap_lookup_le_range()
365 irec->rm_offset, irec->rm_flags); in xfs_rmap_lookup_le_range()
612 struct xfs_rmap_irec *irec, in xfs_rmap_is_mergeable() argument
616 if (irec->rm_owner == XFS_RMAP_OWN_NULL) in xfs_rmap_is_mergeable()
618 if (irec->rm_owner != owner) in xfs_rmap_is_mergeable()
621 (irec->rm_flags & XFS_RMAP_UNWRITTEN)) in xfs_rmap_is_mergeable()
624 (irec->rm_flags & XFS_RMAP_ATTR_FORK)) in xfs_rmap_is_mergeable()
627 (irec->rm_flags & XFS_RMAP_BMBT_BLOCK)) in xfs_rmap_is_mergeable()
1993 struct xfs_rmap_irec irec; in xfs_rmap_query_range_helper() local
1996 error = xfs_rmap_btrec_to_irec(rec, &irec); in xfs_rmap_query_range_helper()
1999 return query->fn(cur, &irec, query->priv); in xfs_rmap_query_range_helper()