Lines Matching refs:n_outbuf
433 hp->n_outbuf = 0; in hvc_hangup()
456 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
464 hp->n_outbuf = 0; in hvc_push()
466 hp->n_outbuf -= n; in hvc_push()
467 if (hp->n_outbuf > 0) in hvc_push()
468 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push()
491 if (hp->n_outbuf > 0) in hvc_write()
494 while (count > 0 && (rsize = hp->outbuf_size - hp->n_outbuf) > 0) { in hvc_write()
497 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write()
500 hp->n_outbuf += rsize; in hvc_write()
509 if (hp->n_outbuf) in hvc_write()
558 return hp->outbuf_size - hp->n_outbuf; in hvc_write_room()
567 return hp->n_outbuf; in hvc_chars_in_buffer()
597 if (hp->n_outbuf > 0) in hvc_poll()
601 if (hp->n_outbuf > 0) { in hvc_poll()