Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/dvb-core/
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()
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()