• Home
  • Raw
  • Download

Lines Matching refs:rec

194 	struct xfs_rmap_irec		*rec,  in xfs_getfsmap_is_shared()  argument
215 error = xfs_refcount_find_shared(cur, rec->rm_startblock, in xfs_getfsmap_is_shared()
216 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared()
234 struct xfs_rmap_irec *rec, in xfs_getfsmap_helper() argument
249 if (xfs_rmap_compare(rec, &info->low) < 0) { in xfs_getfsmap_helper()
250 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
266 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
300 trace_xfs_fsmap_mapping(mp, info->dev, info->agno, rec); in xfs_getfsmap_helper()
304 error = xfs_fsmap_owner_from_rmap(&fmr, rec); in xfs_getfsmap_helper()
307 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset); in xfs_getfsmap_helper()
308 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
309 if (rec->rm_flags & XFS_RMAP_UNWRITTEN) in xfs_getfsmap_helper()
311 if (rec->rm_flags & XFS_RMAP_ATTR_FORK) in xfs_getfsmap_helper()
313 if (rec->rm_flags & XFS_RMAP_BMBT_BLOCK) in xfs_getfsmap_helper()
316 error = xfs_getfsmap_is_shared(tp, info, rec, &shared); in xfs_getfsmap_helper()
328 rec_daddr += XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
338 struct xfs_rmap_irec *rec, in xfs_getfsmap_datadev_helper() argument
346 fsb = XFS_AGB_TO_FSB(mp, cur->bc_private.a.agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper()
349 return xfs_getfsmap_helper(cur->bc_tp, info, rec, rec_daddr); in xfs_getfsmap_datadev_helper()
356 struct xfs_alloc_rec_incore *rec, in xfs_getfsmap_datadev_bnobt_helper() argument
365 rec->ar_startblock); in xfs_getfsmap_datadev_bnobt_helper()
367 irec.rm_startblock = rec->ar_startblock; in xfs_getfsmap_datadev_bnobt_helper()
368 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper()
442 struct xfs_rtalloc_rec *rec, in xfs_getfsmap_rtdev_rtbitmap_helper() argument
450 irec.rm_startblock = rec->ar_startext * mp->m_sb.sb_rextsize; in xfs_getfsmap_rtdev_rtbitmap_helper()
452 irec.rm_blockcount = rec->ar_extcount * mp->m_sb.sb_rextsize; in xfs_getfsmap_rtdev_rtbitmap_helper()