Searched refs:kmdb_prom_readbuf_tail (Results 1 – 1 of 1) sorted by relevance
52 static int kmdb_prom_readbuf_tail; variable159 if (kmdb_prom_readbuf_head > kmdb_prom_readbuf_tail) { in kmdb_prom_drain_readbuf()160 n = MIN(kmdb_prom_readbuf_head - kmdb_prom_readbuf_tail, len); in kmdb_prom_drain_readbuf()161 bcopy(kmdb_prom_readbuf + kmdb_prom_readbuf_tail, buf, n); in kmdb_prom_drain_readbuf()162 kmdb_prom_readbuf_tail += n; in kmdb_prom_drain_readbuf()165 } else if (kmdb_prom_readbuf_head == kmdb_prom_readbuf_tail) { in kmdb_prom_drain_readbuf()173 n = MIN(KMDB_PROM_READBUF_SIZE - kmdb_prom_readbuf_tail, len); in kmdb_prom_drain_readbuf()174 bcopy(kmdb_prom_readbuf + kmdb_prom_readbuf_tail, buf, n); in kmdb_prom_drain_readbuf()175 kmdb_prom_readbuf_tail = (kmdb_prom_readbuf_tail + n) % in kmdb_prom_drain_readbuf()192 kmdb_prom_readbuf_tail = (kmdb_prom_readbuf_tail + n) % in kmdb_prom_drain_readbuf()[all …]