Lines Matching defs:nbytes
2048 * int sendfile(int fd, int s, off_t offset, off_t *nbytes,
2052 * specified by 's'. Send only '*nbytes' of the file or until EOF if
2053 * *nbytes == 0. Optionally add a header and/or trailer to the socket
2054 * output. If specified, write the total number of bytes sent into *nbytes.
2068 off_t nbytes = 0, sbytes = 0;
2123 if (uap->nbytes == USER_ADDR_NULL) {
2146 copyin(uap->nbytes, &nbytes, sizeof (off_t));
2231 * the EOF, or the passed in nbytes.
2254 if (nbytes && xfsize > (nbytes - sbytes))
2255 xfsize = nbytes - sbytes;
2448 if (uap->nbytes != USER_ADDR_NULL) {
2450 copyout(&sbytes, uap->nbytes, sizeof (off_t));