Home
last modified time | relevance | path

Searched refs:tosend (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/tty/
H A Dvcc.c388 size_t tosend = 0; in vcc_tx_timer() local
397 tosend = min(VCC_BUFF_LEN, port->chars_in_buffer); in vcc_tx_timer()
398 if (!tosend) in vcc_tx_timer()
403 pkt->tag.stype = tosend; in vcc_tx_timer()
406 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_tx_timer()
823 size_t tosend = 0; in vcc_write() local
839 tosend = min_t(size_t, count, in vcc_write()
842 if (!tosend) in vcc_write()
846 tosend); in vcc_write()
847 port->chars_in_buffer += tosend; in vcc_write()
[all …]
/linux/net/ipv4/
H A Dtcp_bpf.c389 u32 tosend, origsize, sent, delta = 0; in tcp_bpf_send_verdict() local
421 tosend = msg->sg.size; in tcp_bpf_send_verdict()
422 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
423 tosend = psock->apply_bytes; in tcp_bpf_send_verdict()
428 ret = tcp_bpf_push(sk, msg, tosend, flags, true); in tcp_bpf_send_verdict()
433 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict()
438 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict()
453 msg, tosend, flags); in tcp_bpf_send_verdict()
477 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict()
478 *copied -= (tosend + delta); in tcp_bpf_send_verdict()
/linux/drivers/tty/hvc/
H A Dhvcs.c1265 size_t tosend = 0; in hvcs_write() local
1300 tosend = min_t(size_t, count, in hvcs_write()
1306 if (!tosend) in hvcs_write()
1311 tosend); in hvcs_write()
1313 hvcsd->chars_in_buffer += tosend; in hvcs_write()
1333 total_sent+=tosend; in hvcs_write()
1334 count-=tosend; in hvcs_write()