/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_types.c | 48 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_fsbno() 105 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_ino()
|
H A D | xfs_sb.c | 393 sbp->sb_agcount <= 0 || in xfs_validate_sb_common() 414 agcount == 0 || agcount != sbp->sb_agcount || in xfs_validate_sb_common() 618 to->sb_agcount = be32_to_cpu(from->sb_agcount); in __xfs_sb_from_disk() 767 to->sb_agcount = cpu_to_be32(from->sb_agcount); in xfs_sb_to_disk() 966 mp->m_maxagi = mp->m_sb.sb_agcount; in xfs_sb_mount_common() 970 mp->m_agno_log = xfs_highbit32(sbp->sb_agcount - 1) + 1; in xfs_sb_mount_common() 1189 geo->agcount = sbp->sb_agcount; in xfs_fs_geometry()
|
H A D | xfs_ag.h | 249 for_each_perag_range((mp), (agno), (mp)->m_sb.sb_agcount - 1, (pag)) 310 for_each_perag_wrap_at((mp), (start_agno), (mp)->m_sb.sb_agcount, \
|
H A D | xfs_ag.c | 257 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_free_perag() 296 return __xfs_ag_block_count(mp, agno, mp->m_sb.sb_agcount, in xfs_ag_block_count() 939 ASSERT(pag->pag_agno == mp->m_sb.sb_agcount - 1); in xfs_ag_shrink_space() 1067 ASSERT(pag->pag_agno == pag->pag_mount->m_sb.sb_agcount - 1); in xfs_ag_extend_space()
|
H A D | xfs_alloc.c | 117 return mp->m_sb.sb_agcount * (XFS_ALLOCBT_AGFL_RESERVE + 4); in xfs_alloc_set_aside() 2546 ASSERT(agno < mp->m_sb.sb_agcount); in __xfs_free_extent_later() 3010 if (bp->b_pag && seqno != mp->m_sb.sb_agcount - 1) in xfs_validate_ag_length() 3301 ASSERT(XFS_FSB_TO_AGNO(mp, target) < mp->m_sb.sb_agcount); in xfs_alloc_vextent_check_args() 3307 if (XFS_FSB_TO_AGNO(mp, target) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent_check_args() 3525 mp->m_sb.sb_agcount, agno, args->pag) { in xfs_alloc_vextent_iterate_ags() 3611 mp->m_sb.sb_agcount), 0); in xfs_alloc_vextent_start_ag() 3622 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent_start_ag() 3625 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent_start_ag() 3764 if (args.agno >= args.mp->m_sb.sb_agcount) in xfs_free_extent_fix_freelist()
|
H A D | xfs_fs.h | 267 #define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks) 268 #define XFS_MIN_DBLOCKS(s) ((xfs_rfsblock_t)((s)->sb_agcount - 1) * \
|
H A D | xfs_format.h | 109 xfs_agnumber_t sb_agcount; /* number of allocation groups */ member 200 __be32 sb_agcount; /* number of allocation groups */ member
|
H A D | xfs_refcount_btree.c | 346 ASSERT(pag->pag_agno < mp->m_sb.sb_agcount); in xfs_refcountbt_init_common()
|
H A D | xfs_bmap.c | 354 ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount); in xfs_bmap_check_leaf_extents() 3064 XFS_FSB_TO_AGNO(mp, x) < mp->m_sb.sb_agcount && \ in xfs_bmap_adjacent()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_filestream.c | 282 agno = (item->pag->pag_agno + 1) % mp->m_sb.sb_agcount; in xfs_filestream_create_association() 287 agno = (mp->m_agfrotor / rotorstep) % mp->m_sb.sb_agcount; in xfs_filestream_create_association() 289 (mp->m_sb.sb_agcount * rotorstep); in xfs_filestream_create_association()
|
H A D | xfs_iwalk.c | 575 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_iwalk() 653 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_iwalk_threaded() 759 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_inobt_walk()
|
H A D | xfs_icreate_item.c | 173 if (agno >= mp->m_sb.sb_agcount) { in xlog_recover_icreate_commit_pass2()
|
H A D | xfs_mount.c | 516 error = xfs_initialize_perag_data(mp, mp->m_sb.sb_agcount); in xfs_check_summary_counts() 800 error = xfs_initialize_perag(mp, sbp->sb_agcount, mp->m_sb.sb_dblocks, in xfs_mountfs()
|
H A D | xfs_itable.c | 266 return agno >= mp->m_sb.sb_agcount || in xfs_bulkstat_already_done()
|
H A D | xfs_trans.c | 529 be32_add_cpu(&sbp->sb_agcount, tp->t_agcount_delta); in xfs_trans_apply_sb_deltas() 655 mp->m_sb.sb_agcount += tp->t_agcount_delta; in xfs_trans_unreserve_and_mod_sb()
|
H A D | xfs_fsops.c | 141 oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private()
|
H A D | xfs_super.c | 1938 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure() 1944 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure()
|
H A D | xfs_ioctl.c | 798 if (hdr->agno >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup() 815 if (XFS_INO_TO_AGNO(mp, breq->startino) >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup()
|
H A D | xfs_icache.c | 751 if (!ino || XFS_INO_TO_AGNO(mp, ino) >= mp->m_sb.sb_agcount) in xfs_iget()
|
H A D | xfs_log_recover.c | 3368 error = xfs_initialize_perag(mp, sbp->sb_agcount, sbp->sb_dblocks, in xlog_do_recover()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | scrub.c | 403 sm->sm_agno >= mp->m_sb.sb_agcount) in xchk_validate_inputs()
|
H A D | agheader.c | 158 if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) in xchk_superblock()
|