Lines Matching refs:cnt
291 int s1, s2, len, cnt;
314 len = cnt = 0;
350 cnt = gpibsend(sc->sc_ic, address, sc->sc_sec,
353 cnt = gpibrecv(sc->sc_ic, address, sc->sc_sec,
359 address, sc->sc_sec, cp, len, cnt));
362 if (cnt) {
363 error = uiomove(cp, cnt, uio);
402 if (uio->uio_rw == UIO_WRITE && cnt != len) {
403 cp += cnt;
404 len -= cnt;
405 cnt = 0;
422 if (uio->uio_rw == UIO_WRITE && cnt != len) {
423 uio->uio_resid += (len - cnt);
425 len - cnt));