Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_ialloc.c625 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local
638 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 …]
/linux-6.1.9/fs/xfs/
Dxfs_icreate_item.c150 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2() local
202 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()
Dxfs_iwalk.c101 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra() local
109 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()
Dxfs_mount.c588 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() local
590 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() local
735 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()
Dxfs_inode.c2187 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local
2196 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()
/linux-6.1.9/fs/xfs/scrub/
Dialloc.c348 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment() local
366 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()
Dagheader.c851 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi() local
882 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()
891 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()