/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_types.c | 21 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_ag_block_count() 23 if (agno < mp->m_sb.sb_agcount - 1) in xfs_ag_block_count() 59 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_fsbno() 134 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_ino() 191 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_icount_range()
|
D | xfs_sb.c | 296 sbp->sb_agcount <= 0 || in xfs_validate_sb_common() 318 agcount == 0 || agcount != sbp->sb_agcount || in xfs_validate_sb_common() 500 to->sb_agcount = be32_to_cpu(from->sb_agcount); in __xfs_sb_from_disk() 643 to->sb_agcount = cpu_to_be32(from->sb_agcount); in xfs_sb_to_disk() 840 mp->m_maxagi = mp->m_sb.sb_agcount; in xfs_sb_mount_common() 844 mp->m_agno_log = xfs_highbit32(sbp->sb_agcount - 1) + 1; in xfs_sb_mount_common() 1028 for (agno = 1; agno < mp->m_sb.sb_agcount; agno++) { in xfs_update_secondary_sbs() 1124 geo->agcount = sbp->sb_agcount; in xfs_fs_geometry()
|
D | xfs_fs.h | 276 #define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks) 277 #define XFS_MIN_DBLOCKS(s) ((xfs_rfsblock_t)((s)->sb_agcount - 1) * \
|
D | xfs_alloc.c | 103 return mp->m_sb.sb_agcount * (XFS_ALLOC_AGFL_RESERVE + 4); in xfs_alloc_set_aside() 3066 ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); in xfs_alloc_vextent() 3071 if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent() 3111 mp->m_sb.sb_agcount), 0); in xfs_alloc_vextent() 3171 if (++(args->agno) == mp->m_sb.sb_agcount) { in xfs_alloc_vextent() 3200 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent() 3203 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent() 3249 if (args.agno >= args.mp->m_sb.sb_agcount) in xfs_free_extent_fix_freelist()
|
D | xfs_ag.c | 512 ASSERT(id->agno == mp->m_sb.sb_agcount - 1 || in xfs_ag_extend_space() 561 if (agno >= mp->m_sb.sb_agcount) in xfs_ag_get_geometry()
|
D | xfs_ialloc.c | 1833 if (++agno == mp->m_sb.sb_agcount) in xfs_dialloc() 2194 if (agno >= mp->m_sb.sb_agcount) { in xfs_difree() 2196 __func__, agno, mp->m_sb.sb_agcount); in xfs_difree() 2335 if (agno >= mp->m_sb.sb_agcount || agbno >= mp->m_sb.sb_agblocks || in xfs_imap() 2344 if (agno >= mp->m_sb.sb_agcount) { in xfs_imap() 2347 __func__, agno, mp->m_sb.sb_agcount); in xfs_imap()
|
D | xfs_refcount_btree.c | 324 ASSERT(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
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_iwalk.c | 561 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_iwalk() 568 for (; agno < mp->m_sb.sb_agcount; agno++) { in xfs_iwalk() 624 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_iwalk_threaded() 633 for (; agno < mp->m_sb.sb_agcount; agno++) { in xfs_iwalk_threaded() 724 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_inobt_walk() 731 for (; agno < mp->m_sb.sb_agcount; agno++) { in xfs_inobt_walk()
|
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_fsops.c | 63 oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private() 519 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_fs_reserve_ag_blocks() 548 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_fs_unreserve_ag_blocks()
|
D | xfs_icreate_item.c | 172 if (agno >= mp->m_sb.sb_agcount) { in xlog_recover_icreate_commit_pass2()
|
D | xfs_mount.c | 143 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_free_perag() 631 return xfs_initialize_perag_data(mp, mp->m_sb.sb_agcount); in xfs_check_summary_counts() 864 error = xfs_initialize_perag(mp, sbp->sb_agcount, &mp->m_maxagi); in xfs_mountfs()
|
D | xfs_health.c | 37 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_health_unmount()
|
D | xfs_trans.c | 500 be32_add_cpu(&sbp->sb_agcount, tp->t_agcount_delta); in xfs_trans_apply_sb_deltas() 623 mp->m_sb.sb_agcount += tp->t_agcount_delta; in xfs_trans_unreserve_and_mod_sb()
|
D | xfs_itable.c | 226 return agno >= mp->m_sb.sb_agcount || in xfs_bulkstat_already_done()
|
D | xfs_extent_busy.c | 625 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_extent_busy_wait_all()
|
D | xfs_log_recover.c | 2760 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xlog_recover_process_iunlinks() 3329 error = xfs_initialize_perag(mp, sbp->sb_agcount, &mp->m_maxagi); in xlog_do_recover() 3519 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xlog_recover_check_summary()
|
D | xfs_super.c | 1802 mp->m_maxagi = xfs_set_inode_alloc(mp, sbp->sb_agcount); in xfs_fc_reconfigure() 1809 mp->m_maxagi = xfs_set_inode_alloc(mp, sbp->sb_agcount); in xfs_fc_reconfigure()
|
D | xfs_ioctl.c | 873 if (hdr->agno >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup() 890 if (XFS_INO_TO_AGNO(mp, breq->startino) >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup()
|
D | xfs_reflink.c | 772 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xfs_reflink_recover_cow()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | fscounters.c | 73 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xchk_fscount_warmup() 170 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xchk_fscount_aggregate_agcounts()
|
D | scrub.c | 397 sm->sm_agno >= mp->m_sb.sb_agcount) in xchk_validate_inputs()
|
D | agheader.c | 136 if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) in xchk_superblock()
|
D | bmap.c | 622 for (agno = 0; agno < sc->mp->m_sb.sb_agcount; agno++) { in xchk_bmap_check_rmaps()
|