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;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3ec4a30771ed9a0ce6f05e637ea83b3781cc61d7/dmxdev.c/buggy/drivers/media/dvb/dvb-core/dmxdev.c