Searched refs:curpktlen (Results 1 – 1 of 1) sorted by relevance
327 int curpktlen; in dvb_ringbuffer_pkt_next() local333 curpktlen = rbuf->data[idx] << 8; in dvb_ringbuffer_pkt_next()334 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; in dvb_ringbuffer_pkt_next()335 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; in dvb_ringbuffer_pkt_next()342 curpktlen = rbuf->data[idx] << 8; in dvb_ringbuffer_pkt_next()343 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; in dvb_ringbuffer_pkt_next()347 *pktlen = curpktlen; in dvb_ringbuffer_pkt_next()351 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; in dvb_ringbuffer_pkt_next()352 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; in dvb_ringbuffer_pkt_next()