Lines Matching refs:cnt
142 vm_size_t cnt;
214 cnt = NBPDE - user_offset;
216 if (cnt > nbytes)
217 cnt = nbytes;
292 (unsigned)kernel_addr, cnt, 0, 0);
297 error = copyin_user(user_offset, kernel_addr, cnt);
301 error = copyout_user(kernel_addr, user_offset, cnt);
305 error = copyinphys_user(user_offset, kernel_addr, cnt);
309 error = copyoutphys_user(kernel_addr, user_offset, cnt);
313 error = copyinstr_user(user_offset, kernel_addr, cnt, &bytes_copied);
327 if (error == ENAMETOOLONG && nbytes > cnt)
345 if (cnt == nbytes) {
356 assert(cnt == bytes_copied);
362 if ((nbytes -= cnt) == 0)
365 kernel_addr += cnt;
370 cnt = NBPDE;
372 cnt = nbytes;