Searched refs:read_tail (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c136 static uint8_t *read_tail = NULL; variable
751 read_tail = read_area;
758 if (byte_cnt <= (read_tail - read_head)) {
768 for (i = 0; i < (read_tail - read_head); ++i) {
772 read_tail = read_head + i;
779 if ((m = pcp_peek(read_tail, mtu_size)) < 0) {
784 if ((ret = read(chnl_fd, read_tail, m)) < 0) {
794 m = byte_cnt - (read_tail - read_head);
796 read_tail, m)) <= 0) {
800 read_tail
[all...]
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c205 uint8_t *read_tail; member in struct:tsalarm_softc
402 softc->read_tail = NULL;
1225 sc->read_tail = sc->read_area;
1232 if (byte_cnt <= (sc->read_tail - sc->read_head)) {
1242 for (i = 0; i < (sc->read_tail - sc->read_head); ++i) {
1246 sc->read_tail = sc->read_head + i;
1252 if ((m = tsal_pcp_peek(sc, sc->read_tail, sc->mtu_size)) < 0) {
1258 iov.iov_base = (int8_t *)sc->read_tail;
1270 sc->read_tail += (m - iov.iov_len);
1275 n = MIN(byte_cnt, (sc->read_tail
[all...]

Completed in 64 milliseconds