igeo 621 fs/xfs/libxfs/xfs_ialloc.c struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); igeo 633 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_min_blks < igeo->ialloc_blks) igeo 641 fs/xfs/libxfs/xfs_ialloc.c newlen = igeo->ialloc_inos; igeo 642 fs/xfs/libxfs/xfs_ialloc.c if (igeo->maxicount && igeo 644 fs/xfs/libxfs/xfs_ialloc.c igeo->maxicount) igeo 646 fs/xfs/libxfs/xfs_ialloc.c args.minlen = args.maxlen = igeo->ialloc_blks; igeo 656 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_blks; igeo 679 fs/xfs/libxfs/xfs_ialloc.c args.minalignslop = igeo->cluster_align - 1; igeo 682 fs/xfs/libxfs/xfs_ialloc.c args.minleft = igeo->inobt_maxlevels - 1; igeo 709 fs/xfs/libxfs/xfs_ialloc.c if (igeo->ialloc_align) { igeo 714 fs/xfs/libxfs/xfs_ialloc.c args.alignment = igeo->cluster_align; igeo 730 fs/xfs/libxfs/xfs_ialloc.c args.minleft = igeo->inobt_maxlevels - 1; igeo 743 fs/xfs/libxfs/xfs_ialloc.c args.alignment = igeo->cluster_align; igeo 753 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_min_blks < igeo->ialloc_blks && igeo 762 fs/xfs/libxfs/xfs_ialloc.c args.minlen = igeo->ialloc_min_blks; igeo 778 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_blks; igeo 1692 fs/xfs/libxfs/xfs_ialloc.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 1723 fs/xfs/libxfs/xfs_ialloc.c if (igeo->maxicount && igeo 1724 fs/xfs/libxfs/xfs_ialloc.c percpu_counter_read_positive(&mp->m_icount) + igeo->ialloc_inos igeo 1725 fs/xfs/libxfs/xfs_ialloc.c > igeo->maxicount) { igeo 2765 fs/xfs/libxfs/xfs_ialloc.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 2770 fs/xfs/libxfs/xfs_ialloc.c igeo->agino_log = sbp->sb_inopblog + sbp->sb_agblklog; igeo 2771 fs/xfs/libxfs/xfs_ialloc.c igeo->inobt_mxr[0] = xfs_inobt_maxrecs(mp, sbp->sb_blocksize, 1); igeo 2772 fs/xfs/libxfs/xfs_ialloc.c igeo->inobt_mxr[1] = xfs_inobt_maxrecs(mp, sbp->sb_blocksize, 0); igeo 2773 fs/xfs/libxfs/xfs_ialloc.c igeo->inobt_mnr[0] = igeo->inobt_mxr[0] / 2; igeo 2774 fs/xfs/libxfs/xfs_ialloc.c igeo->inobt_mnr[1] = igeo->inobt_mxr[1] / 2; igeo 2776 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_inos = max_t(uint16_t, XFS_INODES_PER_CHUNK, igeo 2778 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_blks = igeo->ialloc_inos >> sbp->sb_inopblog; igeo 2781 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_min_blks = sbp->sb_spino_align; igeo 2783 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_min_blks = igeo->ialloc_blks; igeo 2787 fs/xfs/libxfs/xfs_ialloc.c igeo->inobt_maxlevels = xfs_btree_compute_maxlevels(igeo->inobt_mnr, igeo 2796 fs/xfs/libxfs/xfs_ialloc.c if (sbp->sb_imax_pct && igeo->ialloc_blks) { igeo 2803 fs/xfs/libxfs/xfs_ialloc.c do_div(icount, igeo->ialloc_blks); igeo 2804 fs/xfs/libxfs/xfs_ialloc.c igeo->maxicount = XFS_FSB_TO_INO(mp, igeo 2805 fs/xfs/libxfs/xfs_ialloc.c icount * igeo->ialloc_blks); igeo 2807 fs/xfs/libxfs/xfs_ialloc.c igeo->maxicount = 0; igeo 2820 fs/xfs/libxfs/xfs_ialloc.c igeo->inode_cluster_size_raw = XFS_INODE_BIG_CLUSTER_SIZE; igeo 2822 fs/xfs/libxfs/xfs_ialloc.c int new_size = igeo->inode_cluster_size_raw; igeo 2826 fs/xfs/libxfs/xfs_ialloc.c igeo->inode_cluster_size_raw = new_size; igeo 2830 fs/xfs/libxfs/xfs_ialloc.c if (igeo->inode_cluster_size_raw > mp->m_sb.sb_blocksize) igeo 2831 fs/xfs/libxfs/xfs_ialloc.c igeo->blocks_per_cluster = XFS_B_TO_FSBT(mp, igeo 2832 fs/xfs/libxfs/xfs_ialloc.c igeo->inode_cluster_size_raw); igeo 2834 fs/xfs/libxfs/xfs_ialloc.c igeo->blocks_per_cluster = 1; igeo 2835 fs/xfs/libxfs/xfs_ialloc.c igeo->inode_cluster_size = XFS_FSB_TO_B(mp, igeo->blocks_per_cluster); igeo 2836 fs/xfs/libxfs/xfs_ialloc.c igeo->inodes_per_cluster = XFS_FSB_TO_INO(mp, igeo->blocks_per_cluster); igeo 2840 fs/xfs/libxfs/xfs_ialloc.c mp->m_sb.sb_inoalignmt >= igeo->blocks_per_cluster) igeo 2841 fs/xfs/libxfs/xfs_ialloc.c igeo->cluster_align = mp->m_sb.sb_inoalignmt; igeo 2843 fs/xfs/libxfs/xfs_ialloc.c igeo->cluster_align = 1; igeo 2844 fs/xfs/libxfs/xfs_ialloc.c igeo->inoalign_mask = igeo->cluster_align - 1; igeo 2845 fs/xfs/libxfs/xfs_ialloc.c igeo->cluster_align_inodes = XFS_FSB_TO_INO(mp, igeo->cluster_align); igeo 2851 fs/xfs/libxfs/xfs_ialloc.c if (mp->m_dalign && igeo->inoalign_mask && igeo 2852 fs/xfs/libxfs/xfs_ialloc.c !(mp->m_dalign & igeo->inoalign_mask)) igeo 2853 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_align = mp->m_dalign; igeo 2855 fs/xfs/libxfs/xfs_ialloc.c igeo->ialloc_align = 0; igeo 351 fs/xfs/scrub/ialloc.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 369 fs/xfs/scrub/ialloc.c igeo->cluster_align_inodes) - 1; igeo 397 fs/xfs/scrub/ialloc.c if (irec->ir_startino & (igeo->cluster_align_inodes - 1)) { igeo 402 fs/xfs/scrub/ialloc.c if (irec->ir_startino & (igeo->inodes_per_cluster - 1)) { igeo 407 fs/xfs/scrub/ialloc.c if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) igeo 416 fs/xfs/scrub/ialloc.c iabt->next_cluster_ino = irec->ir_startino + igeo->inodes_per_cluster; igeo 2534 fs/xfs/xfs_inode.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 2539 fs/xfs/xfs_inode.c nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; igeo 2541 fs/xfs/xfs_inode.c for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { igeo 2549 fs/xfs/xfs_inode.c ASSERT(ioffset % igeo->inodes_per_cluster == 0); igeo 2565 fs/xfs/xfs_inode.c mp->m_bsize * igeo->blocks_per_cluster, igeo 2612 fs/xfs/xfs_inode.c for (i = 0; i < igeo->inodes_per_cluster; i++) { igeo 3474 fs/xfs/xfs_inode.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 3481 fs/xfs/xfs_inode.c cilist_size = igeo->inodes_per_cluster * sizeof(struct xfs_inode *); igeo 3486 fs/xfs/xfs_inode.c mask = ~(igeo->inodes_per_cluster - 1); igeo 3491 fs/xfs/xfs_inode.c first_index, igeo->inodes_per_cluster); igeo 93 fs/xfs/xfs_iwalk.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 101 fs/xfs/xfs_iwalk.c for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) { igeo 104 fs/xfs/xfs_iwalk.c imask = xfs_inobt_maskn(i, igeo->inodes_per_cluster); igeo 107 fs/xfs/xfs_iwalk.c igeo->blocks_per_cluster, igeo 110 fs/xfs/xfs_iwalk.c agbno += igeo->blocks_per_cluster; igeo 3772 fs/xfs/xfs_log_recover.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 3824 fs/xfs/xfs_log_recover.c if (length != igeo->ialloc_blks && igeo 3825 fs/xfs/xfs_log_recover.c length != igeo->ialloc_min_blks) { igeo 3845 fs/xfs/xfs_log_recover.c bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster); igeo 3846 fs/xfs/xfs_log_recover.c nbufs = length / igeo->blocks_per_cluster; igeo 3851 fs/xfs/xfs_log_recover.c agbno + i * igeo->blocks_per_cluster); igeo 635 fs/xfs/xfs_mount.c struct xfs_ino_geometry *igeo = M_IGEO(mp); igeo 745 fs/xfs/xfs_mount.c XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw)) { igeo 749 fs/xfs/xfs_mount.c XFS_B_TO_FSBT(mp, igeo->inode_cluster_size_raw));