Searched refs:igeo (Results 1 – 7 of 7) sorted by relevance
625 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local638 igeo->ialloc_min_blks < igeo->ialloc_blks) in xfs_ialloc_ag_alloc()646 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc()647 if (igeo->maxicount && in xfs_ialloc_ag_alloc()649 igeo->maxicount) in xfs_ialloc_ag_alloc()651 args.minlen = args.maxlen = igeo->ialloc_blks; in xfs_ialloc_ag_alloc()660 igeo->ialloc_blks; in xfs_ialloc_ag_alloc()683 args.minalignslop = igeo->cluster_align - 1; in xfs_ialloc_ag_alloc()686 args.minleft = igeo->inobt_maxlevels; in xfs_ialloc_ag_alloc()713 if (igeo->ialloc_align) { in xfs_ialloc_ag_alloc()[all …]
150 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2() local202 if (length != igeo->ialloc_blks && in xlog_recover_icreate_commit_pass2()203 length != igeo->ialloc_min_blks) { in xlog_recover_icreate_commit_pass2()223 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()224 nbufs = length / igeo->blocks_per_cluster; in xlog_recover_icreate_commit_pass2()229 agbno + i * igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()
101 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra() local109 for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) { in xfs_iwalk_ichunk_ra()112 imask = xfs_inobt_maskn(i, igeo->inodes_per_cluster); in xfs_iwalk_ichunk_ra()115 igeo->blocks_per_cluster, in xfs_iwalk_ichunk_ra()118 agbno += igeo->blocks_per_cluster; in xfs_iwalk_ichunk_ra()
588 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() local590 igeo->attr_fork_offset = xfs_bmap_compute_attr_offset(mp); in xfs_mount_setup_inode_geom()591 ASSERT(igeo->attr_fork_offset < XFS_LITINO(mp)); in xfs_mount_setup_inode_geom()624 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local735 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs()739 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
2187 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local2196 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster()2198 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()2206 ASSERT(ioffset % igeo->inodes_per_cluster == 0); in xfs_ifree_cluster()2223 mp->m_bsize * igeo->blocks_per_cluster, in xfs_ifree_cluster()2244 for (i = 0; i < igeo->inodes_per_cluster; i++) in xfs_ifree_cluster()
348 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local366 igeo->cluster_align_inodes) - 1; in xchk_iallocbt_rec_alignment()394 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { in xchk_iallocbt_rec_alignment()399 if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) { in xchk_iallocbt_rec_alignment()404 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec_alignment()413 iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster; in xchk_iallocbt_rec_alignment()
851 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi() local882 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()891 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()