Lines Matching defs:tosend
388 size_t tosend = 0;
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;
839 tosend = min_t(size_t, count,
842 if (!tosend)
846 tosend);
847 port->chars_in_buffer += tosend;
848 pkt->tag.stype = tosend;
855 /* Since we know we have enough room in VCC buffer for tosend
859 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend));
861 (VIO_TAG_SIZE + tosend), rv);
863 total_sent += tosend;
864 count -= tosend;