Searched refs:kthread (Results 1 - 25 of 547) sorted by relevance

1234567891011>>

/linux-master/kernel/
H A Dkthread.c16 #include <linux/kthread.h>
40 /* Information passed to kthread() from kthreadd. */
53 struct kthread { struct
74 static inline struct kthread *to_kthread(struct task_struct *k)
81 * Variant of to_kthread() that doesn't assume @p is a kthread.
87 * the task is both a kthread and struct kthread is persistent. However
91 static inline struct kthread *__to_kthread(struct task_struct *p)
93 void *kthread = p->worker_private; local
94 if (kthread
101 struct kthread *kthread = to_kthread(tsk); local
113 struct kthread *kthread; local
132 struct kthread *kthread; local
186 struct kthread *kthread = __to_kthread(current); local
227 struct kthread *kthread = __to_kthread(task); local
259 struct kthread *kthread = __to_kthread(task); local
314 struct kthread *kthread = to_kthread(current); local
340 static int kthread(void *_create) function
589 struct kthread *kthread = to_kthread(k); local
606 struct kthread *kthread = __to_kthread(p); local
623 struct kthread *kthread = to_kthread(k); local
654 struct kthread *kthread = to_kthread(k); local
698 struct kthread *kthread; local
1516 struct kthread *kthread; local
1542 struct kthread *kthread; local
[all...]
H A Dworkqueue_internal.h12 #include <linux/kthread.h>
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-streamer.h28 * @kthread: thread that generates the frames of the stream.
38 struct task_struct *kthread; member in struct:vimc_stream
H A Dvimc-streamer.c11 #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)
[all...]
/linux-master/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_gp.h9 #include <linux/kthread.h>
/linux-master/fs/ecryptfs/
H A DMakefile9 crypto.o keystore.o kthread.o debug.o
/linux-master/drivers/media/test-drivers/vivid/
H A DMakefile3 vivid-vid-cap.o vivid-vid-out.o vivid-kthread-cap.o vivid-kthread-out.o \
7 vivid-kthread-touch.o vivid-touch-cap.o
/linux-master/kernel/trace/
H A Dtrace_hwlat.c40 #include <linux/kthread.h>
72 /* runtime kthread data */
74 struct task_struct *kthread; member in struct:hwlat_kthread_data
167 if (!kdata->kthread)
391 * stop_stop_kthread - Inform the hardware latency sampling/detector kthread to stop
399 struct task_struct *kthread; local
402 kthread = kdata->kthread;
404 if (!kthread)
407 kthread_stop(kthread);
425 struct task_struct *kthread; local
464 struct task_struct *kthread; local
493 struct task_struct *kthread; local
[all...]
/linux-master/samples/trace_printk/
H A Dtrace-printk.c3 #include <linux/kthread.h>
/linux-master/include/drm/
H A Ddrm_vblank_work.h6 #include <linux/kthread.h>
/linux-master/drivers/md/
H A Ddm-rq.h14 #include <linux/kthread.h>
/linux-master/include/crypto/internal/
H A Dengine.h13 #include <linux/kthread.h>
42 * @kworker: kthread worker struct for request pump
/linux-master/drivers/misc/genwqe/
H A Dgenwqe_driver.h20 #include <linux/kthread.h>
/linux-master/include/rdma/
H A Drdmavt_cq.h9 #include <linux/kthread.h>
/linux-master/drivers/watchdog/
H A Dwatchdog_core.h28 #include <linux/kthread.h>
/linux-master/drivers/media/radio/
H A Dradio-miropcm20.c34 #include <linux/kthread.h>
73 struct task_struct *kthread; member in struct:pcm20
384 IS_ERR_OR_NULL(dev->kthread)) {
385 dev->kthread = kthread_run(pcm20_thread, dev, "%s",
387 if (IS_ERR(dev->kthread)) {
390 return PTR_ERR(dev->kthread);
400 if (v4l2_fh_is_singular_file(file) && !IS_ERR_OR_NULL(dev->kthread)) {
401 kthread_stop(dev->kthread);
402 dev->kthread = NULL;
/linux-master/fs/smb/server/
H A Dtransport_tcp.c42 static void tcp_stop_kthread(struct task_struct *kthread);
280 struct task_struct *kthread; local
282 kthread = kthread_run(ksmbd_kthread_fn, (void *)iface, "ksmbd-%s",
284 if (IS_ERR(kthread)) {
285 rc = PTR_ERR(kthread);
288 iface->ksmbd_kthread = kthread;
489 pr_err("Can't start ksmbd main kthread: %d\n", ret);
567 static void tcp_stop_kthread(struct task_struct *kthread) argument
571 if (!kthread)
574 ret = kthread_stop(kthread);
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-dev-v3.c13 #include <linux/kthread.h>
348 /* Acknowledge the interrupt and wake the kthread */
464 /* Create a kthread for each queue */
466 struct task_struct *kthread; local
470 kthread = kthread_run(ccp_cmd_queue_thread, cmd_q,
472 if (IS_ERR(kthread)) {
474 PTR_ERR(kthread));
475 ret = PTR_ERR(kthread);
479 cmd_q->kthread = kthread;
[all...]
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.h12 #include <linux/kthread.h>
/linux-master/drivers/accessibility/speakup/
H A Dthread.c2 #include <linux/kthread.h>
/linux-master/drivers/gpu/drm/msm/disp/
H A Dmsm_disp_snapshot.h25 #include <linux/kthread.h>
/linux-master/lib/kunit/
H A Dtry-catch.c13 #include <linux/kthread.h>
/linux-master/arch/x86/kvm/
H A Di8254.h5 #include <linux/kthread.h>
/linux-master/tools/testing/selftests/proc/
H A DMakefile9 TEST_GEN_PROGS += fd-003-kthread
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-video.h22 #include <linux/kthread.h>

Completed in 227 milliseconds

1234567891011>>