Home
last modified time | relevance | path

Searched refs:pipe_wrndx (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pipeio.c68 uint_t pipe_wrndx; /* Next byte index for writing */ member
107 ASSERT(n2 <= pd->pipe_wrndx); in pio_read()
159 if (BUFSIZ - pd->pipe_wrndx < n) { in pio_write()
168 size_t n1 = BUFSIZ - pd->pipe_wrndx; in pio_write()
173 bcopy(buf, &pd->pipe_buf[pd->pipe_wrndx], n1); in pio_write()
182 bcopy(buf, &pd->pipe_buf[pd->pipe_wrndx], n); in pio_write()
186 pd->pipe_wrndx = (pd->pipe_wrndx + n) % BUFSIZ; in pio_write()