Lines Matching full:sent
60 int sent = 0; in write_to_ring() local
70 while ((sent < len) && ((prod - cons) < sizeof(hvc_data->intf->out))) { in write_to_ring()
72 hvc_data->intf->out[out_idx] = str[sent]; in write_to_ring()
74 sent++; in write_to_ring()
80 if (sent) { in write_to_ring()
84 return sent; in write_to_ring()
114 int ret = 0, sent = 0; in xen_hvc_fifo_fill() local
117 sent = write_to_ring(dev, tx_data, len); in xen_hvc_fifo_fill()
119 ret += sent; in xen_hvc_fifo_fill()
120 tx_data += sent; in xen_hvc_fifo_fill()
121 len -= sent; in xen_hvc_fifo_fill()