Lines Matching refs:kthread
11 #include <linux/kthread.h>
146 * kthread API).
182 * When starting, check if there is no ``stream->kthread`` allocated. This
184 * pipeline, creates and runs a kthread to consume buffers through the pipeline.
200 if (stream->kthread)
207 stream->kthread = kthread_run(vimc_streamer_thread, stream,
210 if (IS_ERR(stream->kthread)) {
211 ret = PTR_ERR(stream->kthread);
214 stream->kthread = NULL;
219 if (!stream->kthread)
222 ret = kthread_stop(stream->kthread);
232 stream->kthread = NULL;