Home
last modified time | relevance | path

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

/fs/xfs/scrub/
Dtrace.h206 bno = XFS_FSB_TO_AGBNO(sc->mp, fsbno);
344 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
388 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
427 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
467 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
505 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
Drepair.c346 XFS_FSB_TO_AGBNO(mp, fsb), btnum); in xrep_init_btblock()
534 agbno = XFS_FSB_TO_AGBNO(sc->mp, fsbno); in xrep_reap_block()
612 XFS_FSB_TO_AGBNO(sc->mp, fsbno), 1); in xrep_reap_extents()
Dbmap.c260 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()
Dagheader_repair.c607 agbno = XFS_FSB_TO_AGBNO(mp, br->start); in xrep_agfl_init_header()
/fs/xfs/libxfs/
Dxfs_ag.c80 xfs_agblock_t start = XFS_FSB_TO_AGBNO(mp, in xfs_freesp_init_recs()
209 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart)); in xfs_rmaproot_init()
281 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart) - logblocks); in xfs_agfblock_init()
Dxfs_refcount.c1098 bno = XFS_FSB_TO_AGBNO(mp, startblock); in xfs_refcount_finish_one()
1101 type, XFS_FSB_TO_AGBNO(mp, startblock), in xfs_refcount_finish_one()
1188 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1558 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_alloc_cow_extent()
1575 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_free_cow_extent()
Dxfs_types.c61 return xfs_verify_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno)); in xfs_verify_fsbno()
Dxfs_alloc.c2834 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); in xfs_alloc_vextent()
2839 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || in xfs_alloc_vextent()
2865 args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); in xfs_alloc_vextent()
2881 args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); in xfs_alloc_vextent()
2957 args->agbno = XFS_FSB_TO_AGBNO(mp, in xfs_alloc_vextent()
3056 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(mp, bno); in __xfs_free_extent()
Dxfs_refcount_btree.c110 XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno), 1); in xfs_refcountbt_free_block()
Dxfs_format.h586 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
825 #define XFS_FSB_TO_AGBNO(mp,fsbno) \ macro
Dxfs_ialloc_btree.c103 new->s = cpu_to_be32(XFS_FSB_TO_AGBNO(args.mp, args.fsbno)); in __xfs_inobt_alloc_block()
Dxfs_rmap.c2174 bno = XFS_FSB_TO_AGBNO(mp, startblock); in xfs_rmap_finish_one()
2215 bno = XFS_FSB_TO_AGBNO(rcur->bc_mp, startblock); in xfs_rmap_finish_one()
2283 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
Dxfs_bmap.c354 ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks); in xfs_bmap_check_leaf_extents()
546 agbno = XFS_FSB_TO_AGBNO(mp, bno); in __xfs_bmap_add_free()
564 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_bmap_add_free()
3059 XFS_FSB_TO_AGBNO(mp, x) < mp->m_sb.sb_agblocks) in xfs_bmap_adjacent()
6061 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6125 XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in xfs_bmap_finish_one()
/fs/xfs/
Dxfs_extfree_item.c332 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(mp, in xfs_trans_free_extent()
505 agbno = XFS_FSB_TO_AGBNO(mp, free->xefi_startblock); in xfs_agfl_free_finish_item()
Dxfs_reflink.c192 agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
1456 agbno = XFS_FSB_TO_AGBNO(mp, map[1].br_startblock); in xfs_reflink_dirty_extents()
1524 agbno = XFS_FSB_TO_AGBNO(mp, got.br_startblock); in xfs_reflink_inode_has_shared_extents()
Dxfs_fsmap.c596 info->low.rm_startblock = XFS_FSB_TO_AGBNO(mp, start_fsb); in __xfs_getfsmap_datadev()
620 info->high.rm_startblock = XFS_FSB_TO_AGBNO(mp, in __xfs_getfsmap_datadev()
Dxfs_bmap_util.c380 ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks); in xfs_bmap_count_blocks()