Searched refs:ndone (Results 1 - 17 of 17) sorted by relevance

/netbsd-current/sys/dev/virtio/
H A Dviocon.c330 int ndone = 0, len, slot; local
338 ndone++;
340 return ndone;
348 int ndone = 0; local
354 ndone = viocon_tx_drain(vp, vq);
355 if (ndone && ISSET(tp->t_state, TS_BUSY)) {
368 int r, slot, ndone = 0; local
378 ndone++;
381 if (ndone > 0)
429 int s, cnt, slot, ret, ndone; local
[all...]
/netbsd-current/sys/arch/sun3/dev/
H A Dxdvar.h156 u_char ndone; /* number of done IORQs */ member in struct:xdc_softc
H A Dxd.c194 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
[all...]
/netbsd-current/sys/dev/vme/
H A Dxdvar.h157 u_char ndone; /* number of done IORQs */ member in struct:xdc_softc
H A Dxd.c174 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
[all...]
/netbsd-current/sys/uvm/
H A Duvm_loan.c566 int ndone, error, chunk; local
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);
/netbsd-current/sys/net/
H A Dppp_tty.c547 int n, ndone, done, idle; local
598 ndone = n - b_to_q(start, n, &tp->t_outq);
599 len -= ndone;
600 start += ndone;
601 sc->sc_stats.ppp_obytes += ndone;
603 if (ndone < n)
/netbsd-current/lib/libpuffs/
H A Dpuffs.c793 int ndone; local
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++) {
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dscp.c908 size_t i, nactive = 0, ndone = 0; local
947 if (append(xstrdup(cp2), &done, &ndone) != 0) {
955 *npatternsp = ndone;
957 ndone = 0;
963 for (i = 0; i < ndone; i++)
H A Dclientloop.c2361 size_t i, ndone; local
2387 for (ndone = i = 0; i < ctx->nkeys; i++) {
2422 ndone++;
2437 ndone++;
2440 if (ndone != ctx->nnew)
2441 fatal_f("ndone != ctx->nnew (%zu / %zu)", ndone, ctx->nnew);
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A DPathTree.h193 int ndone; member in class:PathTree
H A DPathTree.cc871 ndone = 0;
1457 ndone++;
1458 int new_percent = 95 * ndone / nodes;
2167 ndone++;
2168 int new_percent = 95 * ndone / nodes;
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/src/
H A DPathTree.h193 int ndone; member in class:PathTree
H A DPathTree.cc871 ndone = 0;
1457 ndone++;
1458 int new_percent = 95 * ndone / nodes;
2167 ndone++;
2168 int new_percent = 95 * ndone / nodes;
/netbsd-current/sys/dev/marvell/
H A Dmvxpsec.c570 int ndone; local
590 ndone = 0;
596 ndone++;
598 MVXPSEC_EVCNT_MAX(sc, max_done, ndone);
2175 int ndone; local
2189 ndone = 0;
2194 ndone++;
2196 MVXPSEC_EVCNT_MAX(sc, max_done, ndone);
/netbsd-current/sys/dev/pci/
H A Dif_vioif.c1746 int i, r, ndone = 0; local
1795 ndone++;
1798 if (ndone > 0)
/netbsd-current/sys/dev/ic/
H A Disp.c4865 int i, nlooked = 0, ndone = 0; local
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++) {

Completed in 311 milliseconds