Lines Matching refs:irec
73 const struct xfs_rmap_irec *irec) in xfs_rmap_irec_offset_pack() argument
77 x = XFS_RMAP_OFF(irec->rm_offset); in xfs_rmap_irec_offset_pack()
78 if (irec->rm_flags & XFS_RMAP_ATTR_FORK) in xfs_rmap_irec_offset_pack()
80 if (irec->rm_flags & XFS_RMAP_BMBT_BLOCK) in xfs_rmap_irec_offset_pack()
82 if (irec->rm_flags & XFS_RMAP_UNWRITTEN) in xfs_rmap_irec_offset_pack()
90 struct xfs_rmap_irec *irec) in xfs_rmap_irec_offset_unpack() argument
94 irec->rm_offset = XFS_RMAP_OFF(offset); in xfs_rmap_irec_offset_unpack()
96 irec->rm_flags |= XFS_RMAP_ATTR_FORK; in xfs_rmap_irec_offset_unpack()
98 irec->rm_flags |= XFS_RMAP_BMBT_BLOCK; in xfs_rmap_irec_offset_unpack()
100 irec->rm_flags |= XFS_RMAP_UNWRITTEN; in xfs_rmap_irec_offset_unpack()
154 int xfs_rmap_get_rec(struct xfs_btree_cur *cur, struct xfs_rmap_irec *irec,
209 struct xfs_rmap_irec *irec, int *stat);
212 struct xfs_rmap_irec *irec, int *stat);
217 struct xfs_rmap_irec *irec);