Searched refs:sb_agcount (Results 1 – 23 of 23) sorted by relevance
/linux-6.1.9/fs/xfs/ |
D | xfs_filestream.c | 177 if (++ag >= mp->m_sb.sb_agcount) in xfs_filestream_pick_ag() 301 startag = (mp->m_agfrotor / rotorstep) % mp->m_sb.sb_agcount; in xfs_filestream_lookup_ag() 303 (mp->m_sb.sb_agcount * rotorstep); in xfs_filestream_lookup_ag() 343 startag = (item->ag + 1) % mp->m_sb.sb_agcount; in xfs_filestream_new_ag()
|
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() 760 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_inobt_walk()
|
D | xfs_icreate_item.c | 173 if (agno >= mp->m_sb.sb_agcount) { in xlog_recover_icreate_commit_pass2()
|
D | xfs_mount.c | 515 error = xfs_initialize_perag_data(mp, mp->m_sb.sb_agcount); in xfs_check_summary_counts() 783 error = xfs_initialize_perag(mp, sbp->sb_agcount, mp->m_sb.sb_dblocks, in xfs_mountfs()
|
D | xfs_itable.c | 255 return agno >= mp->m_sb.sb_agcount || in xfs_bulkstat_already_done()
|
D | xfs_fsops.c | 132 oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private()
|
D | xfs_trans.c | 527 be32_add_cpu(&sbp->sb_agcount, tp->t_agcount_delta); in xfs_trans_apply_sb_deltas() 653 mp->m_sb.sb_agcount += tp->t_agcount_delta; in xfs_trans_unreserve_and_mod_sb()
|
D | xfs_super.c | 1867 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure() 1873 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure()
|
D | xfs_ioctl.c | 797 if (hdr->agno >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup() 814 if (XFS_INO_TO_AGNO(mp, breq->startino) >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup()
|
D | xfs_icache.c | 719 if (!ino || XFS_INO_TO_AGNO(mp, ino) >= mp->m_sb.sb_agcount) in xfs_iget()
|
D | xfs_log_recover.c | 3335 error = xfs_initialize_perag(mp, sbp->sb_agcount, sbp->sb_dblocks, in xlog_do_recover()
|
/linux-6.1.9/fs/xfs/libxfs/ |
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()
|
D | xfs_sb.c | 397 sbp->sb_agcount <= 0 || in xfs_validate_sb_common() 419 agcount == 0 || agcount != sbp->sb_agcount || in xfs_validate_sb_common() 566 to->sb_agcount = be32_to_cpu(from->sb_agcount); in __xfs_sb_from_disk() 715 to->sb_agcount = cpu_to_be32(from->sb_agcount); in xfs_sb_to_disk() 913 mp->m_maxagi = mp->m_sb.sb_agcount; in xfs_sb_mount_common() 917 mp->m_agno_log = xfs_highbit32(sbp->sb_agcount - 1) + 1; in xfs_sb_mount_common() 1133 geo->agcount = sbp->sb_agcount; in xfs_fs_geometry()
|
D | xfs_ag.c | 189 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_free_perag() 223 return __xfs_ag_block_count(mp, agno, mp->m_sb.sb_agcount, in xfs_ag_block_count() 840 ASSERT(pag->pag_agno == mp->m_sb.sb_agcount - 1); in xfs_ag_shrink_space() 952 ASSERT(pag->pag_agno == pag->pag_mount->m_sb.sb_agcount - 1); in xfs_ag_extend_space()
|
D | xfs_ag.h | 208 for_each_perag_range((mp), (agno), (mp)->m_sb.sb_agcount - 1, (pag))
|
D | xfs_fs.h | 265 #define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks) 266 #define XFS_MIN_DBLOCKS(s) ((xfs_rfsblock_t)((s)->sb_agcount - 1) * \
|
D | xfs_alloc.c | 121 return mp->m_sb.sb_agcount * (XFS_ALLOCBT_AGFL_RESERVE + 4); in xfs_alloc_set_aside() 2515 ASSERT(agno < mp->m_sb.sb_agcount); in __xfs_free_extent_later() 3181 ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); in xfs_alloc_vextent() 3186 if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent() 3226 mp->m_sb.sb_agcount), 0); in xfs_alloc_vextent() 3286 if (++(args->agno) == mp->m_sb.sb_agcount) { in xfs_alloc_vextent() 3315 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent() 3318 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent() 3365 if (args.agno >= args.mp->m_sb.sb_agcount) in xfs_free_extent_fix_freelist()
|
D | xfs_refcount_btree.c | 334 ASSERT(pag->pag_agno < mp->m_sb.sb_agcount); in xfs_refcountbt_init_common()
|
D | xfs_format.h | 109 xfs_agnumber_t sb_agcount; /* number of allocation groups */ member 200 __be32 sb_agcount; /* number of allocation groups */ member
|
D | xfs_bmap.c | 354 ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount); in xfs_bmap_check_leaf_extents() 3037 XFS_FSB_TO_AGNO(mp, x) < mp->m_sb.sb_agcount && \ in xfs_bmap_adjacent() 3262 if (++ag == mp->m_sb.sb_agcount) in xfs_bmap_btalloc_nullfb()
|
D | xfs_ialloc.c | 2303 mp->m_sb.sb_agcount); in xfs_imap()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | scrub.c | 381 sm->sm_agno >= mp->m_sb.sb_agcount) in xchk_validate_inputs()
|
D | agheader.c | 148 if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) in xchk_superblock()
|