Lines Matching refs:cnt
596 * as RW_READER and update the cnt[], this isn't a problem
1117 int cnt;
1160 if ((cnt = iov->iov_len) == 0) {
1163 cnt = MIN(cnt, uio->uio_resid);
1164 error = xcopyin(iov->iov_base, bp, cnt);
1168 iov->iov_base += cnt;
1169 iov->iov_len -= cnt;
1170 uio->uio_resid -= cnt;
1171 uio->uio_loffset += cnt;
1172 bp += cnt;
1288 int cnt;
1315 * cnt - number of bytes kmem_alloc()ed.
1317 * alloc - the kmem_alloc()ed buffer of size "cnt".
1331 cnt = len;
1342 alloc = kmem_alloc(cnt, KM_SLEEP);
1343 error = xcopyin((caddr_t)(uintptr_t)off, alloc, cnt);
1367 max = cnt;
1371 alloc = nl7c_readfile(fp, &off, &cnt, max, &error);
1378 URI_RD_ADD(uri, rdp, cnt, -1);
1386 total_count += cnt;
1405 if (len > cnt) {
1407 URI_RD_ADD(uri, rdp, len - cnt, off);