Lines Matching refs:nbyte
179 user_addr_t bufp, user_size_t nbyte,
182 user_addr_t bufp, user_size_t nbyte,
252 error = dofileread(&context, fp, uap->cbuf, uap->nbyte, in read_nocancel()
292 error = dofileread(&context, fp, uap->buf, uap->nbyte, in pread_nocancel()
298 uap->fd, uap->nbyte, (unsigned int)((uap->offset >> 32)), (unsigned int)(uap->offset), 0); in pread_nocancel()
362 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, in dofileread() argument
370 if (nbyte > INT_MAX) { in dofileread()
381 if (uio_addiov(auio, bufp, nbyte) != 0) { in dofileread()
386 bytecnt = nbyte; in dofileread()
533 error = dofilewrite(&context, fp, uap->cbuf, uap->nbyte, in write_nocancel()
597 error = dofilewrite(&context, fp, uap->buf, uap->nbyte, in pwrite_nocancel()
604 uap->fd, uap->nbyte, (unsigned int)((uap->offset >> 32)), (unsigned int)(uap->offset), 0); in pwrite_nocancel()
617 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, in dofilewrite() argument
625 if (nbyte > INT_MAX) { in dofilewrite()
637 if (uio_addiov(auio, bufp, nbyte) != 0) { in dofilewrite()
642 bytecnt = nbyte; in dofilewrite()