Lines Matching refs:nbyte

168     user_addr_t bufp, user_size_t nbyte,
171 user_addr_t bufp, user_size_t nbyte,
176 int write_internal(struct proc *p, int fd, user_addr_t buf, user_size_t nbyte,
304 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, in dofileread() argument
311 if (nbyte > INT_MAX) { in dofileread()
320 if (uio_addiov(uio, bufp, nbyte) != 0) { in dofileread()
351 read_internal(struct proc *p, int fd, user_addr_t buf, user_size_t nbyte, in read_internal() argument
358 if (nbyte > INT_MAX) { in read_internal()
366 if (uio_addiov(uio, buf, nbyte) != 0) { in read_internal()
377 return read_internal(p, uap->fd, uap->cbuf, uap->nbyte, (off_t)-1, 0, in read_nocancel()
402 uap->fd, uap->nbyte, (unsigned int)((uap->offset >> 32)), (unsigned int)(uap->offset), 0); in pread_nocancel()
404 return read_internal(p, uap->fd, uap->buf, uap->nbyte, uap->offset, in pread_nocancel()
632 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, in dofilewrite() argument
639 if (nbyte > INT_MAX) { in dofilewrite()
648 if (uio_addiov(uio, bufp, nbyte) != 0) { in dofilewrite()
679 write_internal(struct proc *p, int fd, user_addr_t buf, user_size_t nbyte, in write_internal() argument
686 if (nbyte > INT_MAX) { in write_internal()
694 if (uio_addiov(uio, buf, nbyte) != 0) { in write_internal()
705 return write_internal(p, uap->fd, uap->cbuf, uap->nbyte, (off_t)-1, 0, in write_nocancel()
728 uap->fd, uap->nbyte, (unsigned int)((uap->offset >> 32)), (unsigned int)(uap->offset), 0); in pwrite_nocancel()
735 return write_internal(p, uap->fd, uap->buf, uap->nbyte, uap->offset, in pwrite_nocancel()