Home
last modified time | relevance | path

Searched refs:curpktlen (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/dvb-core/
H A Ddvb_ringbuffer.c327 int curpktlen; in dvb_ringbuffer_pkt_next() local
333 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()
344 curpktlen = rbuf->data[idx] << 8; in dvb_ringbuffer_pkt_next()
345 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; in dvb_ringbuffer_pkt_next()
349 *pktlen = curpktlen; in dvb_ringbuffer_pkt_next()
353 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; in dvb_ringbuffer_pkt_next()
354 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; in dvb_ringbuffer_pkt_next()