Lines Matching refs:n_outbuf
477 hp->n_outbuf = 0; in hvc_hangup()
491 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
499 hp->n_outbuf = 0; in hvc_push()
501 hp->n_outbuf -= n; in hvc_push()
502 if (hp->n_outbuf > 0) in hvc_push()
503 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push()
529 rsize = hp->outbuf_size - hp->n_outbuf; in hvc_write()
534 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write()
537 hp->n_outbuf += rsize; in hvc_write()
541 if (hp->n_outbuf > 0) in hvc_write()
550 if (hp->n_outbuf > 0) in hvc_write()
559 if (hp->n_outbuf) in hvc_write()
607 return hp->outbuf_size - hp->n_outbuf; in hvc_write_room()
616 return hp->n_outbuf; in hvc_chars_in_buffer()
655 if (hp->n_outbuf > 0) in __hvc_poll()
659 if (hp->n_outbuf > 0) { in __hvc_poll()