Searched refs:pipe_wrndx (Results 1 – 1 of 1) sorted by relevance
68 uint_t pipe_wrndx; /* Next byte index for writing */ member107 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()