Lines Matching defs:rec
204 const struct xfs_rmap_irec *rec,
224 error = xfs_refcount_find_shared(cur, rec->rm_startblock,
225 rec->rm_blockcount, &fbno, &flen, false);
241 struct fsmap *rec;
245 rec = &info->fsmap_recs[info->head->fmh_entries++];
246 xfs_fsmap_from_internal(rec, xfm);
252 const struct xfs_rmap_irec *rec,
258 return xfs_rmap_compare(rec, &info->low) < 0;
271 const struct xfs_rmap_irec *rec,
284 len_daddr = XFS_FSB_TO_BB(mp, rec->rm_blockcount);
290 if (xfs_getfsmap_rec_before_start(info, rec, rec_daddr)) {
342 info->pag ? info->pag->pag_agno : NULLAGNUMBER, rec);
346 error = xfs_fsmap_owner_from_rmap(&fmr, rec);
349 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset);
351 if (rec->rm_flags & XFS_RMAP_UNWRITTEN)
353 if (rec->rm_flags & XFS_RMAP_ATTR_FORK)
355 if (rec->rm_flags & XFS_RMAP_BMBT_BLOCK)
358 error = xfs_getfsmap_is_shared(tp, info, rec, &shared);
377 const struct xfs_rmap_irec *rec,
385 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock);
388 return xfs_getfsmap_helper(cur->bc_tp, info, rec, rec_daddr, 0);
395 const struct xfs_alloc_rec_incore *rec,
404 rec->ar_startblock);
406 irec.rm_startblock = rec->ar_startblock;
407 irec.rm_blockcount = rec->ar_blockcount;
478 const struct xfs_rtalloc_rec *rec,
486 rtbno = xfs_rtx_to_rtb(mp, rec->ar_startext);
490 rtbno = xfs_rtx_to_rtb(mp, rec->ar_extcount);