Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_trans_extfree.c64 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, start_block); in xfs_trans_free_extent()
106 return XFS_FSB_TO_AGNO(mp, ra->xefi_startblock) - in xfs_extent_free_diff_items()
107 XFS_FSB_TO_AGNO(mp, rb->xefi_startblock); in xfs_extent_free_diff_items()
244 agno = XFS_FSB_TO_AGNO(mp, free->xefi_startblock); in xfs_agfl_free_finish_item()
Dxfs_trans_refcount.c83 return XFS_FSB_TO_AGNO(mp, ra->ri_startblock) - in xfs_refcount_update_diff_items()
84 XFS_FSB_TO_AGNO(mp, rb->ri_startblock); in xfs_refcount_update_diff_items()
Dxfs_trans_rmap.c124 return XFS_FSB_TO_AGNO(mp, ra->ri_bmap.br_startblock) - in xfs_rmap_update_diff_items()
125 XFS_FSB_TO_AGNO(mp, rb->ri_bmap.br_startblock); in xfs_rmap_update_diff_items()
Dxfs_reflink.c203 agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
1022 XFS_FSB_TO_AGNO(mp, irec->br_startblock)); in xfs_reflink_remap_extent()
1531 agno = XFS_FSB_TO_AGNO(mp, map[1].br_startblock); in xfs_reflink_dirty_extents()
1599 agno = XFS_FSB_TO_AGNO(mp, got.br_startblock); in xfs_reflink_inode_has_shared_extents()
Dxfs_fsmap.c606 start_ag = XFS_FSB_TO_AGNO(mp, start_fsb); in __xfs_getfsmap_datadev()
607 end_ag = XFS_FSB_TO_AGNO(mp, end_fsb); in __xfs_getfsmap_datadev()
Dxfs_bmap_util.c384 ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount); in xfs_bmap_count_blocks()
/linux-4.19.296/fs/xfs/scrub/
Drepair.c361 trace_xrep_init_btblock(mp, XFS_FSB_TO_AGNO(mp, fsb), in xrep_init_btblock()
364 ASSERT(XFS_FSB_TO_AGNO(mp, fsb) == sc->sa.agno); in xrep_init_btblock()
551 agno = XFS_FSB_TO_AGNO(sc->mp, fsbno); in xrep_reap_block()
627 XFS_FSB_TO_AGNO(sc->mp, fsbno) == sc->sa.agno); in xrep_reap_extents()
629 XFS_FSB_TO_AGNO(sc->mp, fsbno), in xrep_reap_extents()
Dtrace.h138 agno = XFS_FSB_TO_AGNO(sc->mp, fsbno);
275 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
319 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
358 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
398 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
436 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
Dbmap.c274 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock); in xchk_bmap_extent_xref()
357 XFS_FSB_TO_AGNO(mp, irec->br_startblock) != in xchk_bmap_extent()
358 XFS_FSB_TO_AGNO(mp, end))) in xchk_bmap_extent()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_types.c66 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno()
Dxfs_bmap.c360 ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount); in xfs_bmap_check_leaf_extents()
552 agno = XFS_FSB_TO_AGNO(mp, bno); in __xfs_bmap_add_free()
570 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_bmap_add_free()
728 args.agno >= XFS_FSB_TO_AGNO(mp, tp->t_firstblock)); in xfs_bmap_extents_to_btree()
3059 XFS_FSB_TO_AGNO(mp, x) == XFS_FSB_TO_AGNO(mp, y) && \ in xfs_bmap_adjacent()
3060 XFS_FSB_TO_AGNO(mp, x) < mp->m_sb.sb_agcount && \ in xfs_bmap_adjacent()
3067 fb_agno = nullfb ? NULLAGNUMBER : XFS_FSB_TO_AGNO(mp, in xfs_bmap_adjacent()
3132 XFS_FSB_TO_AGNO(mp, prevbno) != fb_agno) in xfs_bmap_adjacent()
3174 XFS_FSB_TO_AGNO(mp, gotbno) != fb_agno) in xfs_bmap_adjacent()
3273 startag = ag = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_bmap_btalloc_nullfb()
[all …]
Dxfs_refcount.c1098 agno = XFS_FSB_TO_AGNO(mp, startblock); in xfs_refcount_finish_one()
1102 trace_xfs_refcount_deferred(mp, XFS_FSB_TO_AGNO(mp, startblock), in xfs_refcount_finish_one()
1189 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1563 return xfs_rmap_alloc_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_alloc_cow_extent()
1581 error = xfs_rmap_free_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_free_cow_extent()
Dxfs_alloc.c2817 ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); in xfs_alloc_vextent()
2822 if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent()
2838 args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_alloc_vextent()
2876 args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_alloc_vextent()
2884 args->agno = sagno = XFS_FSB_TO_AGNO(mp, args->fsbno); in xfs_alloc_vextent()
3039 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, bno); in __xfs_free_extent()
Dxfs_format.h573 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
810 #define XFS_FSB_TO_AGNO(mp,fsbno) \ macro
Dxfs_rmap.c2180 agno = XFS_FSB_TO_AGNO(mp, startblock); in xfs_rmap_finish_one()
2289 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()