/src/sys/uvm/ |
uvm_loan.c | 566 int ndone, error, chunk; local in function:uvm_loanuobjpages 571 for (ndone = 0; ndone < npages; ndone += chunk) { 572 chunk = MIN(UVM_LOAN_GET_CHUNK, npages - ndone); 573 error = uvm_loanuobjchunk(uobj, pgoff + (ndone << PAGE_SHIFT), 574 chunk, pgpp + ndone); 576 if (ndone != 0) { 577 uvm_unloan(pgpp, ndone, UVM_LOAN_TOPAGE);
|
/src/sys/net/ |
ppp_tty.c | 543 int n, ndone, done, idle; local in function:pppasyncstart 594 ndone = n - b_to_q(start, n, &tp->t_outq); 595 len -= ndone; 596 start += ndone; 597 sc->sc_stats.ppp_obytes += ndone; 599 if (ndone < n)
|
/src/lib/libpuffs/ |
puffs.c | 793 int ndone; local in function:puffs__theloop 871 ndone = kevent(pu->pu_kq, pu->pu_evs, nchanges, 874 if (ndone == -1) { 882 if (ndone == 0) 886 for (curev = pu->pu_evs; ndone--; curev++) {
|
/src/sys/arch/sun3/dev/ |
xdvar.h | 156 u_char ndone; /* number of done IORQs */ member in struct:xdc_softc
|
xd.c | 194 if ((SC)->ndone-- == XDC_SUBWAITLIM) \ 195 wakeup(&(SC)->ndone); \ 217 * [3] & of xdc_softc's "ndone" (waiting for number of done iorq/iopb's 465 xdc->ndone = 0; 1333 while (xdcsc->ndone > XDC_SUBWAITLIM) { 1334 if (tsleep(&xdcsc->ndone, PRIBIO, "xdsubwait", 0)) 1719 xdcsc->ndone++; 1743 del = xdcsc->nwait + xdcsc->nrun + xdcsc->nfree + xdcsc->ndone; 1748 if (xdcsc->ndone > XDC_MAXIOPB - XDC_SUBWAITLIM) 1750 device_xname(xdcsc->sc_dev), xdcsc->ndone); 2047 int nwait, nrun, nfree, ndone, whd = 0; local in function:xdc_tick [all...] |
/src/sys/dev/vme/ |
xdvar.h | 157 u_char ndone; /* number of done IORQs */ member in struct:xdc_softc
|
xd.c | 174 if ((SC)->ndone-- == XDC_SUBWAITLIM) \ 175 wakeup(&(SC)->ndone); \ 196 * [3] & of xdc_softc's "ndone" (waiting for number of done iorq/iopb's 621 xdc->ndone = 0; 1509 while (xdcsc->ndone > XDC_SUBWAITLIM) { 1510 if (tsleep(&xdcsc->ndone, PRIBIO, "xdsubwait", 0)) 1897 xdcsc->ndone++; 1921 del = xdcsc->nwait + xdcsc->nrun + xdcsc->nfree + xdcsc->ndone; 1926 if (xdcsc->ndone > XDC_MAXIOPB - XDC_SUBWAITLIM) 1928 device_xname(xdcsc->sc_dev), xdcsc->ndone); 2233 int nwait, nrun, nfree, ndone, whd = 0; local in function:xdc_tick [all...] |
/src/sys/dev/virtio/ |
viocon.c | 331 int ndone = 0, len, slot; local in function:viocon_tx_drain 339 ndone++; 341 return ndone; 349 int ndone = 0; local in function:viocon_tx_intr 355 ndone = viocon_tx_drain(vp, vq); 356 if (ndone && ISSET(tp->t_state, TS_BUSY)) { 369 int r, slot, ndone = 0; local in function:viocon_rx_fill 379 ndone++; 382 if (ndone > 0) 430 int s, cnt, slot, ret, ndone; local in function:vioconstart [all...] |
/src/sys/dev/marvell/ |
mvxpsec.c | 570 int ndone; local in function:mvxpsec_timer 590 ndone = 0; 596 ndone++; 598 MVXPSEC_EVCNT_MAX(sc, max_done, ndone); 2175 int ndone; local in function:mvxpsec_done 2189 ndone = 0; 2194 ndone++; 2196 MVXPSEC_EVCNT_MAX(sc, max_done, ndone);
|
/src/sys/dev/ic/ |
isp.c | 4865 int i, nlooked = 0, ndone = 0; local in function:isp_intr 5351 complist[ndone++] = xs; /* defer completion call until later */ 5353 if (ndone == MAX_REQUESTQ_COMPLETIONS) { 5369 if (isp->isp_rscchiwater < ndone) { 5370 isp->isp_rscchiwater = ndone; 5384 for (i = 0; i < ndone; i++) {
|
/src/sys/dev/pci/ |
if_vioif.c | 1751 int i, r, ndone = 0; local in function:vioif_populate_rx_mbufs_locked 1801 ndone++; 1804 if (ndone > 0)
|