Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/dvb-core/
Ddmxdev.c972 static ssize_t dvb_dmxdev_read_sec(struct dmxdev_filter *dfil, in dvb_dmxdev_read_sec() argument
979 if (dfil->todo <= 0) { in dvb_dmxdev_read_sec()
980 hcount = 3 + dfil->todo; in dvb_dmxdev_read_sec()
983 result = dvb_dmxdev_buffer_read(&dfil->buffer, in dvb_dmxdev_read_sec()
987 dfil->todo = 0; in dvb_dmxdev_read_sec()
990 if (copy_from_user(dfil->secheader - dfil->todo, buf, result)) in dvb_dmxdev_read_sec()
995 dfil->todo -= result; in dvb_dmxdev_read_sec()
996 if (dfil->todo > -3) in dvb_dmxdev_read_sec()
998 dfil->todo = ((dfil->secheader[1] << 8) | dfil->secheader[2]) & 0xfff; in dvb_dmxdev_read_sec()
1002 if (count > dfil->todo) in dvb_dmxdev_read_sec()
[all …]