Searched refs:kthread (Results 1 - 200 of 430) sorted by relevance

123

/linux-4.1.27/fs/ecryptfs/
H A DMakefile8 crypto.o keystore.o kthread.o debug.o
H A Dkthread.c23 #include <linux/kthread.h>
95 "ecryptfs-kthread"); ecryptfs_init_kthread()
/linux-4.1.27/drivers/media/platform/vivid/
H A DMakefile2 vivid-vid-cap.o vivid-vid-out.o vivid-kthread-cap.o vivid-kthread-out.o \
H A Dvivid-kthread-cap.h2 * vivid-kthread-cap.h - video/vbi capture thread support functions.
H A Dvivid-kthread-out.h2 * vivid-kthread-out.h - video/vbi output thread support functions.
H A Dvivid-kthread-out.c2 * vivid-kthread-out.h - video/vbi output thread support functions.
29 #include <linux/kthread.h>
52 #include "vivid-kthread-out.h"
H A Dvivid-vbi-out.c26 #include "vivid-kthread-out.h"
H A Dvivid-osd.c29 #include <linux/kthread.h>
H A Dvivid-vbi-cap.c26 #include "vivid-kthread-cap.h"
H A Dvivid-kthread-cap.c2 * vivid-kthread-cap.h - video/vbi capture thread support functions.
29 #include <linux/kthread.h>
52 #include "vivid-kthread-cap.h"
H A Dvivid-sdr-cap.c23 #include <linux/kthread.h>
/linux-4.1.27/kernel/
H A Dkthread.c9 #include <linux/kthread.h>
29 /* Information passed to kthread() from kthreadd. */
41 struct kthread { struct
57 container_of(vfork, struct kthread, exited)
59 static inline struct kthread *to_kthread(struct task_struct *k) to_kthread()
64 static struct kthread *to_live_kthread(struct task_struct *k) to_live_kthread()
73 * kthread_should_stop - should this kthread return now?
75 * When someone calls kthread_stop() on your kthread, it will be woken
86 * kthread_should_park - should this kthread park now?
88 * When someone calls kthread_park() on your kthread, it will be woken
102 * kthread_freezable_should_stop - should this freezable kthread return now?
127 * kthread_data - return data value specified on kthread creation
128 * @task: kthread task in question
130 * Return the data value specified when kthread @task was created.
141 * @task: possible kthread task in question
143 * @task could be a kthread task. Return the data value specified when it
144 * was created if accessible. If @task isn't a kthread task or its data is
150 struct kthread *kthread = to_kthread(task); probe_kthread_data() local
153 probe_kernel_read(&data, &kthread->data, sizeof(data)); probe_kthread_data()
157 static void __kthread_parkme(struct kthread *self) __kthread_parkme()
175 static int kthread(void *_create) kthread() function
177 /* Copy data: it's on kthread's stack */ kthread()
182 struct kthread self; kthread()
231 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); create_kthread()
246 * kthread_create_on_node - create a kthread.
257 * in @node, to get NUMA affinity for kthread stack, or else give -1.
330 /* Must have done schedule() in kthread() before we set_task_cpu */ __kthread_bind()
341 * kthread_bind - bind a just-created kthread to a cpu.
356 * kthread_create_on_cpu - Create a cpu bound kthread
383 static void __kthread_unpark(struct task_struct *k, struct kthread *kthread) __kthread_unpark() argument
385 clear_bit(KTHREAD_SHOULD_PARK, &kthread->flags); __kthread_unpark()
392 if (test_and_clear_bit(KTHREAD_IS_PARKED, &kthread->flags)) { __kthread_unpark()
393 if (test_bit(KTHREAD_IS_PER_CPU, &kthread->flags)) __kthread_unpark()
394 __kthread_bind(k, kthread->cpu, TASK_PARKED); __kthread_unpark()
409 struct kthread *kthread = to_live_kthread(k); kthread_unpark() local
411 if (kthread) kthread_unpark()
412 __kthread_unpark(k, kthread); kthread_unpark()
425 * If called by the kthread itself just the park bit is set.
429 struct kthread *kthread = to_live_kthread(k); kthread_park() local
432 if (kthread) { kthread_park()
433 if (!test_bit(KTHREAD_IS_PARKED, &kthread->flags)) { kthread_park()
434 set_bit(KTHREAD_SHOULD_PARK, &kthread->flags); kthread_park()
437 wait_for_completion(&kthread->parked); kthread_park()
462 struct kthread *kthread; kthread_stop() local
468 kthread = to_live_kthread(k); kthread_stop()
469 if (kthread) { kthread_stop()
470 set_bit(KTHREAD_SHOULD_STOP, &kthread->flags); kthread_stop()
471 __kthread_unpark(k, kthread); kthread_stop()
473 wait_for_completion(&kthread->exited); kthread_stop()
532 * kthread_worker_fn - kthread function to process kthread_worker
537 * kthread_worker. The started kthread will process work_list until
538 * the it is stopped with kthread_stop(). A kthread can also call
542 * as there's only one kthread attached to it at any given time. A
543 * kthread_worker without an attached kthread simply collects queued
H A Dworkqueue_internal.h11 #include <linux/kthread.h>
H A Dhung_task.c14 #include <linux/kthread.h>
223 * kthread which checks for tasks stuck in D state
H A Dtorture.c27 #include <linux/kthread.h>
567 * Initialize and kick off the torture_stutter kthread.
580 * Cleanup after the torture_stutter kthread.
689 * Each kthread must wait for kthread_should_stop() before returning from
709 * Create a generic torture kthread that is immediately runnable. If you
710 * need the kthread to be stopped so that you can do something to it before
731 * Stop a generic kthread, emitting a message.
H A Dfreezer.c12 #include <linux/kthread.h>
H A DMakefile10 kthread.o sys_ni.o nsproxy.o \
H A Dsmpboot.c14 #include <linux/kthread.h>
H A Daudit_watch.c24 #include <linux/kthread.h>
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-dev.c15 #include <linux/kthread.h>
135 wake_up_process(ccp->cmd_q[i].kthread); ccp_enqueue_cmd()
167 wake_up_process(ccp->cmd_q[i].kthread); ccp_do_cmd_backlog()
412 /* Create a kthread for each queue */ ccp_init()
414 struct task_struct *kthread; ccp_init() local
418 kthread = kthread_create(ccp_cmd_queue_thread, cmd_q, ccp_init()
420 if (IS_ERR(kthread)) { ccp_init()
422 PTR_ERR(kthread)); ccp_init()
423 ret = PTR_ERR(kthread); ccp_init()
427 cmd_q->kthread = kthread; ccp_init()
428 wake_up_process(kthread); ccp_init()
450 if (ccp->cmd_q[i].kthread) ccp_init()
451 kthread_stop(ccp->cmd_q[i].kthread); ccp_init()
481 if (ccp->cmd_q[i].kthread) ccp_destroy()
482 kthread_stop(ccp->cmd_q[i].kthread); ccp_destroy()
552 /* Acknowledge the interrupt and wake the kthread */ ccp_irq_handler()
H A Dccp-pci.c19 #include <linux/kthread.h>
279 wake_up_process(ccp->cmd_q[i].kthread); ccp_pci_suspend()
305 wake_up_process(ccp->cmd_q[i].kthread); ccp_pci_resume()
H A Dccp-platform.c19 #include <linux/kthread.h>
239 wake_up_process(ccp->cmd_q[i].kthread); ccp_platform_suspend()
265 wake_up_process(ccp->cmd_q[i].kthread); ccp_platform_resume()
H A Dccp-dev.h160 struct task_struct *kthread; member in struct:ccp_cmd_queue
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Dusb-tx.c246 struct task_struct *kthread; i2400mu_tx_setup() local
248 kthread = kthread_run(i2400mu_txd, i2400mu, "%s-tx", i2400mu_tx_setup()
250 /* the kthread function sets i2400mu->tx_thread */ i2400mu_tx_setup()
251 if (IS_ERR(kthread)) { i2400mu_tx_setup()
252 result = PTR_ERR(kthread); i2400mu_tx_setup()
263 struct task_struct *kthread; i2400mu_tx_release() local
266 kthread = i2400mu->tx_kthread; i2400mu_tx_release()
269 if (kthread) i2400mu_tx_release()
270 kthread_stop(kthread); i2400mu_tx_release()
272 d_printf(1, dev, "TX: kthread had already exited\n"); i2400mu_tx_release()
H A Dusb-rx.c47 * we call i2400mu_rx_kick(); that wakes up the RX kthread, which
436 struct task_struct *kthread; i2400mu_rx_setup() local
438 kthread = kthread_run(i2400mu_rxd, i2400mu, "%s-rx", i2400mu_rx_setup()
440 /* the kthread function sets i2400mu->rx_thread */ i2400mu_rx_setup()
441 if (IS_ERR(kthread)) { i2400mu_rx_setup()
442 result = PTR_ERR(kthread); i2400mu_rx_setup()
454 struct task_struct *kthread; i2400mu_rx_release() local
457 kthread = i2400mu->rx_kthread; i2400mu_rx_release()
460 if (kthread) i2400mu_rx_release()
461 kthread_stop(kthread); i2400mu_rx_release()
463 d_printf(1, dev, "RX: kthread had already exited\n"); i2400mu_rx_release()
H A Di2400m-usb.h68 #include <linux/kthread.h>
183 * @tx_wq: waitqueue for the TX kthread to sleep when there is no data
191 * @rx_wq: waitqueue for the RX kthread to sleep when there is no data
196 * still not handled by the RX kthread.
/linux-4.1.27/drivers/media/radio/
H A Dradio-miropcm20.c33 #include <linux/kthread.h>
72 struct task_struct *kthread; member in struct:pcm20
387 IS_ERR_OR_NULL(dev->kthread)) { pcm20_open()
388 dev->kthread = kthread_run(pcm20_thread, dev, "%s", pcm20_open()
390 if (IS_ERR(dev->kthread)) { pcm20_open()
393 return PTR_ERR(dev->kthread); pcm20_open()
403 if (v4l2_fh_is_singular_file(file) && !IS_ERR_OR_NULL(dev->kthread)) { pcm20_release()
404 kthread_stop(dev->kthread); pcm20_release()
405 dev->kthread = NULL; pcm20_release()
/linux-4.1.27/drivers/misc/sgi-xp/
H A Dxpc_main.c53 #include <linux/kthread.h>
335 * The first kthread assigned to a newly activated partition is the one
337 * that kthread until the partition is brought down, at which time that kthread
338 * returns back to XPC HB. (The return of that kthread will signify to XPC HB
340 * partition.) This kthread becomes the channel manager for that partition.
528 * kthread and that kthread will call this function to attempt to set up the
532 * The kthread that was created by XPC HB and which setup the XPC
535 * time the kthread will teardown the XPC infrastructure and then exit.
595 struct task_struct *kthread; xpc_activate_partition() local
606 kthread = kthread_run(xpc_activating, (void *)((u64)partid), "xpc%02d", xpc_activate_partition()
608 if (IS_ERR(kthread)) { xpc_activate_partition()
675 dev_dbg(xpc_chan, "idle kthread calling " xpc_kthread_waitmsgs()
699 dev_dbg(xpc_chan, "kthread starting, partid=%d, channel=%d\n", xpc_kthread_start()
759 dev_dbg(xpc_chan, "kthread exiting, partid=%d, channel=%d\n", xpc_kthread_start()
775 * A kthread is assigned to one of the active channels that exists for a given
785 struct task_struct *kthread; xpc_create_kthreads() local
793 * kthread. That kthread is responsible for doing the xpc_create_kthreads()
814 kthread = kthread_run(xpc_kthread_start, (void *)args, xpc_create_kthreads()
816 if (IS_ERR(kthread)) { xpc_create_kthreads()
1234 struct task_struct *kthread; xpc_init() local
1296 kthread = kthread_run(xpc_hb_checker, NULL, XPC_HB_CHECK_THREAD_NAME); xpc_init()
1297 if (IS_ERR(kthread)) { xpc_init()
1308 kthread = kthread_run(xpc_initiate_discovery, NULL, xpc_init()
1310 if (IS_ERR(kthread)) { xpc_init()
H A Dxpc.h571 /* kthread management related fields */
579 wait_queue_head_t idle_wq; /* idle kthread wait queue */
754 wait_queue_head_t teardown_wq; /* kthread waiting to teardown infra */
/linux-4.1.27/include/linux/
H A Dkthread.h29 * wake_up_process(). Returns the kthread or ERR_PTR(-ENOMEM).
56 * Simple work processor based on kthread.
60 * respectively. Queued kthread_works are processed by a kthread
/linux-4.1.27/drivers/macintosh/ams/
H A Dams.h3 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/speakup/
H A Dthread.c1 #include <linux/kthread.h>
H A Dspeakup_acntpc.c30 #include <linux/kthread.h>
H A Dspeakup_apollo.c28 #include <linux/kthread.h>
H A Dspeakup_decext.c28 #include <linux/kthread.h>
H A Dspeakup_dectlk.c31 #include <linux/kthread.h>
H A Dspeakup_keypc.c27 #include <linux/kthread.h>
H A Dspeakup_dtlk.c29 #include <linux/kthread.h>
H A Dsynth.c14 #include <linux/kthread.h>
H A Dspeakup_decpc.c35 #include <linux/kthread.h>
/linux-4.1.27/arch/x86/kvm/
H A Di8254.h4 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/pci/pt1/
H A Dpt1.c29 #include <linux/kthread.h>
80 struct task_struct *kthread; member in struct:pt1
491 if (!pt1->kthread) { pt1_start_polling()
492 pt1->kthread = kthread_run(pt1_thread, pt1, "earth-pt1"); pt1_start_polling()
493 if (IS_ERR(pt1->kthread)) { pt1_start_polling()
494 ret = PTR_ERR(pt1->kthread); pt1_start_polling()
495 pt1->kthread = NULL; pt1_start_polling()
525 if (count == 0 && pt1->kthread) { pt1_stop_polling()
526 kthread_stop(pt1->kthread); pt1_stop_polling()
527 pt1->kthread = NULL; pt1_stop_polling()
1066 if (pt1->kthread) pt1_remove()
1067 kthread_stop(pt1->kthread); pt1_remove()
/linux-4.1.27/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c23 #include <linux/kthread.h>
292 solo_dev->kthread = kthread_run(solo_thread, solo_dev, SOLO6X10_NAME "_disp"); solo_start_thread()
294 if (IS_ERR(solo_dev->kthread)) { solo_start_thread()
295 ret = PTR_ERR(solo_dev->kthread); solo_start_thread()
296 solo_dev->kthread = NULL; solo_start_thread()
306 if (!solo_dev->kthread) solo_stop_thread()
310 kthread_stop(solo_dev->kthread); solo_stop_thread()
311 solo_dev->kthread = NULL; solo_stop_thread()
H A Dsolo6x10-g723.c24 #include <linux/kthread.h>
H A Dsolo6x10.h275 struct task_struct *kthread; member in struct:solo_dev
/linux-4.1.27/drivers/misc/genwqe/
H A Dgenwqe_driver.h28 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/unisys/uislib/
H A Duisthread.c22 #include <linux/kthread.h>
/linux-4.1.27/arch/mips/kernel/
H A Dspinlock_test.c2 #include <linux/kthread.h>
/linux-4.1.27/kernel/rcu/
H A Dtree_plugin.h51 static bool __read_mostly rcu_nocb_poll; /* Offload kthread are to poll. */
87 pr_info("\tRCU kthread priority: %d.\n", kthread_prio); rcu_bootup_announce_oddness()
1056 * Priority-boosting kthread. One per leaf rcu_node and one for the
1065 trace_rcu_utilization(TPS("Start boost kthread@init")); rcu_boost_kthread()
1068 trace_rcu_utilization(TPS("End boost kthread@rcu_wait")); rcu_boost_kthread()
1070 trace_rcu_utilization(TPS("Start boost kthread@rcu_wait")); rcu_boost_kthread()
1079 trace_rcu_utilization(TPS("End boost kthread@rcu_yield")); rcu_boost_kthread()
1081 trace_rcu_utilization(TPS("Start boost kthread@rcu_yield")); rcu_boost_kthread()
1086 trace_rcu_utilization(TPS("End boost kthread@notreached")); rcu_boost_kthread()
1093 * kthread to start boosting them. If there is an expedited grace
1128 * Wake up the per-CPU kthread to invoke RCU callbacks.
1145 * Is the current CPU running the RCU-callbacks kthread?
1164 * Create an RCU-boost kthread for the specified node if one does not
1165 * already exist. We only create this kthread for preemptible RCU.
1236 trace_rcu_utilization(TPS("Start CPU kthread@rcu_wait")); rcu_cpu_kthread()
1248 trace_rcu_utilization(TPS("End CPU kthread@rcu_wait")); rcu_cpu_kthread()
1254 trace_rcu_utilization(TPS("Start CPU kthread@rcu_yield")); rcu_cpu_kthread()
1256 trace_rcu_utilization(TPS("End CPU kthread@rcu_yield")); rcu_cpu_kthread()
1261 * Set the per-rcu_node kthread's affinity to cover all CPUs that are
1267 * this function allows the kthread to execute on any CPU.
1318 /* Fire up the incoming CPU's kthread and leaf rcu_node kthread. */ rcu_prepare_kthreads()
1821 * kthread created that pulls the callbacks from the corresponding CPU,
1823 * The no-CBs CPUs do a wake_up() on their kthread when they insert
1825 * has been specified, in which case each kthread actively polls its
1895 * Kick the leader kthread for this NOCB group.
1943 /* Having no rcuo kthread but CBs after scheduler starts is bad! */ rcu_nocb_cpu_needs_barrier()
1962 * If warranted, also wake up the kthread servicing this CPUs queues.
1982 /* If we are not being polled and there is a kthread, awaken it ... */ __call_rcu_nocb_enqueue()
2027 * "rcuo" kthread can find it.
2263 * Per-rcu_data kthread, but only for no-CBs CPUs. Each kthread invokes
2408 * rcuo kthread for the specified RCU flavor, spawn it. If the CPUs are
2421 * If this isn't a no-CBs CPU or if it already has an rcuo kthread, rcu_spawn_one_nocb_kthread()
2447 /* Spawn the kthread for this CPU and RCU flavor. */ rcu_spawn_one_nocb_kthread()
2785 /* Verify affinity of current kthread. */ rcu_sysidle_check_cpu()
2898 * kthread's context.
3039 * grace-period kthread will do force_quiescent_state() processing?
3058 * Bind the grace-period kthread for the sysidle flavor of RCU to the
H A Drcutorture.c29 #include <linux/kthread.h>
769 * RCU torture callback-flood kthread. Repeatedly induces bursts of calls
818 * RCU torture force-quiescent-state kthread. Repeatedly induces
849 * RCU torture writer kthread. Repeatedly substitutes a new structure
986 * RCU torture fake writer kthread. Repeatedly calls sync, with a random
1095 * RCU torture reader kthread. Repeatedly dereferences rcu_torture_current,
1180 * kthread full control (or the init/cleanup functions when rcu_torture_stats
1357 * CPU-stall kthread. It waits as specified by stall_cpu_holdoff, then
1388 /* Spawn CPU-stall kthread, if stall_cpu specified. */ rcu_torture_stall_init()
1402 /* kthread function to register callbacks used to test RCU barriers. */ rcu_torture_barrier_cbs()
1433 /* kthread function to drive and coordinate RCU barrier testing. */ rcu_torture_barrier()
H A Dtiny_plugin.h25 #include <linux/kthread.h>
H A Dtree.h112 /* RCU's kthread states for tracing. */
188 /* kthread that takes care of priority */
346 struct rcu_head *nocb_head; /* CBs waiting for kthread. */
443 short gp_state; /* GP kthread sleep state. */
488 unsigned long gp_activity; /* Time of last GP kthread */
H A Dtree.c52 #include <linux/kthread.h>
161 /* rcuc/rcub kthread realtime priority */
287 * This allows the grace-period kthread to record the for_each_rcu_flavor()
1128 * Complain about starvation of grace-period kthread.
1138 pr_err("%s kthread starved for %ld jiffies!\n", rcu_check_gp_kthread_starvation()
1221 pr_err("All QSes seen, last %s kthread activity %ld (%ld-%ld), jiffies_till_next_fqs=%ld, root ->qsmask %#lx\n",
1422 * is reason to awaken the grace-period kthread.
1536 * Awaken the grace-period kthread for the specified flavor of RCU.
1538 * nothing for the grace-period kthread to do (as in several CPUs
1540 * a kthread that has not yet been created.
1559 * awaken the RCU grace-period kthread.
1629 * Returns true if the RCU grace-period kthread needs to be awakened.
1671 * Returns true if the grace-period kthread needs to be awakened.
1829 * process finishes, because this kthread handles both.
1969 * Body of kthread that handles grace periods.
2074 * Returns true if the grace-period kthread must be awakened.
2108 * Returns true if the grace-period kthread needs to be awakened.
2878 * otherwise wake up the per-CPU kernel kthread. Note that because we
H A Dupdate.c50 #include <linux/kthread.h>
578 /* RCU-tasks kthread that detects grace periods and invokes callbacks. */ rcu_tasks_kthread()
732 smp_mb(); /* Ensure caller sees full kthread. */ rcu_spawn_tasks_kthread()
742 smp_mb(); /* Ensure others see full kthread. */ rcu_spawn_tasks_kthread()
/linux-4.1.27/include/trace/events/
H A Drcu.h54 * "reqwait": GP kthread sleeps waiting for grace-period request.
55 * "reqwaitsig": GP kthread awakened by signal from reqwait state.
56 * "fqswait": GP kthread waiting until time to force quiescent states.
57 * "fqsstart": GP kthread starts forcing quiescent states.
58 * "fqsend": GP kthread done forcing quiescent states.
59 * "fqswaitsig": GP kthread awakened by signal from fqswait state.
182 * "WakeEmpty": Wake rcuo kthread, first CB to empty list.
183 * "WakeEmptyIsDeferred": Wake rcuo kthread later, first CB to empty list.
184 * "WakeOvf": Wake rcuo kthread, CB list is huge.
185 * "WakeOvfIsDeferred": Wake rcuo kthread later, CB list is huge.
186 * "WakeNot": Don't wake rcuo kthread.
187 * "WakeNotPoll": Don't wake rcuo kthread because it is polling.
191 * "WokeEmpty": rcuo kthread woke to find empty list.
192 * "WokeNonEmpty": rcuo kthread woke to find non-empty list.
H A Dsched.h12 * Tracepoint for calling kthread_stop, performed to end a kthread:
34 * Tracepoint for the return value of the kthread stopping:
/linux-4.1.27/drivers/media/pci/cx25821/
H A Dcx25821-video.h36 #include <linux/kthread.h>
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_common.h20 #include <linux/kthread.h>
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dmdfld_dsi_pkg_sender.h29 #include <linux/kthread.h>
/linux-4.1.27/drivers/usb/usbip/
H A Dusbip_event.c20 #include <linux/kthread.h>
H A Dvhci_tx.c20 #include <linux/kthread.h>
H A Dvhci_rx.c20 #include <linux/kthread.h>
H A Dvhci_sysfs.c20 #include <linux/kthread.h>
H A Dstub_dev.c22 #include <linux/kthread.h>
H A Dstub_tx.c20 #include <linux/kthread.h>
H A Dstub_rx.c21 #include <linux/kthread.h>
/linux-4.1.27/samples/trace_events/
H A Dtrace-events-sample.c2 #include <linux/kthread.h>
/linux-4.1.27/sound/soc/codecs/
H A Drt5677-spi.c23 #include <linux/kthread.h>
/linux-4.1.27/sound/soc/intel/common/
H A Dsst-ipc.h26 #include <linux/kthread.h>
H A Dsst-ipc.c29 #include <linux/kthread.h>
/linux-4.1.27/arch/um/kernel/
H A Dprocess.c156 int kthread = current->flags & PF_KTHREAD; copy_thread() local
161 if (!kthread) { copy_thread()
180 if (!kthread) { copy_thread()
/linux-4.1.27/drivers/media/i2c/
H A Dmsp3400-driver.c54 #include <linux/kthread.h>
319 if (NULL == state->kthread) msp_wake_thread()
858 state->kthread = kthread_run(thread_func, client, "msp34xx"); msp_probe()
860 if (IS_ERR(state->kthread)) msp_probe()
873 if (state->kthread) { msp_remove()
875 kthread_stop(state->kthread); msp_remove()
H A Dmsp3400-driver.h101 struct task_struct *kthread; member in struct:msp_state
H A Dtvaudio.c36 #include <linux/kthread.h>
1825 automatically follows the stereo carrier, a kthread is tvaudio_s_frequency()
2008 without kthread tvaudio_probe()
2019 v4l2_warn(sd, "failed to create kthread\n"); tvaudio_probe()
/linux-4.1.27/drivers/mfd/
H A Dda9063-core.c33 #include <linux/kthread.h>
H A Ducb1x00-ts.c33 #include <linux/kthread.h>
H A Dtwl6030-irq.c37 #include <linux/kthread.h>
/linux-4.1.27/drivers/scsi/fcoe/
H A Dfcoe.h24 #include <linux/kthread.h>
/linux-4.1.27/drivers/s390/cio/
H A Dcrw.c12 #include <linux/kthread.h>
/linux-4.1.27/drivers/gpio/
H A Dgpio-twl6040.c27 #include <linux/kthread.h>
H A Dgpio-twl4030.c31 #include <linux/kthread.h>
/linux-4.1.27/arch/x86/kernel/
H A Dcheck.c3 #include <linux/kthread.h>
H A Dprocess.c161 /* kthread execs. TODO: cleanup this horror. */ flush_thread()
/linux-4.1.27/fs/jffs2/
H A Dbackground.c21 #include <linux/kthread.h>
/linux-4.1.27/drivers/tty/
H A Dmips_ejtag_fdc.c21 #include <linux/kthread.h>
634 /* Wait the kthread so it can try writing more data */ mips_ejtag_fdc_handle()
839 /* Wake up the kthread */ mips_ejtag_fdc_tty_write()
958 dev_err(priv->dev, "Couldn't create kthread (%d)\n", ret); mips_ejtag_fdc_tty_probe()
1112 * This must be before kthread is restarted, as kthread may mips_ejtag_fdc_tty_cpu_up()
1128 /* Restart the kthread */ mips_ejtag_fdc_tty_cpu_up()
1132 dev_err(priv->dev, "Couldn't re-create kthread (%d)\n", ret); mips_ejtag_fdc_tty_cpu_up()
H A Dbfin_jtag_comm.c20 #include <linux/kthread.h>
H A Dmetag_da.c19 #include <linux/kthread.h>
513 * If the buffer is full, wake up the kthread, otherwise allow dashtty_write()
/linux-4.1.27/drivers/power/
H A Dtps65090-charger.c24 #include <linux/kthread.h>
328 "Unable to run kthread err %d\n", ret); tps65090_charger_probe()
/linux-4.1.27/fs/btrfs/
H A Dasync-thread.c20 #include <linux/kthread.h>
177 * This hook is called in kthread content.
H A Dinode-map.c20 #include <linux/kthread.h>
/linux-4.1.27/kernel/locking/
H A Dlocktorture.c25 #include <linux/kthread.h>
430 * Lock torture writer kthread. Repeatedly acquires and releases
464 * Lock torture reader kthread. Repeatedly acquires and releases
530 * loaded, and then by giving the lock_torture_stats kthread full control
775 * slight advantage, by creating its kthread first. This can be modified lock_torture_init()
H A Drtmutex-tester.c10 #include <linux/kthread.h>
/linux-4.1.27/drivers/crypto/
H A Dsahara.c30 #include <linux/kthread.h>
208 struct task_struct *kthread; member in struct:sahara_dev
685 wake_up_process(dev->kthread); sahara_aes_crypt()
1163 wake_up_process(dev->kthread); sahara_sha_enqueue()
1573 dev->kthread = kthread_run(sahara_queue_manage, dev, "sahara_crypto"); sahara_probe()
1574 if (IS_ERR(dev->kthread)) { sahara_probe()
1575 err = PTR_ERR(dev->kthread); sahara_probe()
1624 kthread_stop(dev->kthread); sahara_probe()
1655 kthread_stop(dev->kthread); sahara_remove()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_usb.c21 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/
H A Dlibcfs.h56 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/unisys/include/
H A Dtimskmod.h50 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Dosdep_service.h55 #include <linux/kthread.h>
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_tools.h51 #include <linux/kthread.h>
/linux-4.1.27/arch/x86/mm/
H A Dpageattr-test.c8 #include <linux/kthread.h>
/linux-4.1.27/drivers/bluetooth/
H A Dbtmrvl_drv.h22 #include <linux/kthread.h>
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dmcu_mpc8349emitx.c23 #include <linux/kthread.h>
H A Dsuspend.c18 #include <linux/kthread.h>
/linux-4.1.27/kernel/trace/
H A Dtrace_benchmark.c3 #include <linux/kthread.h>
H A Dring_buffer_benchmark.c8 #include <linux/kthread.h>
/linux-4.1.27/fs/nfs/
H A Dcallback.c18 #include <linux/kthread.h>
333 printk(KERN_WARNING "nfs_callback_create_svc: no kthread, %d users??\n", nfs_callback_create_svc()
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-core.c1354 dev->kthread = kthread_run(saa7164_thread_function, dev, saa7164_initdev()
1356 if (IS_ERR(dev->kthread)) { saa7164_initdev()
1357 dev->kthread = NULL; saa7164_initdev()
1392 if (fw_debug && dev->kthread) { saa7164_finidev()
1393 kthread_stop(dev->kthread); saa7164_finidev()
1394 dev->kthread = NULL; saa7164_finidev()
H A Dsaa7164.h52 #include <linux/kthread.h>
478 struct task_struct *kthread; member in struct:saa7164_dev
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-video.c37 #include <linux/kthread.h>
1517 core->kthread = kthread_run(cx88_audio_thread, core, "cx88 tvaudio"); cx8800_initdev()
1518 if (IS_ERR(core->kthread)) { cx8800_initdev()
1519 err = PTR_ERR(core->kthread); cx8800_initdev()
1547 if (core->kthread) { cx8800_finidev()
1548 kthread_stop(core->kthread); cx8800_finidev()
1549 core->kthread = NULL; cx8800_finidev()
H A Dcx88-tvaudio.c51 #include <linux/kthread.h>
H A Dcx88.h384 struct task_struct *kthread; member in struct:cx88_core
/linux-4.1.27/drivers/media/pci/pt3/
H A Dpt3.c19 #include <linux/kthread.h>
488 "PT3 (adap:%d, dmx:%d): failed to start kthread\n", pt3_start_streaming()
626 /* stop demux kthread */ pt3_cleanup_adapter()
/linux-4.1.27/drivers/net/xen-netback/
H A Dinterface.c33 #include <linux/kthread.h>
575 pr_warn("Could not allocate kthread for %s\n", queue->name); xenvif_connect()
585 pr_warn("Could not allocate kthread for %s\n", queue->name); xenvif_connect()
H A Dcommon.h170 /* Use kthread for guest RX */
H A Dnetback.c37 #include <linux/kthread.h>
674 /* Disable the vif from queue 0's kthread */ xenvif_fatal_tx_err()
1929 * kthread context. Currently this is only set when xenvif_kthread_guest_rx()
/linux-4.1.27/drivers/virtio/
H A Dvirtio_balloon.c25 #include <linux/kthread.h>
250 * we notify our kthread which does the actual work via stats_handle_request().
569 * The kthread is already frozen by the PM core before this virtballoon_freeze()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Ddevice-init.c24 #include <linux/kthread.h>
796 pr_debug(" -> %s:%u: kthread started\n", __func__, __LINE__); ps3_probe_thread()
885 pr_debug(" <- %s:%u: kthread finished\n", __func__, __LINE__); ps3_probe_thread()
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_zilog.c59 #include <linux/kthread.h>
182 * ir->rx->task kthread stopped - happens before ir->rx->ir put() release_ir_device()
260 /* Destroy the rx kthread while not holding the spinlock */ put_ir_rx()
1397 .sample_rate = 0, /* tell lirc_dev to not start its own kthread */
1586 /* An ir ref goes to the new rx polling kthread */ ir_probe()
1594 /* Failed kthread, so put back the ir ref */ ir_probe()
/linux-4.1.27/fs/fuse/
H A Dcuse.c42 #include <linux/kthread.h>
485 * init. The rest is delegated to a kthread.
/linux-4.1.27/drivers/mmc/core/
H A Dsdio_irq.c18 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-context.c26 #include <linux/kthread.h>
H A Dpvrusb2-dvb.c21 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/android/ion/
H A Dion_heap.c19 #include <linux/kthread.h>
/linux-4.1.27/drivers/parisc/
H A Dpower.c43 #include <linux/kthread.h>
/linux-4.1.27/crypto/
H A Dalgboss.c18 #include <linux/kthread.h>
/linux-4.1.27/drivers/block/aoe/
H A Daoe.h189 /* kthread tracking */
H A Daoecmd.c16 #include <linux/kthread.h>
1288 kthread(void *vp) kthread() function
1329 task = kthread_run(kthread, k, "%s", k->name); aoe_ktstart()
1333 wait_for_completion(&k->rendez); /* allow kthread to start */ aoe_ktstart()
H A Daoedev.c130 * kthread processing I'm no longer confident that we can
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_console.c30 #include <linux/kthread.h>
733 * This kthread is either polling or interrupt driven. This is determined by
976 /* Always start the kthread because there can be hotplug vty adapters hvc_init()
980 printk(KERN_ERR "Couldn't create kthread for console.\n"); hvc_init()
H A Dhvcs.c71 #include <linux/kthread.h>
248 * Use by the kthread construct for task operations like waking the sleeping
249 * thread and stopping the kthread.
1594 * This synchronous operation will wake the khvcsd kthread if it is hvcs_module_exit()
/linux-4.1.27/drivers/w1/
H A Dw1_int.c25 #include <linux/kthread.h>
H A Dw1.h263 * struct w1_async_cmd - execute callback from the w1_process kthread
/linux-4.1.27/fs/lockd/
H A Dclntlock.c17 #include <linux/kthread.h>
H A Dsvc.c26 #include <linux/kthread.h>
/linux-4.1.27/include/video/
H A Dmmp_disp.h25 #include <linux/kthread.h>
/linux-4.1.27/arch/powerpc/platforms/44x/
H A Dwarp.c14 #include <linux/kthread.h>
/linux-4.1.27/arch/s390/mm/
H A Dcmm.c18 #include <linux/kthread.h>
/linux-4.1.27/arch/openrisc/kernel/
H A Dprocess.c119 * @regs: CPU context to copy for userspace thread; always NULL for kthread
/linux-4.1.27/arch/powerpc/kernel/
H A Deeh_event.c25 #include <linux/kthread.h>
/linux-4.1.27/drivers/md/
H A Ddm-log-writes.c14 #include <linux/kthread.h>
460 ti->error = "Couldn't alloc kthread"; log_writes_ctr()
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-input.c869 kthread needs stopping? kthread is stopped in em28xx_ir_suspend()
/linux-4.1.27/drivers/macintosh/
H A Dtherm_windtunnel.c38 #include <linux/kthread.h>
H A Dwindfarm_core.c31 #include <linux/kthread.h>
H A Dtherm_adt746x.c24 #include <linux/kthread.h>
H A Dadb.c37 #include <linux/kthread.h>
H A Dmediabay.c21 #include <linux/kthread.h>
/linux-4.1.27/drivers/md/bcache/
H A Dwriteback.c16 #include <linux/kthread.h>
H A Dalloc.c68 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dsii9234_drv.c20 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/rc/
H A Drc-ir-raw.c16 #include <linux/kthread.h>
H A Dlirc_dev.c33 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/usb/gspca/m5602/
H A Dm5602_s5k83a.c21 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/usb/tm6000/
H A Dtm6000.h97 struct task_struct *kthread; member in struct:tm6000_dmaqueue
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf-dvb.c20 #include <linux/kthread.h>
/linux-4.1.27/drivers/net/wireless/libertas_tf/
H A Dlibertas_tf.h13 #include <linux/kthread.h>
/linux-4.1.27/drivers/char/hw_random/
H A Dcore.c41 #include <linux/kthread.h>
/linux-4.1.27/drivers/acpi/
H A Dacpi_pad.c26 #include <linux/kthread.h>
/linux-4.1.27/drivers/base/
H A Ddevtmpfs.c26 #include <linux/kthread.h>
/linux-4.1.27/drivers/target/tcm_fc/
H A Dtfc_io.c34 #include <linux/kthread.h>
H A Dtfc_sess.c25 #include <linux/kthread.h>
H A Dtfc_cmd.c25 #include <linux/kthread.h>
H A Dtfc_conf.c30 #include <linux/kthread.h>
/linux-4.1.27/drivers/uwb/
H A Duwbd.c71 #include <linux/kthread.h>
/linux-4.1.27/fs/xfs/
H A Dxfs_linux.h91 #include <linux/kthread.h>
/linux-4.1.27/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi.c31 #include <linux/kthread.h>
/linux-4.1.27/arch/blackfin/kernel/
H A Dipipe.c31 #include <linux/kthread.h>
/linux-4.1.27/fs/ext4/
H A Dmmp.c5 #include <linux/kthread.h>
/linux-4.1.27/net/batman-adv/
H A Dmain.h172 #include <linux/kthread.h> /* kernel threads */
/linux-4.1.27/net/bluetooth/cmtp/
H A Dcore.c38 #include <linux/kthread.h>
H A Dcapi.c38 #include <linux/kthread.h>
/linux-4.1.27/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c15 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/pci/ivtv/
H A Divtv-driver.h53 #include <linux/kthread.h>
684 struct kthread_worker irq_worker; /* kthread worker for PIO/YUV/VBI actions */
686 struct kthread_work irq_work; /* kthread work entry */
/linux-4.1.27/drivers/usb/atm/
H A Dueagle-atm.c65 #include <linux/kthread.h>
162 struct task_struct *kthread; member in struct:uea_softc
2227 sc->kthread = kthread_create(uea_kthread, sc, "ueagle-atm"); uea_boot()
2228 if (IS_ERR(sc->kthread)) { uea_boot()
2254 ret = kthread_stop(sc->kthread); uea_stop()
2255 uea_dbg(INS_TO_USBDEV(sc), "kthread finish with status %d\n", ret); uea_stop()
2666 wake_up_process(sc->kthread); uea_probe()
/linux-4.1.27/drivers/infiniband/core/
H A Dfmr_pool.c39 #include <linux/kthread.h>
/linux-4.1.27/drivers/mmc/card/
H A Dqueue.c16 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/usb/au0828/
H A Dau0828-dvb.c362 * kthread may also hold it. au0828_set_frontend()
/linux-4.1.27/drivers/misc/mei/
H A Dinterrupt.c19 #include <linux/kthread.h>
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc.h25 #include <linux/kthread.h>
/linux-4.1.27/drivers/scsi/
H A Dhosts.c28 #include <linux/kthread.h>
/linux-4.1.27/drivers/spi/
H A Dspi-tegra20-sflash.c28 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/gdm72xx/
H A Dgdm_usb.c18 #include <linux/kthread.h>
/linux-4.1.27/drivers/sbus/char/
H A Dbbc_envctrl.c6 #include <linux/kthread.h>
/linux-4.1.27/drivers/staging/rtl8712/
H A Dos_intfs.c32 #include <linux/kthread.h>
/linux-4.1.27/drivers/pci/hotplug/
H A Dcpci_hotplug_core.c37 #include <linux/kthread.h>
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dbh.c19 #include <linux/kthread.h>
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_cq.c38 #include <linux/kthread.h>
/linux-4.1.27/drivers/tty/serial/
H A Dapbuart.c25 #include <linux/kthread.h>
/linux-4.1.27/fs/notify/
H A Dmark.c82 #include <linux/kthread.h>
/linux-4.1.27/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c38 #include <linux/kthread.h>
/linux-4.1.27/drivers/pnp/pnpbios/
H A Dcore.c64 #include <linux/kthread.h>
/linux-4.1.27/net/bluetooth/bnep/
H A Dcore.c29 #include <linux/kthread.h>
/linux-4.1.27/mm/
H A Dbacking-dev.c4 #include <linux/kthread.h>
/linux-4.1.27/security/tomoyo/
H A Dgc.c8 #include <linux/kthread.h>
/linux-4.1.27/drivers/xen/
H A Dxen-acpi-processor.c26 #include <linux/kthread.h>
/linux-4.1.27/Documentation/target/
H A Dtcm_mod_builder.py226 buf += "#include <linux/kthread.h>\n"
499 buf += "#include <linux/kthread.h>\n"
/linux-4.1.27/drivers/isdn/mISDN/
H A Dstack.c20 #include <linux/kthread.h>
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_ethtool.c12 #include <linux/kthread.h>
/linux-4.1.27/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c33 #include <linux/kthread.h>
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c27 #include <linux/kthread.h>
/linux-4.1.27/drivers/memstick/host/
H A Dr592.c19 #include <linux/kthread.h>
H A Drtsx_usb_ms.c27 #include <linux/kthread.h>

Completed in 8589 milliseconds

123