Home
last modified time | relevance | path

Searched refs:lcv (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_history.c121 int lcv; in kernhist_dump() local
123 lcv = l->f; in kernhist_dump()
127 lcv = (lcv - count) % l->n; in kernhist_dump()
130 if (l->e[lcv].fmt) in kernhist_dump()
131 kernhist_entry_print(&l->e[lcv], pr); in kernhist_dump()
132 lcv = (lcv + 1) % l->n; in kernhist_dump()
133 } while (lcv != l->f); in kernhist_dump()
145 int lcv, hi; in kernhist_dump_histories() local
148 for (lcv = 0; hists[lcv]; lcv++) in kernhist_dump_histories()
149 cur[lcv] = hists[lcv]->f; in kernhist_dump_histories()
[all …]
/netbsd-src/sys/uvm/
H A Duvm_device.c113 struct uvm_device *udv, *lcv; in udv_attach() local
192 LIST_FOREACH(lcv, &udv_list, u_list) { in udv_attach()
193 if (device == lcv->u_device) in udv_attach()
201 if (lcv) { in udv_attach()
208 if (lcv->u_flags & UVM_DEVICE_HOLD) { in udv_attach()
209 lcv->u_flags |= UVM_DEVICE_WANTED; in udv_attach()
210 UVM_UNLOCK_AND_WAIT(lcv, &udv_lock, false, in udv_attach()
216 lcv->u_flags |= UVM_DEVICE_HOLD; in udv_attach()
223 rw_enter(lcv->u_obj.vmobjlock, RW_WRITER); in udv_attach()
224 lcv->u_obj.uo_refs++; in udv_attach()
[all …]
H A Duvm_amap.c707 u_int slots, lcv, slot, stop; in amap_share_protect() local
719 for (lcv = entry->aref.ar_pageoff ; lcv < stop ; lcv++) { in amap_share_protect()
720 anon = amap->am_anon[lcv]; in amap_share_protect()
734 for (lcv = 0 ; lcv < amap->am_nused ; lcv++) { in amap_share_protect()
735 slot = amap->am_slots[lcv]; in amap_share_protect()
756 u_int lcv; in amap_wipeout() local
772 for (lcv = 0 ; lcv < amap->am_nused ; lcv++) { in amap_wipeout()
776 slot = amap->am_slots[lcv]; in amap_wipeout()
792 if (__predict_false((lcv & 31) == 31)) { in amap_wipeout()
827 u_int slots, lcv; in amap_copy() local
[all …]
H A Duvm_physseg.c580 uvm_physseg_get_next(uvm_physseg_t lcv) in uvm_physseg_get_next() argument
583 if (uvm_physseg_valid_p(lcv) == false) in uvm_physseg_get_next()
586 return (lcv + 1); in uvm_physseg_get_next()
590 uvm_physseg_get_prev(uvm_physseg_t lcv) in uvm_physseg_get_prev() argument
593 if (uvm_physseg_valid_p(lcv) == false) in uvm_physseg_get_prev()
596 return (lcv - 1); in uvm_physseg_get_prev()
614 int lcv; in uvm_physseg_get_highest_frame() local
618 for (lcv = 0; lcv < vm_nphysseg; lcv++) { in uvm_physseg_get_highest_frame()
619 ps = VM_PHYSMEM_PTR(lcv); in uvm_physseg_get_highest_frame()
631 int preload, lcv; in uvm_post_preload_check() local
[all …]
H A Duvm_page.c630 uvm_physseg_t lcv; in uvm_page_physget_freelist() local
634 for (lcv = uvm_physseg_get_last(); uvm_physseg_valid_p(lcv); lcv = uvm_physseg_get_prev(lcv)) in uvm_page_physget_freelist()
636 for (lcv = uvm_physseg_get_first(); uvm_physseg_valid_p(lcv); lcv = uvm_physseg_get_next(lcv)) in uvm_page_physget_freelist()
643 if (uvm_page_physunload(lcv, freelist, paddrp)) in uvm_page_physget_freelist()
649 for (lcv = uvm_physseg_get_last(); uvm_physseg_valid_p(lcv); lcv = uvm_physseg_get_prev(lcv)) in uvm_page_physget_freelist()
651 for (lcv = uvm_physseg_get_first(); uvm_physseg_valid_p(lcv); lcv = uvm_physseg_get_next(lcv)) in uvm_page_physget_freelist()
655 if (uvm_page_physunload_force(lcv, freelist, paddrp)) in uvm_page_physget_freelist()
1135 int color, lcv, error, s; in uvm_pagealloc_strat() local
1179 for (lcv = 0; lcv < VM_NFREELIST; lcv++) { in uvm_pagealloc_strat()
1180 pg = uvm_pagealloc_pgfl(ucpu, lcv, &color, flags); in uvm_pagealloc_strat()
[all …]
H A Duvm_aobj.c810 int lcv, gotpages, maxpages, swslot, pageidx; in uao_get() local
848 for (lcv = 0; lcv < maxpages; lcv++) { in uao_get()
850 offset + (lcv << PAGE_SHIFT), maxpages); in uao_get()
855 lcv = (ptmp->offset - offset) >> PAGE_SHIFT; in uao_get()
856 if (lcv >= maxpages) { in uao_get()
875 pps[lcv] = ptmp; in uao_get()
901 for (lcv = 0, current_offset = offset ; lcv < maxpages ;) { in uao_get()
915 maxpages - lcv); in uao_get()
944 pps[lcv++] = ptmp; in uao_get()
1021 error,lcv,0,0); in uao_get()
[all …]
H A Duvm_fault.c187 int lcv; in uvmfault_anonflush() local
190 for (lcv = 0; lcv < n; lcv++) { in uvmfault_anonflush()
191 if (anons[lcv] == NULL) in uvmfault_anonflush()
193 KASSERT(rw_lock_held(anons[lcv]->an_lock)); in uvmfault_anonflush()
194 pg = anons[lcv]->an_page; in uvmfault_anonflush()
1293 int lcv; in uvm_fault_upper_lookup() local
1312 for (lcv = 0; lcv < flt->npages; lcv++, currva += PAGE_SIZE) { in uvm_fault_upper_lookup()
1316 if (amap == NULL || anons[lcv] == NULL) { in uvm_fault_upper_lookup()
1317 pages[lcv] = NULL; in uvm_fault_upper_lookup()
1325 pages[lcv] = PGO_DONTCARE; in uvm_fault_upper_lookup()
[all …]
H A Duvm_pager.c133 u_int lcv; in uvm_pager_init() local
151 for (lcv = 0 ; lcv < __arraycount(uvmpagerops); lcv++) { in uvm_pager_init()
152 if (uvmpagerops[lcv]->pgo_init) in uvm_pager_init()
153 uvmpagerops[lcv]->pgo_init(); in uvm_pager_init()
/netbsd-src/sys/arch/sun3/dev/
H A Dxd.c422 int lcv, rqno, err; in xdcattach() local
435 for (lcv = 0; lcv < XDC_MAXDEV; lcv++) in xdcattach()
436 xdc->sc_drives[lcv] = NULL; in xdcattach()
455 for (lcv = 0; lcv < XDC_MAXIOPB; lcv++) { in xdcattach()
456 xdc->reqs[lcv].iopb = &xdc->iopbase[lcv]; in xdcattach()
604 int rqno, err, spt, mb, blk, lcv, fullmode, newstate; xd_init() local
1518 int sz = sizeof(struct xd_iopb), lcv; xdc_submit_iorq() local
1670 int del = 0, lcv, retval = XD_ERR_AOK; xdc_reset() local
1830 int sz = sizeof(struct xd_iopb), lcv; xdc_remove_iorq() local
2045 int lcv, s, reset = 0; xdc_tick() local
[all...]
H A Dxy.c353 int lcv, err, res, pbsz; in xycattach() local
368 for (lcv = 0; lcv < XYC_MAXDEV; lcv++) in xycattach()
369 xyc->sc_drives[lcv] = NULL; in xycattach()
401 for (lcv = 0; lcv < XYC_MAXIOPB; lcv++) { in xycattach()
402 xyc->xy_chain[lcv] = NULL; in xycattach()
403 xyc->reqs[lcv] in xycattach()
542 int err, spt, mb, blk, lcv, fullmode, newstate; xy_init() local
1599 int del = 0, lcv, retval = XY_ERR_AOK; xyc_reset() local
1675 int lcv; xyc_start() local
1938 int lcv, s, reset = 0; xyc_tick() local
[all...]
H A Dif_ie_vme.c121 int lcv, off; in ie_vme_attach() local
161 for (lcv = 0; lcv < IEVME_MAPSZ; lcv++) in ie_vme_attach()
162 iev->pgmap[lcv] = IEVME_SBORDR | IEVME_OBMEM | lcv; in ie_vme_attach()
/netbsd-src/sys/dev/vme/
H A Dxd.c499 int lcv, rqno, error; in xdcattach() local
526 for (lcv = 0; lcv < XDC_MAXDEV; lcv++) in xdcattach()
527 xdc->sc_drives[lcv] = NULL; in xdcattach()
593 for (lcv = 0; lcv < XDC_MAXIOPB; lcv++) { in xdcattach()
594 xdc->reqs[lcv].iopb = &xdc->iopbase[lcv]; in xdcattach()
595 xdc->reqs[lcv].dmaiopb = &xdc->dvmaiopb[lcv]; in xdcattach()
596 xdc->freereq[lcv] = lcv; in xdcattach()
597 xdc->iopbase[lcv].fixd = 1; /* always the same */ in xdcattach()
598 xdc->iopbase[lcv].naddrmod = XDC_ADDRMOD; /* always the same */ in xdcattach()
599 xdc->iopbase[lcv].intr_vec = xdc->vector; /* always the same */ in xdcattach()
[all …]
H A Dxy.c410 int lcv, res, error; in xycattach() local
435 for (lcv = 0; lcv < XYC_MAXDEV; lcv++) in xycattach()
436 xyc->sc_drives[lcv] = NULL; in xycattach()
501 for (lcv = 0; lcv < XYC_MAXIOPB; lcv++) { in xycattach()
502 xyc->xy_chain[lcv] = NULL; in xycattach()
503 xyc->reqs[lcv].iopb = &xyc->iopbase[lcv]; in xycattach()
504 xyc->reqs[lcv].dmaiopb = &xyc->dvmaiopb[lcv]; in xycattach()
505 xyc->iopbase[lcv].asr = 1; /* always the same */ in xycattach()
506 xyc->iopbase[lcv].eef = 1; /* always the same */ in xycattach()
507 xyc->iopbase[lcv].ecm = XY_ECM; /* always the same */ in xycattach()
[all …]
H A Dif_ie_vme.c467 int lcv; in ie_vme_attach() local
517 for (lcv = 0; lcv < IEVME_MAPSZ - 1; lcv++) in ie_vme_attach()
518 write_iev(vsc, pgmap[lcv], IEVME_SBORDR | IEVME_OBMEM | lcv); in ie_vme_attach()
/netbsd-src/sys/gdbscripts/
H A Dkernhist11 set $lcv = $histf
15 set $e = $hist->e[$lcv]
22 set $lcv = ($lcv + 1) % $histn
30 set $lcv = 0
33 if ($lcv == $histf)
/netbsd-src/regress/sys/kern/allocfree/
H A Dallocfree.c137 int lcv; in test_thread() local
159 for (lcv = count; lcv != 0; lcv--) { in test_thread()
165 for (lcv = count; lcv != 0; lcv--) { in test_thread()
/netbsd-src/sys/arch/evbmips/include/
H A Dvmparam.h20 #define VM_FREELIST_NORMALOK_P(lcv) \ argument
21 ((lcv) == VM_FREELIST_DEFAULT || (lcv) != mips_poolpage_vmfreelist)
/netbsd-src/sys/arch/mvme68k/stand/sboot/
H A Detherfun.c98 u_long res, iptmp, lcv; in do_send_tftp() local
138 for (lcv = 9; lcv >= 2; lcv--) { in do_send_tftp()
139 tftp_r[lcv] = HEXDIGITS[iptmp & 0xF]; in do_send_tftp()
/netbsd-src/sys/external/bsd/drm2/drm/
H A Ddrm_gem_cma_helper.c192 int lcv, retval; in drm_gem_cma_fault() local
202 for (lcv = 0; lcv < npages; lcv++, curr_offset += PAGE_SIZE, in drm_gem_cma_fault()
204 if ((flags & PGO_ALLPAGES) == 0 && lcv != centeridx) in drm_gem_cma_fault()
206 if (pps[lcv] == PGO_DONTCARE) in drm_gem_cma_fault()
/netbsd-src/sys/arch/sun2/dev/
H A Dif_ie_mbmem.c405 int lcv; in ie_mbmem_attach() local
451 for (lcv = 0; lcv < IEMBMEM_MAPSZ - 1; lcv++) in ie_mbmem_attach()
452 write_iev(vsc, pgmap[lcv], in ie_mbmem_attach()
453 IEMBMEM_SBORDR | IEMBMEM_OBMEM | lcv); in ie_mbmem_attach()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h96 Optional<SVal> getDefaultBinding(nonloc::LazyCompoundVal lcv) { in getDefaultBinding() argument
97 return getDefaultBinding(lcv.getStore(), lcv.getRegion()); in getDefaultBinding()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid64_compare.c51 char x_is_zero = 0, y_is_zero = 0, non_canon_x, non_canon_y, lcv; local
141 for (lcv = 0; lcv < (exp_y - exp_x); lcv++) {
1178 char x_is_zero = 0, y_is_zero = 0, non_canon_x, non_canon_y, lcv; local
1274 for (lcv = 0; lcv < (exp_y - exp_x); lcv++) {
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/
H A Dbid64_compare.c51 char x_is_zero = 0, y_is_zero = 0, non_canon_x, non_canon_y, lcv; local
141 for (lcv = 0; lcv < (exp_y - exp_x); lcv++) {
1178 char x_is_zero = 0, y_is_zero = 0, non_canon_x, non_canon_y, lcv; local
1274 for (lcv = 0; lcv < (exp_y - exp_x); lcv++) {