lcv              1123 arch/i386/i386/pmap.c 	int tofree, lcv;
lcv              1130 arch/i386/i386/pmap.c 	for (lcv = 0 ; lcv < tofree ; lcv++) {
lcv              1131 arch/i386/i386/pmap.c 		pvp->pvents[lcv].pv_next = pvp->pvinfo.pvpi_pvfree;
lcv              1132 arch/i386/i386/pmap.c 		pvp->pvinfo.pvpi_pvfree = &pvp->pvents[lcv];
lcv              1139 arch/i386/i386/pmap.c 	return((need_entry) ? &pvp->pvents[lcv] : NULL);
lcv               669 dev/ic/midway.c   u_int32_t reg, lcv, check, ptr, sav, midvloc;
lcv               682 dev/ic/midway.c   for (lcv = MID_PROBEOFF; lcv <= MID_MAXOFF ; lcv += MID_PROBSIZE) {
lcv               683 dev/ic/midway.c     EN_WRITE(sc, lcv, lcv);	/* data[address] = address */
lcv               684 dev/ic/midway.c     for (check = MID_PROBEOFF ; check < lcv ; check += MID_PROBSIZE) {
lcv               692 dev/ic/midway.c   lcv -= MID_PROBSIZE;			/* take one step back */
lcv               693 dev/ic/midway.c   sc->en_obmemsz = (lcv + 4) - MID_RAMOFF;
lcv               708 dev/ic/midway.c   for (lcv = MID_RAMOFF ; lcv < MID_RAMOFF + sc->en_obmemsz ; lcv += 4)
lcv               709 dev/ic/midway.c     EN_WRITE(sc, lcv, 0);	/* zero memory */
lcv               756 dev/ic/midway.c   for (lcv = 0 ; lcv < MID_N_VC ; lcv++) {
lcv               757 dev/ic/midway.c     sc->rxvc2slot[lcv] = RX_NONE;
lcv               758 dev/ic/midway.c     sc->txspeed[lcv] = 0;	/* full */
lcv               759 dev/ic/midway.c     sc->txvc2slot[lcv] = 0;	/* full speed == slot 0 */
lcv               770 dev/ic/midway.c   for (lcv = 0 ; lcv < EN_NTX ; lcv++) {
lcv               771 dev/ic/midway.c     sc->txslot[lcv].mbsize = 0;
lcv               772 dev/ic/midway.c     sc->txslot[lcv].start = ptr;
lcv               775 dev/ic/midway.c     sc->txslot[lcv].stop = ptr;
lcv               776 dev/ic/midway.c     sc->txslot[lcv].nref = 0;
lcv               777 dev/ic/midway.c     bzero(&sc->txslot[lcv].indma, sizeof(sc->txslot[lcv].indma));
lcv               778 dev/ic/midway.c     bzero(&sc->txslot[lcv].q, sizeof(sc->txslot[lcv].q));
lcv               780 dev/ic/midway.c     printf("%s: tx%d: start 0x%x, stop 0x%x\n", sc->sc_dev.dv_xname, lcv,
lcv               781 dev/ic/midway.c 		sc->txslot[lcv].start, sc->txslot[lcv].stop);
lcv               801 dev/ic/midway.c   for (lcv = 0 ; lcv < sc->en_nrx ; lcv++) {
lcv               802 dev/ic/midway.c     sc->rxslot[lcv].rxhand = NULL;
lcv               803 dev/ic/midway.c     sc->rxslot[lcv].oth_flags = ENOTHER_FREE;
lcv               804 dev/ic/midway.c     bzero(&sc->rxslot[lcv].indma, sizeof(sc->rxslot[lcv].indma));
lcv               805 dev/ic/midway.c     bzero(&sc->rxslot[lcv].q, sizeof(sc->rxslot[lcv].q));
lcv               806 dev/ic/midway.c     midvloc = sc->rxslot[lcv].start = ptr;
lcv               809 dev/ic/midway.c     sc->rxslot[lcv].stop = ptr;
lcv               814 dev/ic/midway.c     sc->rxslot[lcv].mode = midvloc | 
lcv               819 dev/ic/midway.c 	lcv, sc->rxslot[lcv].start, sc->rxslot[lcv].stop, sc->rxslot[lcv].mode);
lcv               871 dev/ic/midway.c   int bestalgn, bestnotalgn, lcv, try, fail;
lcv               884 dev/ic/midway.c   for (lcv = 4 ; lcv < MIDDMA_MAXBURST ; lcv += 4) {
lcv               885 dev/ic/midway.c     try = en_dmaprobe_doit(sc, sp+lcv, dp+lcv, 0);
lcv               919 dev/ic/midway.c   for (lcv = 4 ; lcv < sc->bestburstlen ; lcv += 4) {
lcv               920 dev/ic/midway.c     fail += en_dmaprobe_doit(sc, sp+lcv, dp+lcv, try);
lcv               946 dev/ic/midway.c   int lcv, retval = 4, cnt, count;
lcv               964 dev/ic/midway.c   for (lcv = 0 ; lcv < 68 ; lcv++) 		/* set up sample data */
lcv               965 dev/ic/midway.c     sp[lcv] = lcv+1;
lcv               984 dev/ic/midway.c   for (lcv = 8 ; lcv <= MIDDMA_MAXBURST ; lcv = lcv * 2) {
lcv               997 dev/ic/midway.c       bcode = en_sz2b(lcv);
lcv              1001 dev/ic/midway.c       EN_WRITE(sc, sc->dtq_chip, MID_MK_TXQ_ADP(lcv, 0, MID_DMA_END, 0));
lcv              1027 dev/ic/midway.c       EN_WRITE(sc, sc->drq_chip, MID_MK_RXQ_ADP(lcv, 0, MID_DMA_END, 0));
lcv              1054 dev/ic/midway.c     if (bcmp(sp, dp, lcv))
lcv              1057 dev/ic/midway.c     retval = lcv;
lcv              1285 dev/ic/midway.c   int lcv, slot;
lcv              1300 dev/ic/midway.c   for (lcv = 0 ; lcv < MID_N_VC ; lcv++) {
lcv              1301 dev/ic/midway.c     if (sc->rxvc2slot[lcv] == RX_NONE)
lcv              1303 dev/ic/midway.c     slot = sc->rxvc2slot[lcv];
lcv              1319 dev/ic/midway.c       sc->rxvc2slot[lcv] = RX_NONE;
lcv              1321 dev/ic/midway.c   printf("%s: rx%d: VCI %d is now free\n", sc->sc_dev.dv_xname, slot, lcv);
lcv              1330 dev/ic/midway.c   for (lcv = 0 ; lcv < EN_NTX ; lcv++) {
lcv              1332 dev/ic/midway.c       IF_DEQUEUE(&sc->txslot[lcv].indma, m);
lcv              1338 dev/ic/midway.c       IF_DEQUEUE(&sc->txslot[lcv].q, m);
lcv              1343 dev/ic/midway.c     sc->txslot[lcv].mbsize = 0;
lcv              2346 dev/ic/midway.c   int lcv, idx, need_softserv = 0;
lcv              2388 dev/ic/midway.c     for (mask = 1, lcv = 0 ; lcv < EN_NTX ; lcv++, mask = mask * 2) {
lcv              2389 dev/ic/midway.c       if (reg & MID_TXCHAN(lcv)) {
lcv              2391 dev/ic/midway.c 	val = EN_READ(sc, MIDX_READPTR(lcv));	/* current read pointer */
lcv              2392 dev/ic/midway.c 	val = (val * sizeof(u_int32_t)) + sc->txslot[lcv].start;
lcv              2394 dev/ic/midway.c 	if (val > sc->txslot[lcv].cur)
lcv              2395 dev/ic/midway.c 	  sc->txslot[lcv].bfree = val - sc->txslot[lcv].cur;
lcv              2397 dev/ic/midway.c 	  sc->txslot[lcv].bfree = (val + (EN_TXSZ*1024)) - sc->txslot[lcv].cur;
lcv              2400 dev/ic/midway.c 		sc->sc_dev.dv_xname, lcv, sc->txslot[lcv].bfree);
lcv              2451 dev/ic/midway.c     for (mask = 1, lcv = 0 ; lcv < EN_NTX ; lcv++, mask = mask * 2) {
lcv              2452 dev/ic/midway.c       if ((kick & mask) && sc->txslot[lcv].q.ifq_head) {
lcv              2453 dev/ic/midway.c 	en_txdma(sc, lcv);		/* kick it! */
lcv              3040 dev/ic/midway.c   int lcv, cnt, slot;
lcv              3043 dev/ic/midway.c   for (lcv = 0 ; lcv < en_cd.cd_ndevs ; lcv++) {
lcv              3044 dev/ic/midway.c     sc = (struct en_softc *) en_cd.cd_devs[lcv];
lcv              3046 dev/ic/midway.c     if (unit != -1 && unit != lcv)
lcv              2704 dev/pci/if_san_te1.c 	pmon->lcv += ((READ_REG(REG_PMON_LCV_MSB_COUNT) &
lcv               478 uvm/uvm_amap.c 	int slots, lcv, slot, stop;
lcv               485 uvm/uvm_amap.c 		for (lcv = entry->aref.ar_pageoff ; lcv < stop ; lcv++) {
lcv               486 uvm/uvm_amap.c 			if (amap->am_anon[lcv] == NULL)
lcv               488 uvm/uvm_amap.c 			if (amap->am_anon[lcv]->an_page != NULL)
lcv               489 uvm/uvm_amap.c 				pmap_page_protect(amap->am_anon[lcv]->an_page,
lcv               496 uvm/uvm_amap.c 	for (lcv = 0 ; lcv < amap->am_nused ; lcv++) {
lcv               497 uvm/uvm_amap.c 		slot = amap->am_slots[lcv];
lcv               517 uvm/uvm_amap.c 	int lcv, slot;
lcv               532 uvm/uvm_amap.c 	for (lcv = 0 ; lcv < amap->am_nused ; lcv++) {
lcv               535 uvm/uvm_amap.c 		slot = amap->am_slots[lcv];
lcv               585 uvm/uvm_amap.c 	int slots, lcv;
lcv               679 uvm/uvm_amap.c 	for (lcv = 0 ; lcv < slots; lcv++) {
lcv               680 uvm/uvm_amap.c 		amap->am_anon[lcv] =
lcv               681 uvm/uvm_amap.c 		    srcamap->am_anon[entry->aref.ar_pageoff + lcv];
lcv               682 uvm/uvm_amap.c 		if (amap->am_anon[lcv] == NULL)
lcv               684 uvm/uvm_amap.c 		simple_lock(&amap->am_anon[lcv]->an_lock);
lcv               685 uvm/uvm_amap.c 		amap->am_anon[lcv]->an_ref++;
lcv               686 uvm/uvm_amap.c 		simple_unlock(&amap->am_anon[lcv]->an_lock);
lcv               687 uvm/uvm_amap.c 		amap->am_bckptr[lcv] = amap->am_nused;
lcv               688 uvm/uvm_amap.c 		amap->am_slots[amap->am_nused] = lcv;
lcv               691 uvm/uvm_amap.c 	memset(&amap->am_anon[lcv], 0,
lcv               692 uvm/uvm_amap.c 	    (amap->am_maxslot - lcv) * sizeof(struct vm_anon *));
lcv               753 uvm/uvm_amap.c 	int lcv, slot;
lcv               763 uvm/uvm_amap.c 	for (lcv = 0 ; lcv < amap->am_nused ; lcv++) {
lcv               769 uvm/uvm_amap.c 		slot = amap->am_slots[lcv];
lcv               932 uvm/uvm_amap.c  	int stopslot, *ppref, lcv, prevlcv;
lcv               944 uvm/uvm_amap.c 	for (lcv = 0 ; lcv < curslot ; lcv += len) {
lcv               945 uvm/uvm_amap.c 		pp_getreflen(ppref, lcv, &ref, &len);
lcv               946 uvm/uvm_amap.c 		if (lcv + len > curslot) {     /* goes past start? */
lcv               947 uvm/uvm_amap.c 			pp_setreflen(ppref, lcv, ref, curslot - lcv);
lcv               948 uvm/uvm_amap.c 			pp_setreflen(ppref, curslot, ref, len - (curslot -lcv));
lcv               949 uvm/uvm_amap.c 			len = curslot - lcv;   /* new length of entry @ lcv */
lcv               951 uvm/uvm_amap.c 		prevlcv = lcv;
lcv               953 uvm/uvm_amap.c 	if (lcv != 0)
lcv               970 uvm/uvm_amap.c 	if (lcv != curslot)
lcv               973 uvm/uvm_amap.c 	for (/* lcv already set */; lcv < stopslot ; lcv += len) {
lcv               974 uvm/uvm_amap.c 		pp_getreflen(ppref, lcv, &ref, &len);
lcv               975 uvm/uvm_amap.c 		if (lcv + len > stopslot) {     /* goes past end? */
lcv               976 uvm/uvm_amap.c 			pp_setreflen(ppref, lcv, ref, stopslot - lcv);
lcv               978 uvm/uvm_amap.c 			    len - (stopslot - lcv));
lcv               979 uvm/uvm_amap.c 			len = stopslot - lcv;
lcv               984 uvm/uvm_amap.c 		if (lcv == prevlcv + prevlen && ref == prevref) {
lcv               987 uvm/uvm_amap.c 			pp_setreflen(ppref, lcv, ref, len);
lcv               990 uvm/uvm_amap.c 			amap_wiperange(amap, lcv, len);
lcv              1004 uvm/uvm_amap.c 	int byanon, lcv, stop, curslot, ptr, slotend;
lcv              1014 uvm/uvm_amap.c 		lcv = slotoff;
lcv              1018 uvm/uvm_amap.c 		lcv = 0;
lcv              1023 uvm/uvm_amap.c 	while (lcv < stop) {
lcv              1027 uvm/uvm_amap.c 			curslot = lcv++;	/* lcv advances here */
lcv              1031 uvm/uvm_amap.c 			curslot = amap->am_slots[lcv];
lcv              1033 uvm/uvm_amap.c 				lcv++;		/* lcv advances here */
lcv               964 uvm/uvm_aobj.c 	int lcv, gotpages, maxpages, swslot, rv, pageidx;
lcv               990 uvm/uvm_aobj.c 		for (lcv = 0, current_offset = offset ; lcv < maxpages ;
lcv               991 uvm/uvm_aobj.c 		    lcv++, current_offset += PAGE_SIZE) {
lcv               993 uvm/uvm_aobj.c 			if (pps[lcv] == PGO_DONTCARE)
lcv              1021 uvm/uvm_aobj.c 				if (lcv == centeridx ||
lcv              1035 uvm/uvm_aobj.c 			pps[lcv] = ptmp;
lcv              1061 uvm/uvm_aobj.c 	for (lcv = 0, current_offset = offset ; lcv < maxpages ;
lcv              1062 uvm/uvm_aobj.c 	    lcv++, current_offset += PAGE_SIZE) {
lcv              1069 uvm/uvm_aobj.c 		if (pps[lcv] != NULL ||
lcv              1070 uvm/uvm_aobj.c 		    (lcv != centeridx && (flags & PGO_ALLPAGES) == 0))
lcv              1092 uvm/uvm_aobj.c 		while (pps[lcv] == NULL) {
lcv              1147 uvm/uvm_aobj.c 			pps[lcv] = ptmp;
lcv              1154 uvm/uvm_aobj.c 		if (pps[lcv])
lcv              1230 uvm/uvm_aobj.c 		pps[lcv] = ptmp;
lcv               122 uvm/uvm_device.c 	struct uvm_device *udv, *lcv;
lcv               170 uvm/uvm_device.c 		LIST_FOREACH(lcv, &udv_list, u_list) {
lcv               171 uvm/uvm_device.c 			if (device == lcv->u_device)
lcv               179 uvm/uvm_device.c 		if (lcv) {
lcv               186 uvm/uvm_device.c 			if (lcv->u_flags & UVM_DEVICE_HOLD) {
lcv               187 uvm/uvm_device.c 				lcv->u_flags |= UVM_DEVICE_WANTED;
lcv               188 uvm/uvm_device.c 				UVM_UNLOCK_AND_WAIT(lcv, &udv_lock, FALSE,
lcv               194 uvm/uvm_device.c 			lcv->u_flags |= UVM_DEVICE_HOLD;
lcv               201 uvm/uvm_device.c 			simple_lock(&lcv->u_obj.vmobjlock);
lcv               202 uvm/uvm_device.c 			lcv->u_obj.uo_refs++;
lcv               203 uvm/uvm_device.c 			simple_unlock(&lcv->u_obj.vmobjlock);
lcv               206 uvm/uvm_device.c 			if (lcv->u_flags & UVM_DEVICE_WANTED)
lcv               207 uvm/uvm_device.c 				wakeup(lcv);
lcv               208 uvm/uvm_device.c 			lcv->u_flags &= ~(UVM_DEVICE_WANTED|UVM_DEVICE_HOLD);
lcv               210 uvm/uvm_device.c 			return(&lcv->u_obj);
lcv               228 uvm/uvm_device.c 		LIST_FOREACH(lcv, &udv_list, u_list) {
lcv               229 uvm/uvm_device.c 			if (device == lcv->u_device)
lcv               238 uvm/uvm_device.c 		if (lcv) {
lcv               388 uvm/uvm_device.c 	int lcv, retval;
lcv               431 uvm/uvm_device.c 	for (lcv = 0 ; lcv < npages ; lcv++, curr_offset += PAGE_SIZE,
lcv               433 uvm/uvm_device.c 		if ((flags & PGO_ALLPAGES) == 0 && lcv != centeridx)
lcv               436 uvm/uvm_device.c 		if (pps[lcv] == PGO_DONTCARE)
lcv               196 uvm/uvm_fault.c 	int lcv;
lcv               199 uvm/uvm_fault.c 	for (lcv = 0 ; lcv < n ; lcv++) {
lcv               200 uvm/uvm_fault.c 		if (anons[lcv] == NULL)
lcv               202 uvm/uvm_fault.c 		simple_lock(&anons[lcv]->an_lock);
lcv               203 uvm/uvm_fault.c 		pg = anons[lcv]->an_page;
lcv               216 uvm/uvm_fault.c 		simple_unlock(&anons[lcv]->an_lock);
lcv               568 uvm/uvm_fault.c 	int npages, nback, nforw, centeridx, result, lcv, gotpages;
lcv               788 uvm/uvm_fault.c 	for (lcv = 0 ; lcv < npages ; lcv++, currva += PAGE_SIZE) {
lcv               794 uvm/uvm_fault.c 		if (lcv != centeridx &&
lcv               796 uvm/uvm_fault.c 			pages[lcv] = PGO_DONTCARE;
lcv               803 uvm/uvm_fault.c 		if (amap == NULL || anons[lcv] == NULL) {
lcv               804 uvm/uvm_fault.c 			pages[lcv] = NULL;
lcv               812 uvm/uvm_fault.c 		pages[lcv] = PGO_DONTCARE;
lcv               813 uvm/uvm_fault.c 		if (lcv == centeridx) {		/* save center for later! */
lcv               817 uvm/uvm_fault.c 		anon = anons[lcv];
lcv               920 uvm/uvm_fault.c 			for (lcv = 0 ; lcv < npages ;
lcv               921 uvm/uvm_fault.c 			    lcv++, currva += PAGE_SIZE) {
lcv               923 uvm/uvm_fault.c 				if (pages[lcv] == NULL ||
lcv               924 uvm/uvm_fault.c 				    pages[lcv] == PGO_DONTCARE)
lcv               927 uvm/uvm_fault.c 				KASSERT((pages[lcv]->pg_flags & PG_RELEASED) == 0);
lcv               937 uvm/uvm_fault.c 				if (lcv == centeridx) {
lcv               938 uvm/uvm_fault.c 					uobjpage = pages[lcv];
lcv               955 uvm/uvm_fault.c 				uvm_pageactivate(pages[lcv]);	/* reactivate */
lcv               959 uvm/uvm_fault.c 				  ufi.orig_map->pmap, currva, pages[lcv], 0);
lcv               970 uvm/uvm_fault.c 				    VM_PAGE_TO_PHYS(pages[lcv]),
lcv               981 uvm/uvm_fault.c 				atomic_clearbits_int(&pages[lcv]->pg_flags,
lcv               983 uvm/uvm_fault.c 				UVM_PAGE_OWN(pages[lcv], NULL);
lcv               525 uvm/uvm_map.c  	int lcv;
lcv               550 uvm/uvm_map.c  	for (lcv = 0 ; lcv < MAX_KMAPENT ; lcv++) {
lcv               551 uvm/uvm_map.c  		kernel_map_entry[lcv].next = uvm.kentry_free;
lcv               552 uvm/uvm_map.c  		uvm.kentry_free = &kernel_map_entry[lcv];
lcv               222 uvm/uvm_page.c 	int lcv, i;  
lcv               236 uvm/uvm_page.c 	for (lcv = 0; lcv < VM_NFREELIST; lcv++) {
lcv               238 uvm/uvm_page.c 			TAILQ_INIT(&uvm.page_free[lcv].pgfl_queues[i]);
lcv               281 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               282 uvm/uvm_page.c 		freepages += (vm_physmem[lcv].end - vm_physmem[lcv].start);
lcv               304 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++) {
lcv               305 uvm/uvm_page.c 		n = vm_physmem[lcv].end - vm_physmem[lcv].start;
lcv               314 uvm/uvm_page.c 		vm_physmem[lcv].pgs = pagearray;
lcv               317 uvm/uvm_page.c 		vm_physmem[lcv].lastpg = vm_physmem[lcv].pgs + (n - 1);
lcv               320 uvm/uvm_page.c 		paddr = ptoa(vm_physmem[lcv].start);
lcv               322 uvm/uvm_page.c 			vm_physmem[lcv].pgs[i].phys_addr = paddr;
lcv               324 uvm/uvm_page.c 			VM_MDPAGE_INIT(&vm_physmem[lcv].pgs[i]);
lcv               326 uvm/uvm_page.c 			if (atop(paddr) >= vm_physmem[lcv].avail_start &&
lcv               327 uvm/uvm_page.c 			    atop(paddr) <= vm_physmem[lcv].avail_end) {
lcv               330 uvm/uvm_page.c 				uvm_pagefree(&vm_physmem[lcv].pgs[i]);
lcv               503 uvm/uvm_page.c 	int lcv, x;
lcv               509 uvm/uvm_page.c 	for (lcv = vm_nphysseg - 1 ; lcv >= 0 ; lcv--)
lcv               511 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               518 uvm/uvm_page.c 		if (vm_physmem[lcv].free_list != freelist)
lcv               522 uvm/uvm_page.c 		if (vm_physmem[lcv].avail_start == vm_physmem[lcv].start &&
lcv               523 uvm/uvm_page.c 		    vm_physmem[lcv].avail_start < vm_physmem[lcv].avail_end) {
lcv               524 uvm/uvm_page.c 			*paddrp = ptoa(vm_physmem[lcv].avail_start);
lcv               525 uvm/uvm_page.c 			vm_physmem[lcv].avail_start++;
lcv               526 uvm/uvm_page.c 			vm_physmem[lcv].start++;
lcv               528 uvm/uvm_page.c 			if (vm_physmem[lcv].avail_start ==
lcv               529 uvm/uvm_page.c 			    vm_physmem[lcv].end) {
lcv               533 uvm/uvm_page.c 				for (x = lcv ; x < vm_nphysseg ; x++)
lcv               541 uvm/uvm_page.c 		if (vm_physmem[lcv].avail_end == vm_physmem[lcv].end &&
lcv               542 uvm/uvm_page.c 		    vm_physmem[lcv].avail_start < vm_physmem[lcv].avail_end) {
lcv               543 uvm/uvm_page.c 			*paddrp = ptoa(vm_physmem[lcv].avail_end - 1);
lcv               544 uvm/uvm_page.c 			vm_physmem[lcv].avail_end--;
lcv               545 uvm/uvm_page.c 			vm_physmem[lcv].end--;
lcv               547 uvm/uvm_page.c 			if (vm_physmem[lcv].avail_end ==
lcv               548 uvm/uvm_page.c 			    vm_physmem[lcv].start) {
lcv               552 uvm/uvm_page.c 				for (x = lcv ; x < vm_nphysseg ; x++)
lcv               563 uvm/uvm_page.c 	for (lcv = vm_nphysseg - 1 ; lcv >= 0 ; lcv--)
lcv               565 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               570 uvm/uvm_page.c 		if (vm_physmem[lcv].avail_start >= vm_physmem[lcv].avail_end)
lcv               573 uvm/uvm_page.c 		*paddrp = ptoa(vm_physmem[lcv].avail_start);
lcv               574 uvm/uvm_page.c 		vm_physmem[lcv].avail_start++;
lcv               576 uvm/uvm_page.c 		vm_physmem[lcv].start = vm_physmem[lcv].avail_start;
lcv               579 uvm/uvm_page.c 		if (vm_physmem[lcv].avail_start == vm_physmem[lcv].end) {
lcv               583 uvm/uvm_page.c 			for (x = lcv ; x < vm_nphysseg ; x++)
lcv               622 uvm/uvm_page.c 	int preload, lcv;
lcv               652 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++) {
lcv               653 uvm/uvm_page.c 		if (vm_physmem[lcv].pgs)
lcv               656 uvm/uvm_page.c 	preload = (lcv == vm_nphysseg);
lcv               678 uvm/uvm_page.c 		for (lcv = 0, paddr = ptoa(start) ;
lcv               679 uvm/uvm_page.c 				 lcv < npages ; lcv++, paddr += PAGE_SIZE) {
lcv               680 uvm/uvm_page.c 			pgs[lcv].phys_addr = paddr;
lcv               681 uvm/uvm_page.c 			pgs[lcv].free_list = free_list;
lcv               684 uvm/uvm_page.c 				uvm_pagefree(&pgs[lcv]);
lcv               711 uvm/uvm_page.c 		for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               712 uvm/uvm_page.c 			if (start < vm_physmem[lcv].start)
lcv               714 uvm/uvm_page.c 		ps = &vm_physmem[lcv];
lcv               716 uvm/uvm_page.c 		for (x = vm_nphysseg ; x > lcv ; x--)
lcv               726 uvm/uvm_page.c 		for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               728 uvm/uvm_page.c 			    (vm_physmem[lcv].end - vm_physmem[lcv].start))
lcv               730 uvm/uvm_page.c 		ps = &vm_physmem[lcv];
lcv               732 uvm/uvm_page.c 		for (x = vm_nphysseg ; x > lcv ; x--)
lcv               773 uvm/uvm_page.c 	int freepages, lcv, bucketcount, s, oldcount;
lcv               783 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               785 uvm/uvm_page.c 		    (vm_physmem[lcv].avail_end - vm_physmem[lcv].avail_start);
lcv               814 uvm/uvm_page.c 	for (lcv = 0 ; lcv < bucketcount ; lcv++)
lcv               815 uvm/uvm_page.c 		TAILQ_INIT(&newbuckets[lcv]);
lcv               828 uvm/uvm_page.c 	for (lcv = 0 ; lcv < oldcount ; lcv++) {
lcv               829 uvm/uvm_page.c 		while ((pg = TAILQ_FIRST(&oldbuckets[lcv])) != NULL) {
lcv               830 uvm/uvm_page.c 			TAILQ_REMOVE(&oldbuckets[lcv], pg, hashq);
lcv               861 uvm/uvm_page.c 	int lcv;
lcv               865 uvm/uvm_page.c 	for (lcv = 0 ; lcv < vm_nphysseg ; lcv++)
lcv               867 uvm/uvm_page.c 		    (long long)vm_physmem[lcv].start,
lcv               868 uvm/uvm_page.c 		    (long long)vm_physmem[lcv].end,
lcv               869 uvm/uvm_page.c 		    (long long)vm_physmem[lcv].avail_start,
lcv               870 uvm/uvm_page.c 		    (long long)vm_physmem[lcv].avail_end);
lcv               908 uvm/uvm_page.c 	int lcv, try1, try2, s, zeroit = 0;
lcv               976 uvm/uvm_page.c 		for (lcv = 0; lcv < VM_NFREELIST; lcv++) {
lcv               977 uvm/uvm_page.c 			pgfl = &uvm.page_free[lcv];
lcv               376 uvm/uvm_page.h 	int	lcv;
lcv               378 uvm/uvm_page.h 	for (lcv = 0; lcv < vm_nphysseg; lcv++) {
lcv               379 uvm/uvm_page.h 		if (pframe >= vm_physmem[lcv].start &&
lcv               380 uvm/uvm_page.h 		    pframe < vm_physmem[lcv].end) {
lcv               382 uvm/uvm_page.h 				*offp = pframe - vm_physmem[lcv].start;
lcv               383 uvm/uvm_page.h 			return(lcv);		   /* got it */
lcv               298 uvm/uvm_page_i.h 	int lcv;
lcv               300 uvm/uvm_page_i.h 	lcv = vm_physseg_find(atop(VM_PAGE_TO_PHYS(pg)), NULL);
lcv               301 uvm/uvm_page_i.h 	KASSERT(lcv != -1);
lcv               302 uvm/uvm_page_i.h 	return (vm_physmem[lcv].free_list);
lcv                78 uvm/uvm_pager.c 	int lcv;
lcv               100 uvm/uvm_pager.c 	for (lcv = 0 ; lcv < sizeof(uvmpagerops)/sizeof(struct uvm_pagerops *);
lcv               101 uvm/uvm_pager.c 	    lcv++) {
lcv               102 uvm/uvm_pager.c 		if (uvmpagerops[lcv]->pgo_init)
lcv               103 uvm/uvm_pager.c 			uvmpagerops[lcv]->pgo_init();
lcv               624 uvm/uvm_pager.c 	int lcv;
lcv               632 uvm/uvm_pager.c 	for (lcv = 0 ; lcv < *npages ; lcv++) {
lcv               635 uvm/uvm_pager.c 		if (ppsp[lcv] == pg || ppsp[lcv] == NULL)
lcv               648 uvm/uvm_pager.c 			if (ppsp[lcv]->pg_flags & PQ_ANON) {
lcv               649 uvm/uvm_pager.c 				simple_lock(&ppsp[lcv]->uanon->an_lock);
lcv               652 uvm/uvm_pager.c 					  ppsp[lcv]->uanon->an_swslot = 0;
lcv               654 uvm/uvm_pager.c 				simple_lock(&ppsp[lcv]->uobject->vmobjlock);
lcv               656 uvm/uvm_pager.c 					uao_set_swslot(ppsp[lcv]->uobject,
lcv               657 uvm/uvm_pager.c 					    ppsp[lcv]->offset >> PAGE_SHIFT, 0);
lcv               662 uvm/uvm_pager.c 		if (ppsp[lcv]->pg_flags & PG_WANTED) {
lcv               664 uvm/uvm_pager.c 			wakeup(ppsp[lcv]);
lcv               668 uvm/uvm_pager.c 		if (ppsp[lcv]->pg_flags & PG_RELEASED) {
lcv               670 uvm/uvm_pager.c 			if (ppsp[lcv]->pg_flags & PQ_ANON) {
lcv               672 uvm/uvm_pager.c 				atomic_clearbits_int(&ppsp[lcv]->pg_flags,
lcv               674 uvm/uvm_pager.c 				UVM_PAGE_OWN(ppsp[lcv], NULL);
lcv               676 uvm/uvm_pager.c 				pmap_page_protect(ppsp[lcv], VM_PROT_NONE);
lcv               677 uvm/uvm_pager.c 				simple_unlock(&ppsp[lcv]->uanon->an_lock);
lcv               679 uvm/uvm_pager.c 				uvm_anfree(ppsp[lcv]->uanon);
lcv               688 uvm/uvm_pager.c 			saved_uobj = ppsp[lcv]->uobject;
lcv               690 uvm/uvm_pager.c 			    saved_uobj->pgops->pgo_releasepg(ppsp[lcv], NULL);
lcv               708 uvm/uvm_pager.c 			atomic_clearbits_int(&ppsp[lcv]->pg_flags,
lcv               710 uvm/uvm_pager.c 			UVM_PAGE_OWN(ppsp[lcv], NULL);
lcv               718 uvm/uvm_pager.c 			pmap_clear_reference(ppsp[lcv]);
lcv               719 uvm/uvm_pager.c 			pmap_clear_modify(ppsp[lcv]);
lcv               720 uvm/uvm_pager.c 			atomic_setbits_int(&ppsp[lcv]->pg_flags, PG_CLEAN);
lcv               725 uvm/uvm_pager.c 			if (ppsp[lcv]->pg_flags & PQ_ANON)
lcv               726 uvm/uvm_pager.c 				simple_unlock(&ppsp[lcv]->uanon->an_lock);
lcv               728 uvm/uvm_pager.c 				simple_unlock(&ppsp[lcv]->uobject->vmobjlock);
lcv                82 uvm/uvm_stat.c 	int lcv, s;
lcv                85 uvm/uvm_stat.c 	lcv = l->f;
lcv                87 uvm/uvm_stat.c 		if (l->e[lcv].fmt)
lcv                88 uvm/uvm_stat.c 			uvmhist_print(&l->e[lcv]);
lcv                89 uvm/uvm_stat.c 		lcv = (lcv + 1) % l->n;
lcv                90 uvm/uvm_stat.c 	} while (lcv != l->f);
lcv               103 uvm/uvm_stat.c 	int	s, lcv, hi;
lcv               109 uvm/uvm_stat.c 	for (lcv = 0; hists[lcv]; lcv++)
lcv               110 uvm/uvm_stat.c 		 cur[lcv] = hists[lcv]->f;
lcv               123 uvm/uvm_stat.c 		for (lcv = 0; hists[lcv]; lcv++) {
lcv               125 uvm/uvm_stat.c 			if (cur[lcv] == -1)
lcv               132 uvm/uvm_stat.c 			if (hists[lcv]->e[cur[lcv]].fmt == NULL) {
lcv               133 uvm/uvm_stat.c 				cur[lcv] = (cur[lcv] + 1) % (hists[lcv]->n);
lcv               134 uvm/uvm_stat.c 				if (cur[lcv] == hists[lcv]->f)
lcv               135 uvm/uvm_stat.c 					cur[lcv] = -1;
lcv               145 uvm/uvm_stat.c 			    timercmp(&hists[lcv]->e[cur[lcv]].tv, &tv, <)) {
lcv               146 uvm/uvm_stat.c 				tv = hists[lcv]->e[cur[lcv]].tv;
lcv               147 uvm/uvm_stat.c 				hi = lcv;
lcv               813 uvm/uvm_vnode.c 	int npages, result, lcv;
lcv              1096 uvm/uvm_vnode.c 		for (lcv = 0 ; lcv < npages + 1 ; lcv++) {
lcv              1102 uvm/uvm_vnode.c 			if (lcv < npages) {
lcv              1103 uvm/uvm_vnode.c 				if (ppsp[lcv] == pp)
lcv              1105 uvm/uvm_vnode.c 				ptmp = ppsp[lcv];
lcv              1309 uvm/uvm_vnode.c 	int lcv, result, gotpages;
lcv              1335 uvm/uvm_vnode.c 		for (lcv = 0, current_offset = offset ; lcv < *npagesp ;
lcv              1336 uvm/uvm_vnode.c 		    lcv++, current_offset += PAGE_SIZE) {
lcv              1339 uvm/uvm_vnode.c 			if (pps[lcv] == PGO_DONTCARE)
lcv              1348 uvm/uvm_vnode.c 				if (lcv == centeridx || (flags & PGO_ALLPAGES)
lcv              1360 uvm/uvm_vnode.c 			pps[lcv] = ptmp;
lcv              1399 uvm/uvm_vnode.c 	for (lcv = 0, current_offset = offset;
lcv              1400 uvm/uvm_vnode.c 			 lcv < *npagesp ; lcv++, current_offset += PAGE_SIZE) {
lcv              1404 uvm/uvm_vnode.c 		if (pps[lcv] != NULL || (lcv != centeridx &&
lcv              1424 uvm/uvm_vnode.c 		while (pps[lcv] == NULL) {	/* top of "pps" while loop */
lcv              1469 uvm/uvm_vnode.c 			pps[lcv] = ptmp;
lcv              1478 uvm/uvm_vnode.c 		if (pps[lcv])
lcv              1527 uvm/uvm_vnode.c 		pps[lcv] = ptmp;