Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pipeio.c67 uint_t pipe_rdndx; /* Next byte index for reading */ member
95 if (BUFSIZ - pd->pipe_rdndx < n) { in pio_read()
104 size_t n1 = BUFSIZ - pd->pipe_rdndx; in pio_read()
108 bcopy(&pd->pipe_buf[pd->pipe_rdndx], buf, n1); in pio_read()
117 bcopy(&pd->pipe_buf[pd->pipe_rdndx], buf, n); in pio_read()
121 pd->pipe_rdndx = (pd->pipe_rdndx + n) % BUFSIZ; in pio_read()
171 ASSERT(n2 <= pd->pipe_rdndx); in pio_write()