Lines Matching defs:cnt
66 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);
95 error = copyout(cp, iov->iov_base, cnt);
97 error = copyin(iov->iov_base, cp, cnt);
105 bcopy(cp, iov->iov_base, cnt);
107 bcopy(iov->iov_base, cp, cnt);
113 iov->iov_base = (char *)iov->iov_base + cnt;
114 iov->iov_len -= cnt;
115 uio->uio_resid -= cnt;
116 uio->uio_offset += cnt;
117 offset += cnt;
118 n -= cnt;