Home
last modified time | relevance | path

Searched refs:igeo (Results 1 – 6 of 6) sorted by relevance

/fs/xfs/libxfs/
Dxfs_ialloc.c630 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local
642 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 …]
/fs/xfs/
Dxfs_icreate_item.c149 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2() local
201 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()
Dxfs_iwalk.c96 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra() local
104 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()
Dxfs_mount.c690 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local
815 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()
Dxfs_inode.c2605 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local
2614 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()
/fs/xfs/scrub/
Dialloc.c350 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local
368 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()