Пример #1
0
static void ci_ll_flush(struct dvb_ringbuffer *cirbuf, struct dvb_ringbuffer *ciwbuf)
{
	dvb_ringbuffer_flush_spinlock_wakeup(cirbuf);
	dvb_ringbuffer_flush_spinlock_wakeup(ciwbuf);
}
Пример #2
0
/*=============================================================================
	Function	: kfront_open
	Description	:
	Input		:
	Output		:
	Return		:
=============================================================================*/
static int kfront_open(struct inode *inode, struct file *file)
{
	dprintk("%s: \n", __func__);
	dvb_ringbuffer_flush_spinlock_wakeup(&ci_rbuffer);
	return 0;
}