Lines Matching refs:to_write
134 struct uio *uio, uint32_t to_write, struct sockbuf *sb);
790 uint32_t canwrite, to_write; in hvs_trans_sosend() local
861 to_write = MIN(canwrite, uio->uio_resid); in hvs_trans_sosend()
862 to_write = MIN(to_write, HVSOCK_SEND_BUF_SZ); in hvs_trans_sosend()
866 canwrite, to_write); in hvs_trans_sosend()
867 error = hvsock_send_data(pcb->chan, uio, to_write, sb); in hvs_trans_sosend()
1177 uint32_t to_write, struct sockbuf *sb) in hvsock_send_data() argument
1190 hvs_pktlen = hvs_pkthlen + to_write; in hvsock_send_data()
1196 __func__, hlen, hvs_pkthlen, hvs_pktlen, pad_pktlen, to_write); in hvsock_send_data()
1205 hvs_pkt.vmpipe_pkt_hdr.vmpipe_data_size = to_write; in hvsock_send_data()
1210 if (uio && to_write > 0) { in hvsock_send_data()
1214 iov[1].iov_len = to_write; in hvsock_send_data()
1221 if (to_write == 0) { in hvsock_send_data()