Home
last modified time | relevance | path

Searched refs:XFS_AGB_TO_FSB (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/fs/xfs/
Dxfs_filestream.c233 ap->blkno = XFS_AGB_TO_FSB(args->mp, pag->pag_agno, 0); in xfs_filestream_lookup_association()
291 ap->blkno = XFS_AGB_TO_FSB(args->mp, agno, 0); in xfs_filestream_create_association()
376 ap->blkno = XFS_AGB_TO_FSB(mp, args->pag->pag_agno, 0); in xfs_filestream_select_ag()
Dxfs_notify_failure.c164 fsbno = XFS_AGB_TO_FSB(mp, agno + 1, 0); in xfs_dax_notify_ddev_failure()
Dxfs_fsmap.c385 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_format.h438 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \
671 #define XFS_AGB_TO_FSB(mp,agno,agbno) \ macro
1120 XFS_AGB_TO_FSB(mp, XFS_INO_TO_AGNO(mp,i), XFS_INO_TO_AGBNO(mp,i))
Dxfs_ialloc.c712 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc()
755 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc()
768 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc()
804 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc()
1855 XFS_AGB_TO_FSB(mp, agno, sagbno), in xfs_difree_inode_chunk()
1902 XFS_AGB_TO_FSB(mp, agno, agbno), contigblk, in xfs_difree_inode_chunk()
Dxfs_refcount.c1151 fsbno = XFS_AGB_TO_FSB(cur->bc_mp, in xfs_refcount_adjust_extents()
1213 fsbno = XFS_AGB_TO_FSB(cur->bc_mp, in xfs_refcount_adjust_extents()
1335 ri->ri_startblock = XFS_AGB_TO_FSB(mp, pag->pag_agno, new_agbno); in xfs_refcount_continue_op()
1980 fsb = XFS_AGB_TO_FSB(mp, pag->pag_agno, in xfs_refcount_recover_cow_leftovers()
Dxfs_refcount_btree.c76 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, in xfs_refcountbt_alloc_block()
Dxfs_alloc.c2499 xfs_fsblock_t fsbno = XFS_AGB_TO_FSB(mp, agno, agbno); in xfs_defer_agfl_block()
3410 args->fsbno = XFS_AGB_TO_FSB(mp, args->agno, args->agbno); in xfs_alloc_vextent_finish()
3475 error = xfs_alloc_vextent_check_args(args, XFS_AGB_TO_FSB(mp, agno, 0), in xfs_alloc_vextent_this_ag()
3609 target = XFS_AGB_TO_FSB(mp, in xfs_alloc_vextent_start_ag()
Dxfs_ialloc_btree.c114 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, sbno)); in __xfs_inobt_alloc_block()
Dxfs_ag.c956 XFS_AGB_TO_FSB(mp, pag->pag_agno, aglen - delta)); in xfs_ag_shrink_space()
Dxfs_rmap.c2650 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent()
2672 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_free_extent()
Dxfs_bmap.c3420 ap->blkno = XFS_AGB_TO_FSB(mp, 0, 0); in xfs_bmap_exact_minlen_extent_alloc()
/linux-6.6.21/fs/xfs/scrub/
Dreap.c361 fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.pag->pag_agno, agbno); in xreap_agextent_iter()
Dbmap.c579 if (irec.br_startblock != XFS_AGB_TO_FSB(sc->mp, in xchk_bmap_check_rmap()