Searched refs:buf_left (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/syscall/ |
H A D | sendfile.c | 415 int buf_left = 0; in sendvec_small_chunk() local 446 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 447 head = dmp = allocb(buf_left + extra, BPRI_HI); in sendvec_small_chunk() 489 if (buf_left == 0) { in sendvec_small_chunk() 491 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 492 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() 493 dmp = allocb(buf_left + extra, BPRI_HI); in sendvec_small_chunk() 502 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() 515 buf_left -= iov_len; in sendvec_small_chunk() 592 if (buf_left == 0) { in sendvec_small_chunk() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 1578 size_t buf_left; in mdb_ddi_pathname() local 1595 buf_left = pathlen - strlen(path); in mdb_ddi_pathname() 1596 (void) mdb_ddi_deviname(dip_addr, bp, buf_left); in mdb_ddi_pathname()
|
/titanic_41/usr/src/uts/common/io/usb/clients/video/usbvc/ |
H A D | usbvc.c | 3403 uint32_t len, buf_left, data_len; in usbvc_decode_stream_header() local 3479 buf_left = buf_filling->len - buf_filling->filled; in usbvc_decode_stream_header() 3482 if (buf_left == 0) { in usbvc_decode_stream_header() 3535 min(data_len, buf_left)); in usbvc_decode_stream_header() 3537 buf_filling->filled += min(data_len, buf_left); in usbvc_decode_stream_header() 3544 if (data_len > buf_left) { in usbvc_decode_stream_header()
|