Lines Matching refs:read_tail
205 uint8_t *read_tail;
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 - sc->read_head));
1304 if (byte_cnt <= (sc->read_tail - sc->read_head)) {
1321 for (i = 0; i < (sc->read_tail - sc->read_head); ++i) {