Searched refs:n_outbuf (Results 1 - 2 of 2) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | hvc_console.c | 84 int n_outbuf; member in struct:hvc_struct 447 hp->n_outbuf = 0; 470 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); 478 hp->n_outbuf = 0; 480 hp->n_outbuf -= n; 481 if (hp->n_outbuf > 0) 482 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); 503 if (hp->n_outbuf > 0) 506 while (count > 0 && (rsize = hp->outbuf_size - hp->n_outbuf) > 0) { 509 memcpy(hp->outbuf + hp->n_outbuf, bu [all...] |
H A D | hvsi.c | 85 int n_outbuf; member in struct:hvsi_struct 853 wait_event_timeout(hp->emptyq, (hp->n_outbuf <= 0), HVSI_TIMEOUT); 855 /* 'writer' could still be pending if it didn't see n_outbuf = 0 yet */ 863 hp->n_outbuf = 0; 928 hp->n_outbuf = 0; 939 if (hp->n_outbuf <= 0) 942 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); 946 hp->n_outbuf = 0; 968 pr_debug("%s: %i chars in buffer\n", __FUNCTION__, hp->n_outbuf); 982 if (hp->n_outbuf > [all...] |
Completed in 35 milliseconds