tosend 1929 drivers/gpu/drm/drm_dp_mst_topology.c int tosend, total, offset; tosend 1936 drivers/gpu/drm/drm_dp_mst_topology.c tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); tosend 1940 drivers/gpu/drm/drm_dp_mst_topology.c tosend); tosend 1941 drivers/gpu/drm/drm_dp_mst_topology.c if (ret != tosend) { tosend 1946 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("failed to dpcd write %d %d\n", tosend, ret); tosend 1950 drivers/gpu/drm/drm_dp_mst_topology.c offset += tosend; tosend 1951 drivers/gpu/drm/drm_dp_mst_topology.c total -= tosend; tosend 2001 drivers/gpu/drm/drm_dp_mst_topology.c int len, space, idx, tosend; tosend 2023 drivers/gpu/drm/drm_dp_mst_topology.c tosend = min(len, space); tosend 2030 drivers/gpu/drm/drm_dp_mst_topology.c hdr.msg_len = tosend + 1; tosend 2032 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(&chunk[idx], &txmsg->msg[txmsg->cur_offset], tosend); tosend 2034 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_crc_sideband_chunk_req(&chunk[idx], tosend); tosend 2035 drivers/gpu/drm/drm_dp_mst_topology.c idx += tosend + 1; tosend 2043 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->cur_offset += tosend; tosend 386 drivers/media/i2c/ir-kbd-i2c.c int tosend = sizeof(*code_block) - i; tosend 388 drivers/media/i2c/ir-kbd-i2c.c if (tosend > 4) tosend 389 drivers/media/i2c/ir-kbd-i2c.c tosend = 4; tosend 391 drivers/media/i2c/ir-kbd-i2c.c for (j = 0; j < tosend; ++j) tosend 393 drivers/media/i2c/ir-kbd-i2c.c dev_dbg(&ir->rc->dev, "%*ph", tosend + 1, buf); tosend 394 drivers/media/i2c/ir-kbd-i2c.c ret = i2c_master_send(ir->tx_c, buf, tosend + 1); tosend 395 drivers/media/i2c/ir-kbd-i2c.c if (ret != tosend + 1) { tosend 400 drivers/media/i2c/ir-kbd-i2c.c i += tosend; tosend 1313 drivers/tty/hvc/hvcs.c int tosend = 0; tosend 1348 drivers/tty/hvc/hvcs.c tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); tosend 1353 drivers/tty/hvc/hvcs.c if (!tosend) tosend 1358 drivers/tty/hvc/hvcs.c tosend); tosend 1360 drivers/tty/hvc/hvcs.c hvcsd->chars_in_buffer += tosend; tosend 1380 drivers/tty/hvc/hvcs.c total_sent+=tosend; tosend 1381 drivers/tty/hvc/hvcs.c count-=tosend; tosend 396 drivers/tty/vcc.c int tosend = 0; tosend 405 drivers/tty/vcc.c tosend = min(VCC_BUFF_LEN, port->chars_in_buffer); tosend 406 drivers/tty/vcc.c if (!tosend) tosend 411 drivers/tty/vcc.c pkt->tag.stype = tosend; tosend 414 drivers/tty/vcc.c rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); tosend 844 drivers/tty/vcc.c int tosend = 0; tosend 865 drivers/tty/vcc.c tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer)); tosend 867 drivers/tty/vcc.c if (!tosend) tosend 871 drivers/tty/vcc.c tosend); tosend 872 drivers/tty/vcc.c port->chars_in_buffer += tosend; tosend 873 drivers/tty/vcc.c pkt->tag.stype = tosend; tosend 884 drivers/tty/vcc.c rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); tosend 886 drivers/tty/vcc.c (VIO_TAG_SIZE + tosend), rv); tosend 888 drivers/tty/vcc.c total_sent += tosend; tosend 889 drivers/tty/vcc.c count -= tosend; tosend 308 net/ipv4/tcp_bpf.c u32 tosend, delta = 0; tosend 336 net/ipv4/tcp_bpf.c tosend = msg->sg.size; tosend 337 net/ipv4/tcp_bpf.c if (psock->apply_bytes && psock->apply_bytes < tosend) tosend 338 net/ipv4/tcp_bpf.c tosend = psock->apply_bytes; tosend 342 net/ipv4/tcp_bpf.c ret = tcp_bpf_push(sk, msg, tosend, flags, true); tosend 347 net/ipv4/tcp_bpf.c sk_msg_apply_bytes(psock, tosend); tosend 351 net/ipv4/tcp_bpf.c sk_msg_apply_bytes(psock, tosend); tosend 356 net/ipv4/tcp_bpf.c sk_msg_return(sk, msg, tosend); tosend 358 net/ipv4/tcp_bpf.c ret = tcp_bpf_sendmsg_redir(sk_redir, msg, tosend, flags); tosend 375 net/ipv4/tcp_bpf.c sk_msg_free_partial(sk, msg, tosend); tosend 376 net/ipv4/tcp_bpf.c sk_msg_apply_bytes(psock, tosend); tosend 377 net/ipv4/tcp_bpf.c *copied -= (tosend + delta);