Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_notify_failure.c146 ri_low.rm_startblock = XFS_FSB_TO_AGBNO(mp, fsbno); in xfs_dax_notify_ddev_failure()
148 ri_high.rm_startblock = XFS_FSB_TO_AGBNO(mp, end_fsbno); in xfs_dax_notify_ddev_failure()
H A Dxfs_extfree_item.c382 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(mp, in xfs_trans_free_extent()
602 agbno = XFS_FSB_TO_AGBNO(mp, xefi->xefi_startblock); in xfs_agfl_free_finish_item()
H A Dxfs_fsmap.c636 info->low.rm_startblock = XFS_FSB_TO_AGBNO(mp, start_fsb); in __xfs_getfsmap_datadev()
654 info->high.rm_startblock = XFS_FSB_TO_AGBNO(mp, in __xfs_getfsmap_datadev()
H A Dxfs_reflink.c190 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xfs_reflink_trim_around_shared()
1567 agbno = XFS_FSB_TO_AGBNO(mp, got.br_startblock); in xfs_reflink_inode_has_shared_extents()
H A Dxfs_trace.h4199 __entry->agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsb);
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_types.c50 return xfs_verify_agno_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno)); in xfs_verify_fsbno()
H A Dxfs_refcount.c1364 bno = XFS_FSB_TO_AGBNO(mp, ri->ri_startblock); in xfs_refcount_finish_one()
1367 ri->ri_type, XFS_FSB_TO_AGBNO(mp, ri->ri_startblock), in xfs_refcount_finish_one()
1450 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1857 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_alloc_cow_extent()
1874 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_free_cow_extent()
H A Dxfs_alloc.c2545 agbno = XFS_FSB_TO_AGBNO(mp, bno); in __xfs_free_extent_later()
2577 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_free_extent_later()
3299 ASSERT(XFS_FSB_TO_AGBNO(mp, target) < agsize); in xfs_alloc_vextent_check_args()
3305 XFS_FSB_TO_AGBNO(mp, target) >= agsize || in xfs_alloc_vextent_check_args()
3614 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_start_ag()
3660 XFS_FSB_TO_AGBNO(mp, target), alloc_flags); in xfs_alloc_vextent_first_ag()
3681 args->agbno = XFS_FSB_TO_AGBNO(mp, target); in xfs_alloc_vextent_exact_bno()
3720 args->agbno = XFS_FSB_TO_AGBNO(mp, target); in xfs_alloc_vextent_near_bno()
H A Dxfs_ag.c513 xfs_agblock_t start = XFS_FSB_TO_AGBNO(mp, in xfs_freesp_init_recs()
641 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart)); in xfs_rmaproot_init()
713 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart) - logblocks); in xfs_agfblock_init()
H A Dxfs_format.h441 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
675 #define XFS_FSB_TO_AGBNO(mp,fsbno) \ macro
H A Dxfs_refcount_btree.c111 XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno), 1); in xfs_refcountbt_free_block()
H A Dxfs_ialloc_btree.c124 new->s = cpu_to_be32(XFS_FSB_TO_AGBNO(args.mp, args.fsbno)); in __xfs_inobt_alloc_block()
H A Dxfs_rmap.c2452 bno = XFS_FSB_TO_AGBNO(mp, ri->ri_bmap.br_startblock); in xfs_rmap_finish_one()
2491 bno = XFS_FSB_TO_AGBNO(rcur->bc_mp, ri->ri_bmap.br_startblock); in xfs_rmap_finish_one()
2556 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
H A Dxfs_bmap.c355 ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks); in xfs_bmap_check_leaf_extents()
3065 XFS_FSB_TO_AGBNO(mp, x) < mp->m_sb.sb_agblocks) in xfs_bmap_adjacent()
6120 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6181 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in xfs_bmap_finish_one()
/openbmc/linux/fs/xfs/scrub/
H A Dtrace.h392 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
436 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
475 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
515 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
553 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
H A Dbitmap.c283 agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); in xagb_bitmap_visit_btblock()
H A Drmap.c405 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart), in xchk_rmapbt_walk_ag_metadata()
H A Dbmap.c312 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xchk_bmap_iextent_xref()