Lines Matching defs:tosend
396 int tosend = 0;
405 tosend = min(VCC_BUFF_LEN, port->chars_in_buffer);
406 if (!tosend)
411 pkt->tag.stype = tosend;
414 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend));
855 int tosend = 0;
876 tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer));
878 if (!tosend)
882 tosend);
883 port->chars_in_buffer += tosend;
884 pkt->tag.stype = tosend;
891 /* Since we know we have enough room in VCC buffer for tosend
895 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend));
897 (VIO_TAG_SIZE + tosend), rv);
899 total_sent += tosend;
900 count -= tosend;