Lines Matching defs:producer
33 static struct task_struct *producer;
39 MODULE_PARM_DESC(disable_reader, "only run producer");
52 MODULE_PARM_DESC(producer_nice, "nice prio for producer");
58 MODULE_PARM_DESC(producer_fifo, "use fifo for producer: 0 - disabled, 1 - low prio, 2 - fifo");
191 * Continue running until the producer specifically asks to stop
218 /* Wait till the producer wakes us up when there is more data
219 * available or when the producer wants us to finish reading.
449 producer = kthread_run(ring_buffer_producer_thread,
451 ret = PTR_ERR(producer);
453 if (IS_ERR(producer))
469 sched_set_fifo(producer);
471 sched_set_fifo_low(producer);
473 set_user_nice(producer, producer_nice);
488 kthread_stop(producer);