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_refcount.c1201 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()
Dxfs_bmap.c354 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 …]
Dxfs_ag.h181 agno == XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart); in xfs_ag_contains_log()
Dxfs_alloc.c2513 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()
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_rmap.c2411 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/
Drepair.c350 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()
Dtrace.h349 __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);
Dbmap.c243 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
/fs/xfs/
Dxfs_notify_failure.c116 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()
Dxfs_extfree_item.c356 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()
Dxfs_refcount_item.c293 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()
Dxfs_rmap_item.c336 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()
Dxfs_reflink.c189 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()
Dxfs_fsmap.c618 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()
Dxfs_trace.h4012 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsb);