Searched refs:XFS_FSB_TO_AGNO (Results 1 – 17 of 17) sorted by relevance
/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_alloc.c | 2544 agno = XFS_FSB_TO_AGNO(mp, bno); in __xfs_free_extent_later() 2576 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_free_extent_later() 3301 ASSERT(XFS_FSB_TO_AGNO(mp, target) < mp->m_sb.sb_agcount); in xfs_alloc_vextent_check_args() 3307 if (XFS_FSB_TO_AGNO(mp, target) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent_check_args() 3615 start_agno = max(minimum_agno, XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_start_ag() 3661 start_agno = max(minimum_agno, XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_first_ag() 3681 ASSERT(args->pag->pag_agno == XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_exact_bno() 3683 args->agno = XFS_FSB_TO_AGNO(mp, target); in xfs_alloc_vextent_exact_bno() 3720 ASSERT(args->pag->pag_agno == XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_near_bno() 3722 args->agno = XFS_FSB_TO_AGNO(mp, target); in xfs_alloc_vextent_near_bno()
|
D | xfs_refcount.c | 1338 ASSERT(pag->pag_agno == XFS_FSB_TO_AGNO(mp, ri->ri_startblock)); in xfs_refcount_continue_op() 1366 trace_xfs_refcount_deferred(mp, XFS_FSB_TO_AGNO(mp, ri->ri_startblock), in xfs_refcount_finish_one() 1449 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1856 xfs_rmap_alloc_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_alloc_cow_extent() 1873 xfs_rmap_free_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_free_cow_extent()
|
D | xfs_ag.h | 218 agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); in xfs_ag_contains_log()
|
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_bmap.c | 354 ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount); in xfs_bmap_check_leaf_extents() 3058 XFS_FSB_TO_AGNO(mp, x) == XFS_FSB_TO_AGNO(mp, y) && \ in xfs_bmap_adjacent() 3059 XFS_FSB_TO_AGNO(mp, x) < mp->m_sb.sb_agcount && \ in xfs_bmap_adjacent() 3245 startag = XFS_FSB_TO_AGNO(mp, ap->blkno); in xfs_bmap_btalloc_select_lengths() 3500 args->pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, ap->blkno)); in xfs_bmap_btalloc_at_eof() 6082 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6143 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in xfs_bmap_finish_one()
|
D | xfs_rmap.c | 2554 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
|
/fs/xfs/ |
D | xfs_notify_failure.c | 116 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_dax_notify_ddev_failure() 119 xfs_agnumber_t end_agno = XFS_FSB_TO_AGNO(mp, end_fsbno); in xfs_dax_notify_ddev_failure()
|
D | xfs_reflink.c | 189 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, irec->br_startblock)); in xfs_reflink_trim_around_shared() 1243 XFS_FSB_TO_AGNO(mp, dmap->br_startblock)); in xfs_reflink_remap_extent() 1586 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, got.br_startblock)); in xfs_reflink_inode_has_shared_extents()
|
D | xfs_fsmap.c | 644 start_ag = XFS_FSB_TO_AGNO(mp, start_fsb); in __xfs_getfsmap_datadev() 645 end_ag = XFS_FSB_TO_AGNO(mp, end_fsb); in __xfs_getfsmap_datadev()
|
D | xfs_refcount_item.c | 376 agno = XFS_FSB_TO_AGNO(mp, ri->ri_startblock); in xfs_refcount_update_get_group()
|
D | xfs_bmap_item.c | 375 agno = XFS_FSB_TO_AGNO(mp, bi->bi_bmap.br_startblock); in xfs_bmap_update_get_group()
|
D | xfs_rmap_item.c | 401 agno = XFS_FSB_TO_AGNO(mp, ri->ri_bmap.br_startblock); in xfs_rmap_update_get_group()
|
D | xfs_extfree_item.c | 510 agno = XFS_FSB_TO_AGNO(mp, xefi->xefi_startblock); in xfs_extent_free_get_group()
|
D | xfs_trace.h | 4203 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsb);
|
/fs/xfs/scrub/ |
D | trace.h | 391 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 435 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 474 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 514 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 552 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
|
D | bmap.c | 311 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
|