| /netbsd-src/sys/dev/virtio/ |
| H A D | viocon.c | 331 int ndone = 0, len, slot; in viocon_tx_drain() 339 ndone++; in viocon_tx_drain() 341 return ndone; in viocon_tx_drain() 349 int ndone = 0; in viocon_tx_intr() 355 ndone = viocon_tx_drain(vp, vq); in viocon_tx_intr() 356 if (ndone && ISSET(tp->t_state, TS_BUSY)) { in viocon_tx_intr() 369 int r, slot, ndone = 0; in viocon_rx_fill() 379 ndone++; in viocon_rx_fill() 382 if (ndone > 0) in viocon_rx_fill() 430 int s, cnt, slot, ret, ndone; in vioconstart() 330 int ndone = 0, len, slot; viocon_tx_drain() local 348 int ndone = 0; viocon_tx_intr() local 368 int r, slot, ndone = 0; viocon_rx_fill() local 429 int s, cnt, slot, ret, ndone; vioconstart() local [all...] |
| /netbsd-src/sys/arch/sun3/dev/ |
| H A D | 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; in xdcattach() 1333 while (xdcsc->ndone > XDC_SUBWAITLIM) { in xdc_cmd() 1334 if (tsleep(&xdcsc->ndone, PRIBIO, "xdsubwait", 0)) in xdc_cmd() 1719 xdcsc->ndone++; in xdc_reset() 1743 del = xdcsc->nwait + xdcsc->nrun + xdcsc->nfree + xdcsc->ndone; in xdc_reset() 1748 if (xdcsc->ndone > XDC_MAXIOPB - XDC_SUBWAITLIM) in xdc_reset() 1750 device_xname(xdcsc->sc_dev), xdcsc->ndone); in xdc_reset() 2047 int nwait, nrun, nfree, ndone, whd = 0; xdc_tick() local [all...] |
| H A D | xdvar.h | 156 u_char ndone; /* number of done IORQs */ member
|
| /netbsd-src/sys/uvm/ |
| H A D | uvm_loan.c | 566 int ndone, error, chunk; in uvm_loanuobjpages() local 571 for (ndone = 0; ndone < npages; ndone += chunk) { in uvm_loanuobjpages() 572 chunk = MIN(UVM_LOAN_GET_CHUNK, npages - ndone); in uvm_loanuobjpages() 573 error = uvm_loanuobjchunk(uobj, pgoff + (ndone << PAGE_SHIFT), in uvm_loanuobjpages() 574 chunk, pgpp + ndone); in uvm_loanuobjpages() 576 if (ndone != 0) { in uvm_loanuobjpages() 577 uvm_unloan(pgpp, ndone, UVM_LOAN_TOPAGE); in uvm_loanuobjpages()
|
| /netbsd-src/sys/dev/vme/ |
| H A D | xd.c | 174 if ((SC)->ndone-- == XDC_SUBWAITLIM) \ 175 wakeup(&(SC)->ndone); \ 621 xdc->ndone = 0; in xdcattach() 1509 while (xdcsc->ndone > XDC_SUBWAITLIM) { in xdc_cmd() 1510 if (tsleep(&xdcsc->ndone, PRIBIO, "xdsubwait", 0)) in xdc_cmd() 1897 xdcsc->ndone++; in xdc_reset() 1921 del = xdcsc->nwait + xdcsc->nrun + xdcsc->nfree + xdcsc->ndone; in xdc_reset() 1926 if (xdcsc->ndone > XDC_MAXIOPB - XDC_SUBWAITLIM) in xdc_reset() 1928 device_xname(xdcsc->sc_dev), xdcsc->ndone); in xdc_reset() 2100 xdcsc->ndone++; in xdc_remove_iorq() [all …]
|
| H A D | xdvar.h | 157 u_char ndone; /* number of done IORQs */ member
|
| /netbsd-src/external/gpl2/gmake/dist/tests/scripts/misc/ |
| H A D | general4 | 54 "baz\$bar\ndone baz\$bar"); 66 "test\$bar\ndone test\$bar");
|
| /netbsd-src/sys/net/ |
| H A D | ppp_tty.c | 543 int n, ndone, done, idle; in pppasyncstart() local 594 ndone = n - b_to_q(start, n, &tp->t_outq); in pppasyncstart() 595 len -= ndone; in pppasyncstart() 596 start += ndone; in pppasyncstart() 597 sc->sc_stats.ppp_obytes += ndone; in pppasyncstart() 599 if (ndone < n) in pppasyncstart()
|
| /netbsd-src/lib/libpuffs/ |
| H A D | puffs.c | 793 int ndone; in puffs__theloop() local 871 ndone = kevent(pu->pu_kq, pu->pu_evs, nchanges, in puffs__theloop() 874 if (ndone == -1) { in puffs__theloop() 882 if (ndone == 0) in puffs__theloop() 886 for (curev = pu->pu_evs; ndone--; curev++) { in puffs__theloop()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | scp.c | 910 size_t i, nactive = 0, ndone = 0; in brace_expand() local 949 if (append(xstrdup(cp2), &done, &ndone) != 0) { in brace_expand() 957 *npatternsp = ndone; in brace_expand() 959 ndone = 0; in brace_expand() 965 for (i = 0; i < ndone; i++) in brace_expand()
|
| H A D | clientloop.c | 2347 size_t i, ndone; in client_global_hostkeys_prove_confirm() local 2373 for (ndone = i = 0; i < ctx->nkeys; i++) { in client_global_hostkeys_prove_confirm() 2408 ndone++; in client_global_hostkeys_prove_confirm() 2423 ndone++; in client_global_hostkeys_prove_confirm() 2426 if (ndone != ctx->nnew) in client_global_hostkeys_prove_confirm() 2427 fatal_f("ndone != ctx->nnew (%zu / %zu)", ndone, ctx->nnew); in client_global_hostkeys_prove_confirm()
|
| /netbsd-src/sys/dev/marvell/ |
| H A D | mvxpsec.c | 570 int ndone; in mvxpsec_timer() local 590 ndone = 0; in mvxpsec_timer() 596 ndone++; in mvxpsec_timer() 598 MVXPSEC_EVCNT_MAX(sc, max_done, ndone); in mvxpsec_timer() 2175 int ndone; in mvxpsec_done() local 2189 ndone = 0; in mvxpsec_done() 2194 ndone++; in mvxpsec_done() 2196 MVXPSEC_EVCNT_MAX(sc, max_done, ndone); in mvxpsec_done()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | PathTree.h | 193 int ndone; variable
|
| H A D | PathTree.cc | 871 ndone = 0; in compute_metrics() 1457 ndone++; in get_metrics() 1458 int new_percent = 95 * ndone / nodes; in get_metrics() 2167 ndone++; in get_self_metrics() 2168 int new_percent = 95 * ndone / nodes; in get_self_metrics()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | PathTree.h | 193 int ndone; variable
|
| H A D | PathTree.cc | 871 ndone = 0; in compute_metrics() 1457 ndone++; in get_metrics() 1458 int new_percent = 95 * ndone / nodes; in get_metrics() 2167 ndone++; in get_self_metrics() 2168 int new_percent = 95 * ndone / nodes; in get_self_metrics()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | if_vioif.c | 1746 int i, r, ndone = 0; in vioif_populate_rx_mbufs_locked() local 1796 ndone++; in vioif_populate_rx_mbufs_locked() 1799 if (ndone > 0) in vioif_populate_rx_mbufs_locked()
|
| /netbsd-src/sys/dev/ic/ |
| H A D | isp.c | 4865 int i, nlooked = 0, ndone = 0; in isp_intr() local 5351 complist[ndone++] = xs; /* defer completion call until later */ in isp_intr() 5353 if (ndone == MAX_REQUESTQ_COMPLETIONS) { in isp_intr() 5369 if (isp->isp_rscchiwater < ndone) { in isp_intr() 5370 isp->isp_rscchiwater = ndone; in isp_intr() 5384 for (i = 0; i < ndone; i++) { in isp_intr()
|