Lines Matching refs:cnt
60 size_t cnt; in uiomove_fromphys() local
80 cnt = iov->iov_len; in uiomove_fromphys()
81 if (cnt == 0) { in uiomove_fromphys()
86 if (cnt > n) in uiomove_fromphys()
87 cnt = n; in uiomove_fromphys()
89 cnt = min(cnt, PAGE_SIZE - page_offset); in uiomove_fromphys()
100 error = copyout(cp, iov->iov_base, cnt); in uiomove_fromphys()
103 error = copyin(iov->iov_base, cp, cnt); in uiomove_fromphys()
112 bcopy(cp, iov->iov_base, cnt); in uiomove_fromphys()
115 bcopy(iov->iov_base, cp, cnt); in uiomove_fromphys()
127 iov->iov_base = (char *)iov->iov_base + cnt; in uiomove_fromphys()
128 iov->iov_len -= cnt; in uiomove_fromphys()
129 uio->uio_resid -= cnt; in uiomove_fromphys()
130 uio->uio_offset += cnt; in uiomove_fromphys()
131 offset += cnt; in uiomove_fromphys()
132 n -= cnt; in uiomove_fromphys()