Searched refs:curpktlen (Results 1 – 1 of 1) sorted by relevance
258 int curpktlen; in dvb_ringbuffer_pkt_next() local264 curpktlen = rbuf->data[idx] << 8; in dvb_ringbuffer_pkt_next()265 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; in dvb_ringbuffer_pkt_next()266 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; in dvb_ringbuffer_pkt_next()273 curpktlen = rbuf->data[idx] << 8; in dvb_ringbuffer_pkt_next()274 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; in dvb_ringbuffer_pkt_next()278 *pktlen = curpktlen; in dvb_ringbuffer_pkt_next()282 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; in dvb_ringbuffer_pkt_next()283 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; in dvb_ringbuffer_pkt_next()