struct dmxdev_filter *dmxdevfilter = dvb_dmxdev_file_to_filter(file);
struct dmxdev_filter *dmxdevfilter = file->private_data;
static unsigned int dvb_demux_poll (struct file *file, poll_table *wait){	struct dmxdev_filter *dmxdevfilter = dvb_dmxdev_file_to_filter(file);	unsigned int mask = 0;	if (!dmxdevfilter)		return -EINVAL;	poll_wait(file, &dmxdevfilter->buffer.queue, wait);	if (dmxdevfilter->state != DMXDEV_STATE_GO &&	    dmxdevfilter->state != DMXDEV_STATE_DONE &&	    dmxdevfilter->state != DMXDEV_STATE_TIMEDOUT)		return 0;	if (dmxdevfilter->buffer.error)		mask |= (POLLIN | POLLRDNORM | POLLPRI | POLLERR);	if (dmxdevfilter->buffer.pread != dmxdevfilter->buffer.pwrite)		mask |= (POLLIN | POLLRDNORM | POLLPRI);	return mask;}