Lines Matching refs:cnt
299 int s, s2, len, cnt;
324 len = cnt = 0;
361 cnt = hpibsend(ctlr, slave, sc->sc_sec, cp, len);
363 cnt = hpibrecv(ctlr, slave, sc->sc_sec, cp, len);
370 ctlr, slave, sc->sc_sec, cp, len, cnt);
374 if (cnt) {
375 error = uiomove(cp, cnt, uio);
417 if (uio->uio_rw == UIO_WRITE && cnt != len) {
418 cp += cnt;
419 len -= cnt;
420 cnt = 0;
437 if (uio->uio_rw == UIO_WRITE && cnt != len) {
438 uio->uio_resid += (len - cnt);
442 len-cnt);