Searched refs:igeo (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ialloc.c | 708 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() local 722 igeo->ialloc_min_blks < igeo->ialloc_blks) in xfs_ialloc_ag_alloc() 730 newlen = igeo->ialloc_inos; in xfs_ialloc_ag_alloc() 731 if (igeo->maxicount && in xfs_ialloc_ag_alloc() 733 igeo->maxicount) in xfs_ialloc_ag_alloc() 735 args.minlen = args.maxlen = igeo->ialloc_blks; in xfs_ialloc_ag_alloc() 744 igeo->ialloc_blks; in xfs_ialloc_ag_alloc() 765 args.minalignslop = igeo->cluster_align - 1; in xfs_ialloc_ag_alloc() 768 args.minleft = igeo->inobt_maxlevels; in xfs_ialloc_ag_alloc() 797 if (igeo->ialloc_align) { in xfs_ialloc_ag_alloc() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | ialloc_repair.c | 294 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_process_cluster() local 300 nr_inodes = min_t(unsigned int, igeo->inodes_per_cluster, in xrep_ibt_process_cluster() 309 imap.im_len = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); in xrep_ibt_process_cluster() 321 irec_index < igeo->inodes_per_cluster; in xrep_ibt_process_cluster() 343 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_check_inode_ext() local 353 if (!IS_ALIGNED(agbno, igeo->blocks_per_cluster) || in xrep_ibt_check_inode_ext() 354 !IS_ALIGNED(agbno + len, igeo->blocks_per_cluster)) in xrep_ibt_check_inode_ext() 362 (!IS_ALIGNED(agbno, igeo->cluster_align) || in xrep_ibt_check_inode_ext() 363 !IS_ALIGNED(agbno + len, igeo->cluster_align))) in xrep_ibt_check_inode_ext() 415 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_record_inode_blocks() local [all …]
|
| H A D | agheader.c | 980 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi() local 1011 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi() 1020 if (level <= 0 || level > igeo->inobt_maxlevels) in xchk_agi()
|
| /linux/fs/xfs/ |
| H A D | xfs_iwalk.c | 102 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra() local 110 for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) { in xfs_iwalk_ichunk_ra() 113 imask = xfs_inobt_maskn(i, igeo->inodes_per_cluster); in xfs_iwalk_ichunk_ra() 117 igeo->blocks_per_cluster * mp->m_bsize, in xfs_iwalk_ichunk_ra() 120 agbno += igeo->blocks_per_cluster; in xfs_iwalk_ichunk_ra()
|
| H A D | xfs_mount.c | 634 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() local 636 igeo->attr_fork_offset = xfs_bmap_compute_attr_offset(mp); in xfs_mount_setup_inode_geom() 637 ASSERT(igeo->attr_fork_offset < XFS_LITINO(mp)); in xfs_mount_setup_inode_geom() 841 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs() local 947 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { in xfs_mountfs() 951 XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)); in xfs_mountfs()
|
| H A D | xfs_inode.c | 1699 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster() local 1708 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster() 1710 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster() 1718 ASSERT(ioffset % igeo->inodes_per_cluster == 0); in xfs_ifree_cluster() 1735 mp->m_bsize * igeo->blocks_per_cluster, 0, &bp); in xfs_ifree_cluster() 1770 for (i = 0; i < igeo->inodes_per_cluster; i++) in xfs_ifree_cluster()
|