Lines Matching defs:cnt
65 size_t cnt;
79 cnt = iov->iov_len;
80 if (cnt == 0) {
85 if (cnt > n)
86 cnt = n;
88 cnt = min(cnt, PAGE_SIZE - page_offset);
98 error = copyout(cp, iov->iov_base, cnt);
100 error = copyin(iov->iov_base, cp, cnt);
106 bcopy(cp, iov->iov_base, cnt);
108 bcopy(iov->iov_base, cp, cnt);
118 iov->iov_base = (char *)iov->iov_base + cnt;
119 iov->iov_len -= cnt;
120 uio->uio_resid -= cnt;
121 uio->uio_offset += cnt;
122 offset += cnt;
123 n -= cnt;