Lines Matching refs:pm_maxcluster
387 KASSERT(cn <= pmp->pm_maxcluster, ("cn too large %lu %lu", cn,
388 pmp->pm_maxcluster));
407 KASSERT(cn <= pmp->pm_maxcluster, ("cn too large %lu %lu", cn,
408 pmp->pm_maxcluster));
501 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
582 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
647 if (start > pmp->pm_maxcluster)
649 max_idx = pmp->pm_maxcluster / N_INUSEBITS;
657 if (start + len > pmp->pm_maxcluster)
658 len = pmp->pm_maxcluster - start + 1;
664 if (start + len > pmp->pm_maxcluster)
665 len = pmp->pm_maxcluster - start + 1;
679 if (start + len > pmp->pm_maxcluster)
680 len = pmp->pm_maxcluster - start + 1;
709 if (pmp->pm_nxtfree > pmp->pm_maxcluster)
775 for (cn = newst; cn <= pmp->pm_maxcluster;) {
836 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
902 for (cn = 0; cn < (pmp->pm_maxcluster + N_INUSEBITS) / N_INUSEBITS; cn++)
911 for (cn = 0; cn <= pmp->pm_maxcluster; cn++) {
949 for (cn = pmp->pm_maxcluster + 1; cn < (pmp->pm_maxcluster +