Home
last modified time | relevance | path

Searched refs:XFS_FSB_TO_AGNO (Results 1 – 17 of 17) sorted by relevance

/fs/xfs/libxfs/
Dxfs_types.c46 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()
Dxfs_alloc.c2544 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()
Dxfs_refcount.c1338 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()
Dxfs_ag.h218 agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); in xfs_ag_contains_log()
Dxfs_format.h441 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
673 #define XFS_FSB_TO_AGNO(mp,fsbno) \ macro
Dxfs_bmap.c354 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()
Dxfs_rmap.c2554 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
/fs/xfs/
Dxfs_notify_failure.c116 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()
Dxfs_reflink.c189 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()
Dxfs_fsmap.c644 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()
Dxfs_refcount_item.c376 agno = XFS_FSB_TO_AGNO(mp, ri->ri_startblock); in xfs_refcount_update_get_group()
Dxfs_bmap_item.c375 agno = XFS_FSB_TO_AGNO(mp, bi->bi_bmap.br_startblock); in xfs_bmap_update_get_group()
Dxfs_rmap_item.c401 agno = XFS_FSB_TO_AGNO(mp, ri->ri_bmap.br_startblock); in xfs_rmap_update_get_group()
Dxfs_extfree_item.c510 agno = XFS_FSB_TO_AGNO(mp, xefi->xefi_startblock); in xfs_extent_free_get_group()
Dxfs_trace.h4203 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsb);
/fs/xfs/scrub/
Dtrace.h391 __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);
Dbmap.c311 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()