Searched refs:tosend (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/tty/ |
D | vcc.c | 388 int 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() 814 int tosend = 0; in vcc_write() local 830 tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer)); in vcc_write() 832 if (!tosend) in vcc_write() 836 tosend); in vcc_write() 837 port->chars_in_buffer += tosend; in vcc_write() [all …]
|
/linux-6.1.9/net/ipv4/ |
D | tcp_bpf.c | 283 u32 tosend, origsize, sent, delta = 0; in tcp_bpf_send_verdict() local 312 tosend = msg->sg.size; in tcp_bpf_send_verdict() 313 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict() 314 tosend = psock->apply_bytes; in tcp_bpf_send_verdict() 319 ret = tcp_bpf_push(sk, msg, tosend, flags, true); in tcp_bpf_send_verdict() 324 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict() 329 sk_msg_apply_bytes(psock, tosend); in tcp_bpf_send_verdict() 340 sk_msg_return(sk, msg, tosend); in tcp_bpf_send_verdict() 345 msg, tosend, flags); in tcp_bpf_send_verdict() 367 sk_msg_free_partial(sk, msg, tosend); in tcp_bpf_send_verdict() [all …]
|
/linux-6.1.9/drivers/media/i2c/ |
D | ir-kbd-i2c.c | 423 int tosend = sizeof(*code_block) - i; in send_data_block() local 425 if (tosend > 4) in send_data_block() 426 tosend = 4; in send_data_block() 428 for (j = 0; j < tosend; ++j) in send_data_block() 430 dev_dbg(&ir->rc->dev, "%*ph", tosend + 1, buf); in send_data_block() 431 ret = i2c_master_send(ir->tx_c, buf, tosend + 1); in send_data_block() 432 if (ret != tosend + 1) { in send_data_block() 437 i += tosend; in send_data_block()
|
/linux-6.1.9/drivers/tty/hvc/ |
D | hvcs.c | 1282 int tosend = 0; in hvcs_write() local 1317 tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); in hvcs_write() 1322 if (!tosend) in hvcs_write() 1327 tosend); in hvcs_write() 1329 hvcsd->chars_in_buffer += tosend; in hvcs_write() 1349 total_sent+=tosend; in hvcs_write() 1350 count-=tosend; in hvcs_write()
|
/linux-6.1.9/drivers/gpu/drm/display/ |
D | drm_dp_mst_topology.c | 2725 int tosend, total, offset; in drm_dp_send_sideband_msg() local 2732 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); in drm_dp_send_sideband_msg() 2736 tosend); in drm_dp_send_sideband_msg() 2737 if (ret != tosend) { in drm_dp_send_sideband_msg() 2742 drm_dbg_kms(mgr->dev, "failed to dpcd write %d %d\n", tosend, ret); in drm_dp_send_sideband_msg() 2746 offset += tosend; in drm_dp_send_sideband_msg() 2747 total -= tosend; in drm_dp_send_sideband_msg() 2787 int len, space, idx, tosend; in process_single_tx_qlock() local 2809 tosend = min(len, space); in process_single_tx_qlock() 2816 hdr.msg_len = tosend + 1; in process_single_tx_qlock() [all …]
|