Searched refs:tosend (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/tty/ ! |
H A D | vcc.c | 388 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 D | tcp_bpf.c | 389 u32 tosend, origsize, sent, delta = 0; in tcp_bpf_send_verdict() local 418 tosend = msg->sg.size; in tcp_bpf_send_verdict() 419 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict() 420 tosend = psock->apply_bytes; in tcp_bpf_send_verdict() 425 ret = tcp_bpf_push(sk, msg, tosend, flags, true); in tcp_bpf_send_verdict() 430 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict() 435 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict() 450 msg, tosend, flags); in tcp_bpf_send_verdict() 474 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict() 475 *copied -= (tosend in tcp_bpf_send_verdict() [all...] |
/linux/drivers/gpu/drm/display/ ! |
H A D | drm_dp_mst_topology.c | 2735 int tosend, total, offset; in drm_dp_send_sideband_msg() local 2742 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); in drm_dp_send_sideband_msg() 2746 tosend); in drm_dp_send_sideband_msg() 2751 drm_dbg_kms(mgr->dev, "failed to dpcd write %d %d\n", tosend, ret); in drm_dp_send_sideband_msg() 2755 offset += tosend; in drm_dp_send_sideband_msg() 2756 total -= tosend; in drm_dp_send_sideband_msg() 2796 int len, space, idx, tosend; in process_single_tx_qlock() local 2818 tosend = min(len, space); in process_single_tx_qlock() 2825 hdr.msg_len = tosend + 1; in process_single_tx_qlock() 2827 memcpy(&chunk[idx], &txmsg->msg[txmsg->cur_offset], tosend); in process_single_tx_qlock() [all...] |