Searched refs:tosend (Results 1 - 5 of 5) sorted by relevance

/linux-master/net/ipv4/
H A Dtcp_bpf.c386 u32 tosend, origsize, sent, delta = 0; local
415 tosend = msg->sg.size;
416 if (psock->apply_bytes && psock->apply_bytes < tosend)
417 tosend = psock->apply_bytes;
422 ret = tcp_bpf_push(sk, msg, tosend, flags, true);
427 sk_msg_apply_bytes(psock, tosend);
432 sk_msg_apply_bytes(psock, tosend);
443 sk_msg_return(sk, msg, tosend);
448 msg, tosend, flags);
470 sk_msg_free_partial(sk, msg, tosend);
[all...]
/linux-master/drivers/tty/
H A Dvcc.c388 size_t tosend = 0; local
397 tosend = min(VCC_BUFF_LEN, port->chars_in_buffer);
398 if (!tosend)
403 pkt->tag.stype = tosend;
406 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend));
823 size_t tosend = 0; local
839 tosend = min_t(size_t, count,
842 if (!tosend)
846 tosend);
847 port->chars_in_buffer += tosend;
[all...]
/linux-master/drivers/media/i2c/
H A Dir-kbd-i2c.c423 int tosend = sizeof(*code_block) - i; local
425 if (tosend > 4)
426 tosend = 4;
428 for (j = 0; j < tosend; ++j)
430 dev_dbg(&ir->rc->dev, "%*ph", tosend + 1, buf);
431 ret = i2c_master_send(ir->tx_c, buf, tosend + 1);
432 if (ret != tosend + 1) {
437 i += tosend;
/linux-master/drivers/tty/hvc/
H A Dhvcs.c1265 size_t tosend = 0; local
1300 tosend = min_t(size_t, count,
1306 if (!tosend)
1311 tosend);
1313 hvcsd->chars_in_buffer += tosend;
1330 * tosend we record that it was sent regardless of whether the
1333 total_sent+=tosend;
1334 count-=tosend;
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c2728 int tosend, total, offset; local
2735 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total);
2739 tosend);
2740 if (ret != tosend) {
2745 drm_dbg_kms(mgr->dev, "failed to dpcd write %d %d\n", tosend, ret);
2749 offset += tosend;
2750 total -= tosend;
2790 int len, space, idx, tosend; local
2812 tosend = min(len, space);
2819 hdr.msg_len = tosend
[all...]

Completed in 230 milliseconds