/fs/xfs/libxfs/ |
D | xfs_types.c | 46 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno() 72 return XFS_FSB_TO_AGNO(mp, fsbno) == in xfs_verify_fsbext() 73 XFS_FSB_TO_AGNO(mp, fsbno + len - 1); in xfs_verify_fsbext()
|
D | xfs_refcount.c | 1201 ASSERT(pag->pag_agno == XFS_FSB_TO_AGNO(mp, *new_fsbno)); in xfs_refcount_continue_op() 1233 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, startblock)); in xfs_refcount_finish_one() 1236 trace_xfs_refcount_deferred(mp, XFS_FSB_TO_AGNO(mp, startblock), in xfs_refcount_finish_one() 1323 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1729 xfs_rmap_alloc_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_alloc_cow_extent() 1746 xfs_rmap_free_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_free_cow_extent()
|
D | xfs_bmap.c | 354 ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount); in xfs_bmap_check_leaf_extents() 674 args.agno >= XFS_FSB_TO_AGNO(mp, tp->t_firstblock)); in xfs_bmap_extents_to_btree() 3036 XFS_FSB_TO_AGNO(mp, x) == XFS_FSB_TO_AGNO(mp, y) && \ in xfs_bmap_adjacent() 3037 XFS_FSB_TO_AGNO(mp, x) < mp->m_sb.sb_agcount && \ in xfs_bmap_adjacent() 3044 fb_agno = nullfb ? NULLAGNUMBER : XFS_FSB_TO_AGNO(mp, in xfs_bmap_adjacent() 3109 XFS_FSB_TO_AGNO(mp, prevbno) != fb_agno) in xfs_bmap_adjacent() 3151 XFS_FSB_TO_AGNO(mp, gotbno) != fb_agno) in xfs_bmap_adjacent() 3252 startag = ag = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_bmap_btalloc_nullfb() 3286 ag = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_bmap_btalloc_filestreams() 3425 XFS_FSB_TO_AGNO(args->mp, ap->tp->t_firstblock) <= in xfs_bmap_process_allocated_extent() [all …]
|
D | xfs_ag.h | 181 agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); in xfs_ag_contains_log()
|
D | xfs_alloc.c | 2513 agno = XFS_FSB_TO_AGNO(mp, bno); in __xfs_free_extent_later() 2540 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_free_extent_later() 3181 ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); in xfs_alloc_vextent() 3186 if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent() 3202 args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_alloc_vextent() 3240 args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_alloc_vextent() 3248 args->agno = sagno = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_alloc_vextent() 3392 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, bno); in __xfs_free_extent()
|
D | xfs_format.h | 441 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno)) 673 #define XFS_FSB_TO_AGNO(mp,fsbno) \ macro
|
D | xfs_rmap.c | 2411 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, startblock)); in xfs_rmap_finish_one() 2516 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
|
/fs/xfs/scrub/ |
D | repair.c | 350 trace_xrep_init_btblock(mp, XFS_FSB_TO_AGNO(mp, fsb), in xrep_init_btblock() 353 ASSERT(XFS_FSB_TO_AGNO(mp, fsb) == sc->sa.pag->pag_agno); in xrep_init_btblock() 544 ASSERT(XFS_FSB_TO_AGNO(sc->mp, fsbno) == sc->sa.pag->pag_agno); in xrep_reap_block() 618 XFS_FSB_TO_AGNO(sc->mp, fsbno) == sc->sa.pag->pag_agno); in xrep_reap_extents() 620 XFS_FSB_TO_AGNO(sc->mp, fsbno), in xrep_reap_extents()
|
D | trace.h | 349 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 393 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 432 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 472 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 510 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
|
D | bmap.c | 243 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
|
/fs/xfs/ |
D | xfs_notify_failure.c | 116 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_dax_notify_ddev_failure() 118 xfs_agnumber_t end_agno = XFS_FSB_TO_AGNO(mp, end_fsbno); in xfs_dax_notify_ddev_failure()
|
D | xfs_extfree_item.c | 356 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, start_block); in xfs_trans_free_extent() 398 return XFS_FSB_TO_AGNO(mp, ra->xefi_startblock) - in xfs_extent_free_diff_items() 399 XFS_FSB_TO_AGNO(mp, rb->xefi_startblock); in xfs_extent_free_diff_items() 537 agno = XFS_FSB_TO_AGNO(mp, free->xefi_startblock); in xfs_agfl_free_finish_item()
|
D | xfs_refcount_item.c | 293 return XFS_FSB_TO_AGNO(mp, ra->ri_startblock) - in xfs_refcount_update_diff_items() 294 XFS_FSB_TO_AGNO(mp, rb->ri_startblock); in xfs_refcount_update_diff_items()
|
D | xfs_rmap_item.c | 336 return XFS_FSB_TO_AGNO(mp, ra->ri_bmap.br_startblock) - in xfs_rmap_update_diff_items() 337 XFS_FSB_TO_AGNO(mp, rb->ri_bmap.br_startblock); in xfs_rmap_update_diff_items()
|
D | xfs_reflink.c | 189 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, irec->br_startblock)); in xfs_reflink_trim_around_shared() 1241 XFS_FSB_TO_AGNO(mp, dmap->br_startblock)); in xfs_reflink_remap_extent() 1580 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, got.br_startblock)); in xfs_reflink_inode_has_shared_extents()
|
D | xfs_fsmap.c | 618 start_ag = XFS_FSB_TO_AGNO(mp, start_fsb); in __xfs_getfsmap_datadev() 619 end_ag = XFS_FSB_TO_AGNO(mp, end_fsb); in __xfs_getfsmap_datadev()
|
D | xfs_trace.h | 4012 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsb);
|