Searched refs:sb_agcount (Results 1 – 15 of 15) sorted by relevance
| /linux/fs/xfs/ |
| H A D | xfs_filestream.c | 278 agno = (pag_agno(item->pag) + 1) % mp->m_sb.sb_agcount; in xfs_filestream_create_association() 283 agno = (mp->m_agfrotor / rotorstep) % mp->m_sb.sb_agcount; in xfs_filestream_create_association() 285 (mp->m_sb.sb_agcount * rotorstep); in xfs_filestream_create_association()
|
| H A D | xfs_mount.c | 545 error = xfs_initialize_perag_data(mp, mp->m_sb.sb_agcount); in xfs_check_summary_counts() 995 error = xfs_initialize_perag(mp, 0, sbp->sb_agcount, in xfs_mountfs() 1275 xfs_free_perag_range(mp, 0, mp->m_sb.sb_agcount); in xfs_mountfs() 1360 xfs_free_perag_range(mp, 0, mp->m_sb.sb_agcount); in xfs_unmountfs()
|
| H A D | xfs_buf_item_recover.c | 723 xfs_agnumber_t orig_agcount = mp->m_sb.sb_agcount; in xlog_recover_do_primary_sb_buffer() 749 if (mp->m_sb.sb_agcount < orig_agcount) { in xlog_recover_do_primary_sb_buffer() 784 error = xfs_initialize_perag(mp, orig_agcount, mp->m_sb.sb_agcount, in xlog_recover_do_primary_sb_buffer()
|
| H A D | xfs_iwalk.c | 544 ASSERT(start_agno < iwag->mp->m_sb.sb_agcount); in xfs_iwalk_args() 649 ASSERT(start_agno < mp->m_sb.sb_agcount); in xfs_iwalk_threaded()
|
| H A D | xfs_fsops.c | 97 xfs_agnumber_t oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private()
|
| H A D | xfs_itable.c | 295 return agno >= mp->m_sb.sb_agcount || in xfs_bulkstat_already_done()
|
| H A D | xfs_super.c | 2166 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure() 2172 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_sb.c | 618 sbp->sb_agcount <= 0 || in xfs_validate_sb_common() 639 agcount == 0 || agcount != sbp->sb_agcount || in xfs_validate_sb_common() 825 to->sb_agcount = be32_to_cpu(from->sb_agcount); in __xfs_sb_from_disk() 1005 to->sb_agcount = cpu_to_be32(from->sb_agcount); in xfs_sb_to_disk() 1264 mp->m_maxagi = mp->m_sb.sb_agcount; in xfs_sb_mount_common() 1268 mp->m_agno_log = xfs_highbit32(sbp->sb_agcount - 1) + 1; in xfs_sb_mount_common() 1519 geo->agcount = sbp->sb_agcount; in xfs_fs_geometry()
|
| H A D | xfs_ag.h | 198 return xfs_perag_next_range(mp, pag, start_agno, mp->m_sb.sb_agcount - 1); in xfs_perag_next_from() 312 for_each_perag_wrap_at((mp), (start_agno), (mp)->m_sb.sb_agcount, \
|
| H A D | xfs_ag.c | 153 return __xfs_ag_block_count(mp, agno, mp->m_sb.sb_agcount, in xfs_ag_block_count() 206 prev_agcount - 1, mp->m_sb.sb_agcount, in xfs_update_last_ag_size() 752 ASSERT(pag_agno(pag) == mp->m_sb.sb_agcount - 1); in xfs_ag_shrink_space() 909 ASSERT(pag_agno(pag) == mp->m_sb.sb_agcount - 1); in xfs_ag_extend_space()
|
| H A D | xfs_ondisk.h | 240 XFS_CHECK_SB_OFFSET(sb_agcount, 88); in xfs_check_ondisk_structs()
|
| H A D | xfs_format.h | 108 xfs_agnumber_t sb_agcount; /* number of allocation groups */ member 206 __be32 sb_agcount; /* number of allocation groups */ member
|
| /linux/fs/xfs/scrub/ |
| H A D | agheader.c | 196 if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) in xchk_superblock()
|
| H A D | nlinks.c | 995 xfs_agnumber_t last_agno = mp->m_sb.sb_agcount - 1; in xchk_nlinks_setup_scan()
|
| H A D | scrub.c | 531 sm->sm_agno >= mp->m_sb.sb_agcount) in xchk_validate_inputs()
|