Lines Matching defs:nbytes
99 vm_size_t nbytes);
755 vm_size_t nbytes, vm_size_t *lencopied, int use_kernel_map)
778 (int)nbytes, thread->machine.copyio_state, 0);
780 if (nbytes == 0) {
782 (unsigned)kernel_addr, (unsigned)nbytes, 0, 0);
798 error = copyin_kern(kern_vaddr, kernel_addr, nbytes);
802 error = copyout_kern(kernel_addr, kern_vaddr, nbytes);
806 error = copyinstr_kern(kern_vaddr, kernel_addr, nbytes, lencopied);
810 error = copyinphys_kern(kern_vaddr, kernel_addr, nbytes);
814 error = copyoutphys_kern(kernel_addr, kern_vaddr, nbytes);
818 (unsigned)kernel_addr, (unsigned)nbytes,
835 if (cnt > nbytes)
836 cnt = nbytes;
945 if (error == ENAMETOOLONG && nbytes > cnt)
950 nbytes = *lencopied;
959 nbytes = *lencopied;
963 if (cnt == nbytes) {
969 nbytes = *lencopied;
980 if ((nbytes -= cnt) == 0)
987 if (nbytes > NBPDE)
990 cnt = nbytes;
996 (unsigned)kernel_addr, (unsigned)nbytes, error, 0);
1102 copyinmsg(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes)
1104 return (copyio(COPYIN, user_addr, kernel_addr, nbytes, NULL, 0));
1108 copyin(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes)
1110 return (copyio(COPYIN, user_addr, kernel_addr, nbytes, NULL, 0));
1114 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied)
1118 return (copyio(COPYINSTR, user_addr, kernel_addr, nbytes, lencopied, 0));
1122 copyoutmsg(const char *kernel_addr, user_addr_t user_addr, vm_size_t nbytes)
1124 return (copyio(COPYOUT, user_addr, kernel_addr, nbytes, NULL, 0));
1128 copyout(const void *kernel_addr, user_addr_t user_addr, vm_size_t nbytes)
1130 return (copyio(COPYOUT, user_addr, kernel_addr, nbytes, NULL, 0));