Searched refs:igeo (Results 1 – 6 of 6) sorted by relevance
621 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local633 igeo->ialloc_min_blks < igeo->ialloc_blks) in xfs_ialloc_ag_alloc()641 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc()642 if (igeo->maxicount && in xfs_ialloc_ag_alloc()644 igeo->maxicount) in xfs_ialloc_ag_alloc()646 args.minlen = args.maxlen = igeo->ialloc_blks; in xfs_ialloc_ag_alloc()656 igeo->ialloc_blks; in xfs_ialloc_ag_alloc()679 args.minalignslop = igeo->cluster_align - 1; in xfs_ialloc_ag_alloc()682 args.minleft = igeo->inobt_maxlevels - 1; in xfs_ialloc_ag_alloc()709 if (igeo->ialloc_align) { in xfs_ialloc_ag_alloc()[all …]
93 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra() local101 for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) { in xfs_iwalk_ichunk_ra()104 imask = xfs_inobt_maskn(i, igeo->inodes_per_cluster); in xfs_iwalk_ichunk_ra()107 igeo->blocks_per_cluster, in xfs_iwalk_ichunk_ra()110 agbno += igeo->blocks_per_cluster; in xfs_iwalk_ichunk_ra()
2534 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local2539 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster()2541 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()2549 ASSERT(ioffset % igeo->inodes_per_cluster == 0); in xfs_ifree_cluster()2565 mp->m_bsize * igeo->blocks_per_cluster, in xfs_ifree_cluster()2612 for (i = 0; i < igeo->inodes_per_cluster; i++) { in xfs_ifree_cluster()3474 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iflush_cluster() local3481 cilist_size = igeo->inodes_per_cluster * sizeof(struct xfs_inode *); in xfs_iflush_cluster()3486 mask = ~(igeo->inodes_per_cluster - 1); in xfs_iflush_cluster()3491 first_index, igeo->inodes_per_cluster); in xfs_iflush_cluster()
635 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local745 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs()749 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
3772 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_do_icreate_pass2() local3824 if (length != igeo->ialloc_blks && in xlog_recover_do_icreate_pass2()3825 length != igeo->ialloc_min_blks) { in xlog_recover_do_icreate_pass2()3845 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xlog_recover_do_icreate_pass2()3846 nbufs = length / igeo->blocks_per_cluster; in xlog_recover_do_icreate_pass2()3851 agbno + i * igeo->blocks_per_cluster); in xlog_recover_do_icreate_pass2()
351 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local369 igeo->cluster_align_inodes) - 1; in xchk_iallocbt_rec_alignment()397 if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { in xchk_iallocbt_rec_alignment()402 if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) { in xchk_iallocbt_rec_alignment()407 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec_alignment()416 iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster; in xchk_iallocbt_rec_alignment()