Lines Matching refs:to_write
147 struct uio *uio, uint32_t to_write, struct sockbuf *sb);
806 uint32_t canwrite, to_write; in hvs_trans_sosend() local
877 to_write = MIN(canwrite, uio->uio_resid); in hvs_trans_sosend()
878 to_write = MIN(to_write, HVSOCK_SEND_BUF_SZ); in hvs_trans_sosend()
882 canwrite, to_write); in hvs_trans_sosend()
883 error = hvsock_send_data(pcb->chan, uio, to_write, sb); in hvs_trans_sosend()
1199 uint32_t to_write, struct sockbuf *sb) in hvsock_send_data() argument
1212 hvs_pktlen = hvs_pkthlen + to_write; in hvsock_send_data()
1218 __func__, hlen, hvs_pkthlen, hvs_pktlen, pad_pktlen, to_write); in hvsock_send_data()
1227 hvs_pkt.vmpipe_pkt_hdr.vmpipe_data_size = to_write; in hvsock_send_data()
1232 if (uio && to_write > 0) { in hvsock_send_data()
1236 iov[1].iov_len = to_write; in hvsock_send_data()
1243 if (to_write == 0) { in hvsock_send_data()