Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/dvb-core/
Ddmxdev.c962 static ssize_t dvb_dmxdev_read_sec(struct dmxdev_filter *dfil, in dvb_dmxdev_read_sec() argument
969 if (dfil->todo <= 0) { in dvb_dmxdev_read_sec()
970 hcount = 3 + dfil->todo; in dvb_dmxdev_read_sec()
973 result = dvb_dmxdev_buffer_read(&dfil->buffer, in dvb_dmxdev_read_sec()
977 dfil->todo = 0; in dvb_dmxdev_read_sec()
980 if (copy_from_user(dfil->secheader - dfil->todo, buf, result)) in dvb_dmxdev_read_sec()
985 dfil->todo -= result; in dvb_dmxdev_read_sec()
986 if (dfil->todo > -3) in dvb_dmxdev_read_sec()
988 dfil->todo = ((dfil->secheader[1] << 8) | dfil->secheader[2]) & 0xfff; in dvb_dmxdev_read_sec()
992 if (count > dfil->todo) in dvb_dmxdev_read_sec()
[all …]