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()
586 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() local588 igeo->attr_fork_offset = xfs_bmap_compute_attr_offset(mp); in xfs_mount_setup_inode_geom()589 ASSERT(igeo->attr_fork_offset < XFS_LITINO(mp)); in xfs_mount_setup_inode_geom()622 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local733 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs()737 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
2509 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local2518 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster()2520 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()2528 ASSERT(ioffset % igeo->inodes_per_cluster == 0); in xfs_ifree_cluster()2545 mp->m_bsize * igeo->blocks_per_cluster, in xfs_ifree_cluster()2566 for (i = 0; i < igeo->inodes_per_cluster; i++) in xfs_ifree_cluster()
349 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local367 igeo->cluster_align_inodes) - 1; in xchk_iallocbt_rec_alignment()395 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { in xchk_iallocbt_rec_alignment()400 if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) { in xchk_iallocbt_rec_alignment()405 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec_alignment()414 iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster; in xchk_iallocbt_rec_alignment()
852 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi() local883 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()892 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()