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

/linux-4.4.14/drivers/media/dvb-core/
H A Ddvb_ringbuffer.c283 int curpktlen; dvb_ringbuffer_pkt_next() local
289 curpktlen = rbuf->data[idx] << 8; dvb_ringbuffer_pkt_next()
290 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; dvb_ringbuffer_pkt_next()
291 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; dvb_ringbuffer_pkt_next()
298 curpktlen = rbuf->data[idx] << 8; dvb_ringbuffer_pkt_next()
299 curpktlen |= rbuf->data[(idx + 1) % rbuf->size]; dvb_ringbuffer_pkt_next()
303 *pktlen = curpktlen; dvb_ringbuffer_pkt_next()
307 consumed += curpktlen + DVB_RINGBUFFER_PKTHDRSIZE; dvb_ringbuffer_pkt_next()
308 idx = (idx + curpktlen + DVB_RINGBUFFER_PKTHDRSIZE) % rbuf->size; dvb_ringbuffer_pkt_next()

Completed in 172 milliseconds