Searched refs:igeo (Results 1 – 6 of 6) sorted by relevance
630 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local642 igeo->ialloc_min_blks < igeo->ialloc_blks) in xfs_ialloc_ag_alloc()650 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc()651 if (igeo->maxicount && in xfs_ialloc_ag_alloc()653 igeo->maxicount) in xfs_ialloc_ag_alloc()655 args.minlen = args.maxlen = igeo->ialloc_blks; in xfs_ialloc_ag_alloc()665 igeo->ialloc_blks; in xfs_ialloc_ag_alloc()688 args.minalignslop = igeo->cluster_align - 1; in xfs_ialloc_ag_alloc()691 args.minleft = igeo->inobt_maxlevels; in xfs_ialloc_ag_alloc()718 if (igeo->ialloc_align) { in xfs_ialloc_ag_alloc()[all …]
149 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2() local201 if (length != igeo->ialloc_blks && in xlog_recover_icreate_commit_pass2()202 length != igeo->ialloc_min_blks) { in xlog_recover_icreate_commit_pass2()222 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()223 nbufs = length / igeo->blocks_per_cluster; in xlog_recover_icreate_commit_pass2()228 agbno + i * igeo->blocks_per_cluster); in xlog_recover_icreate_commit_pass2()
96 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra() local104 for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) { in xfs_iwalk_ichunk_ra()107 imask = xfs_inobt_maskn(i, igeo->inodes_per_cluster); in xfs_iwalk_ichunk_ra()110 igeo->blocks_per_cluster, in xfs_iwalk_ichunk_ra()113 agbno += igeo->blocks_per_cluster; in xfs_iwalk_ichunk_ra()
690 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local815 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs()819 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
2605 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local2614 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster()2616 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()2624 ASSERT(ioffset % igeo->inodes_per_cluster == 0); in xfs_ifree_cluster()2641 mp->m_bsize * igeo->blocks_per_cluster, in xfs_ifree_cluster()2662 for (i = 0; i < igeo->inodes_per_cluster; i++) in xfs_ifree_cluster()
350 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local368 igeo->cluster_align_inodes) - 1; in xchk_iallocbt_rec_alignment()396 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { in xchk_iallocbt_rec_alignment()401 if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) { in xchk_iallocbt_rec_alignment()406 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec_alignment()415 iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster; in xchk_iallocbt_rec_alignment()