Lines Matching refs:am_nslot
184 amap->am_nslot = slots;
401 * entries, and so any slot from 0 to am_nslot can have an
412 amap_wiperange(amap, slotendoff, amap->am_nslot - slotendoff);
417 for (i = slotendoff; i < amap->am_nslot - slotendoff; i++) {
428 if (amap->am_nslot >= slotneed) {
467 if ((slotoff + slotmapped) < amap->am_nslot)
470 (amap->am_nslot -
472 pp_setreflen(amap->am_ppref, amap->am_nslot, 1,
473 slotneed - amap->am_nslot);
476 amap->am_nslot = slotneed;
537 amap->am_nslot = amap->am_maxslot;
597 slotadded = slotalloc - amap->am_nslot;
614 sizeof(struct vm_anon *) * amap->am_nslot);
615 memset(newover + amap->am_nslot, 0,
628 memcpy(newbck, oldbck, sizeof(int) * amap->am_nslot);
640 sizeof(int) * amap->am_nslot);
641 memset(newppref + amap->am_nslot, 0,
649 (slotoff + slotmapped) < amap->am_nslot)
651 (amap->am_nslot - (slotoff + slotmapped)), 1);
653 pp_setreflen(newppref, amap->am_nslot, 1,
654 slotneed - amap->am_nslot);
669 amap->am_nslot = slotneed;
672 amap->am_nslot = slotalloc;
1153 KASSERT(amap->am_nslot - origref->ar_pageoff - leftslots > 0);
1189 amap->am_nslot - offset);
1462 KASSERT(slot < amap->am_nslot);
1487 slot, npages, amap->am_nslot, 0);
1489 KASSERT((slot + (npages - 1)) < amap->am_nslot);
1524 KASSERT(slot < amap->am_nslot);
1565 KASSERT(slot < amap->am_nslot);