Lines Matching full:producer
33 static struct task_struct *producer; variable
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 in ring_buffer_consumer()
218 /* Wait till the producer wakes us up when there is more data in ring_buffer_consumer()
219 * available or when the producer wants us to finish reading. in ring_buffer_consumer()
316 trace_printk("Running Producer at SCHED_FIFO %s\n", in ring_buffer_producer()
319 trace_printk("Running Producer at nice: %d\n", in ring_buffer_producer()
449 producer = kthread_run(ring_buffer_producer_thread, in ring_buffer_benchmark_init()
451 ret = PTR_ERR(producer); in ring_buffer_benchmark_init()
453 if (IS_ERR(producer)) in ring_buffer_benchmark_init()
469 sched_set_fifo(producer); in ring_buffer_benchmark_init()
471 sched_set_fifo_low(producer); in ring_buffer_benchmark_init()
473 set_user_nice(producer, producer_nice); in ring_buffer_benchmark_init()
488 kthread_stop(producer); in ring_buffer_benchmark_exit()