/linux-4.1.27/fs/ecryptfs/ |
H A D | Makefile | 8 crypto.o keystore.o kthread.o debug.o
|
H A D | kthread.c | 23 #include <linux/kthread.h> 95 "ecryptfs-kthread"); ecryptfs_init_kthread()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | Makefile | 2 vivid-vid-cap.o vivid-vid-out.o vivid-kthread-cap.o vivid-kthread-out.o \
|
H A D | vivid-kthread-cap.h | 2 * vivid-kthread-cap.h - video/vbi capture thread support functions.
|
H A D | vivid-kthread-out.h | 2 * vivid-kthread-out.h - video/vbi output thread support functions.
|
H A D | vivid-kthread-out.c | 2 * vivid-kthread-out.h - video/vbi output thread support functions. 29 #include <linux/kthread.h> 52 #include "vivid-kthread-out.h"
|
H A D | vivid-vbi-out.c | 26 #include "vivid-kthread-out.h"
|
H A D | vivid-osd.c | 29 #include <linux/kthread.h>
|
H A D | vivid-vbi-cap.c | 26 #include "vivid-kthread-cap.h"
|
H A D | vivid-kthread-cap.c | 2 * vivid-kthread-cap.h - video/vbi capture thread support functions. 29 #include <linux/kthread.h> 52 #include "vivid-kthread-cap.h"
|
H A D | vivid-sdr-cap.c | 23 #include <linux/kthread.h>
|
/linux-4.1.27/kernel/ |
H A D | kthread.c | 9 #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 D | workqueue_internal.h | 11 #include <linux/kthread.h>
|
H A D | hung_task.c | 14 #include <linux/kthread.h> 223 * kthread which checks for tasks stuck in D state
|
H A D | torture.c | 27 #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 D | freezer.c | 12 #include <linux/kthread.h>
|
H A D | Makefile | 10 kthread.o sys_ni.o nsproxy.o \
|
H A D | smpboot.c | 14 #include <linux/kthread.h>
|
H A D | audit_watch.c | 24 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 15 #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 D | ccp-pci.c | 19 #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 D | ccp-platform.c | 19 #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 D | ccp-dev.h | 160 struct task_struct *kthread; member in struct:ccp_cmd_queue
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
H A D | usb-tx.c | 246 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 D | usb-rx.c | 47 * 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 D | i2400m-usb.h | 68 #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 D | radio-miropcm20.c | 33 #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 D | xpc_main.c | 53 #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 D | xpc.h | 571 /* 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 D | kthread.h | 29 * 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 D | ams.h | 3 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/speakup/ |
H A D | thread.c | 1 #include <linux/kthread.h>
|
H A D | speakup_acntpc.c | 30 #include <linux/kthread.h>
|
H A D | speakup_apollo.c | 28 #include <linux/kthread.h>
|
H A D | speakup_decext.c | 28 #include <linux/kthread.h>
|
H A D | speakup_dectlk.c | 31 #include <linux/kthread.h>
|
H A D | speakup_keypc.c | 27 #include <linux/kthread.h>
|
H A D | speakup_dtlk.c | 29 #include <linux/kthread.h>
|
H A D | synth.c | 14 #include <linux/kthread.h>
|
H A D | speakup_decpc.c | 35 #include <linux/kthread.h>
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | i8254.h | 4 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/pci/pt1/ |
H A D | pt1.c | 29 #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 D | solo6x10-v4l2.c | 23 #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 D | solo6x10-g723.c | 24 #include <linux/kthread.h>
|
H A D | solo6x10.h | 275 struct task_struct *kthread; member in struct:solo_dev
|
/linux-4.1.27/drivers/misc/genwqe/ |
H A D | genwqe_driver.h | 28 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/unisys/uislib/ |
H A D | uisthread.c | 22 #include <linux/kthread.h>
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | spinlock_test.c | 2 #include <linux/kthread.h>
|
/linux-4.1.27/kernel/rcu/ |
H A D | tree_plugin.h | 51 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 D | rcutorture.c | 29 #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 D | tiny_plugin.h | 25 #include <linux/kthread.h>
|
H A D | tree.h | 112 /* 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 D | tree.c | 52 #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 D | update.c | 50 #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 D | rcu.h | 54 * "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 D | sched.h | 12 * 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 D | cx25821-video.h | 36 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
H A D | rsi_common.h | 20 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_pkg_sender.h | 29 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | usbip_event.c | 20 #include <linux/kthread.h>
|
H A D | vhci_tx.c | 20 #include <linux/kthread.h>
|
H A D | vhci_rx.c | 20 #include <linux/kthread.h>
|
H A D | vhci_sysfs.c | 20 #include <linux/kthread.h>
|
H A D | stub_dev.c | 22 #include <linux/kthread.h>
|
H A D | stub_tx.c | 20 #include <linux/kthread.h>
|
H A D | stub_rx.c | 21 #include <linux/kthread.h>
|
/linux-4.1.27/samples/trace_events/ |
H A D | trace-events-sample.c | 2 #include <linux/kthread.h>
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | rt5677-spi.c | 23 #include <linux/kthread.h>
|
/linux-4.1.27/sound/soc/intel/common/ |
H A D | sst-ipc.h | 26 #include <linux/kthread.h>
|
H A D | sst-ipc.c | 29 #include <linux/kthread.h>
|
/linux-4.1.27/arch/um/kernel/ |
H A D | process.c | 156 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 D | msp3400-driver.c | 54 #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 D | msp3400-driver.h | 101 struct task_struct *kthread; member in struct:msp_state
|
H A D | tvaudio.c | 36 #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 D | da9063-core.c | 33 #include <linux/kthread.h>
|
H A D | ucb1x00-ts.c | 33 #include <linux/kthread.h>
|
H A D | twl6030-irq.c | 37 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | fcoe.h | 24 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | crw.c | 12 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-twl6040.c | 27 #include <linux/kthread.h>
|
H A D | gpio-twl4030.c | 31 #include <linux/kthread.h>
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | check.c | 3 #include <linux/kthread.h>
|
H A D | process.c | 161 /* kthread execs. TODO: cleanup this horror. */ flush_thread()
|
/linux-4.1.27/fs/jffs2/ |
H A D | background.c | 21 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 21 #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 D | bfin_jtag_comm.c | 20 #include <linux/kthread.h>
|
H A D | metag_da.c | 19 #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 D | tps65090-charger.c | 24 #include <linux/kthread.h> 328 "Unable to run kthread err %d\n", ret); tps65090_charger_probe()
|
/linux-4.1.27/fs/btrfs/ |
H A D | async-thread.c | 20 #include <linux/kthread.h> 177 * This hook is called in kthread content.
|
H A D | inode-map.c | 20 #include <linux/kthread.h>
|
/linux-4.1.27/kernel/locking/ |
H A D | locktorture.c | 25 #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 D | rtmutex-tester.c | 10 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/crypto/ |
H A D | sahara.c | 30 #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 D | ft1000_usb.c | 21 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
H A D | libcfs.h | 56 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/unisys/include/ |
H A D | timskmod.h | 50 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | osdep_service.h | 55 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
H A D | ehca_tools.h | 51 #include <linux/kthread.h>
|
/linux-4.1.27/arch/x86/mm/ |
H A D | pageattr-test.c | 8 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/bluetooth/ |
H A D | btmrvl_drv.h | 22 #include <linux/kthread.h>
|
/linux-4.1.27/arch/powerpc/platforms/83xx/ |
H A D | mcu_mpc8349emitx.c | 23 #include <linux/kthread.h>
|
H A D | suspend.c | 18 #include <linux/kthread.h>
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_benchmark.c | 3 #include <linux/kthread.h>
|
H A D | ring_buffer_benchmark.c | 8 #include <linux/kthread.h>
|
/linux-4.1.27/fs/nfs/ |
H A D | callback.c | 18 #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 D | saa7164-core.c | 1354 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 D | saa7164.h | 52 #include <linux/kthread.h> 478 struct task_struct *kthread; member in struct:saa7164_dev
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-video.c | 37 #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 D | cx88-tvaudio.c | 51 #include <linux/kthread.h>
|
H A D | cx88.h | 384 struct task_struct *kthread; member in struct:cx88_core
|
/linux-4.1.27/drivers/media/pci/pt3/ |
H A D | pt3.c | 19 #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 D | interface.c | 33 #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 D | common.h | 170 /* Use kthread for guest RX */
|
H A D | netback.c | 37 #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 D | virtio_balloon.c | 25 #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 D | device-init.c | 24 #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 D | lirc_zilog.c | 59 #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 D | cuse.c | 42 #include <linux/kthread.h> 485 * init. The rest is delegated to a kthread.
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sdio_irq.c | 18 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-context.c | 26 #include <linux/kthread.h>
|
H A D | pvrusb2-dvb.c | 21 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/android/ion/ |
H A D | ion_heap.c | 19 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/parisc/ |
H A D | power.c | 43 #include <linux/kthread.h>
|
/linux-4.1.27/crypto/ |
H A D | algboss.c | 18 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoe.h | 189 /* kthread tracking */
|
H A D | aoecmd.c | 16 #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 D | aoedev.c | 130 * kthread processing I'm no longer confident that we can
|
/linux-4.1.27/drivers/tty/hvc/ |
H A D | hvc_console.c | 30 #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 D | hvcs.c | 71 #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 D | w1_int.c | 25 #include <linux/kthread.h>
|
H A D | w1.h | 263 * struct w1_async_cmd - execute callback from the w1_process kthread
|
/linux-4.1.27/fs/lockd/ |
H A D | clntlock.c | 17 #include <linux/kthread.h>
|
H A D | svc.c | 26 #include <linux/kthread.h>
|
/linux-4.1.27/include/video/ |
H A D | mmp_disp.h | 25 #include <linux/kthread.h>
|
/linux-4.1.27/arch/powerpc/platforms/44x/ |
H A D | warp.c | 14 #include <linux/kthread.h>
|
/linux-4.1.27/arch/s390/mm/ |
H A D | cmm.c | 18 #include <linux/kthread.h>
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | process.c | 119 * @regs: CPU context to copy for userspace thread; always NULL for kthread
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | eeh_event.c | 25 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/md/ |
H A D | dm-log-writes.c | 14 #include <linux/kthread.h> 460 ti->error = "Couldn't alloc kthread"; log_writes_ctr()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 869 kthread needs stopping? kthread is stopped in em28xx_ir_suspend()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | therm_windtunnel.c | 38 #include <linux/kthread.h>
|
H A D | windfarm_core.c | 31 #include <linux/kthread.h>
|
H A D | therm_adt746x.c | 24 #include <linux/kthread.h>
|
H A D | adb.c | 37 #include <linux/kthread.h>
|
H A D | mediabay.c | 21 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | writeback.c | 16 #include <linux/kthread.h>
|
H A D | alloc.c | 68 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
H A D | sii9234_drv.c | 20 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/rc/ |
H A D | rc-ir-raw.c | 16 #include <linux/kthread.h>
|
H A D | lirc_dev.c | 33 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/usb/gspca/m5602/ |
H A D | m5602_s5k83a.c | 21 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
H A D | tm6000.h | 97 struct task_struct *kthread; member in struct:tm6000_dmaqueue
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | videobuf-dvb.c | 20 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/net/wireless/libertas_tf/ |
H A D | libertas_tf.h | 13 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | core.c | 41 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/acpi/ |
H A D | acpi_pad.c | 26 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/base/ |
H A D | devtmpfs.c | 26 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 34 #include <linux/kthread.h>
|
H A D | tfc_sess.c | 25 #include <linux/kthread.h>
|
H A D | tfc_cmd.c | 25 #include <linux/kthread.h>
|
H A D | tfc_conf.c | 30 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/uwb/ |
H A D | uwbd.c | 71 #include <linux/kthread.h>
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_linux.h | 91 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/video/fbdev/exynos/ |
H A D | exynos_mipi_dsi.c | 31 #include <linux/kthread.h>
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | ipipe.c | 31 #include <linux/kthread.h>
|
/linux-4.1.27/fs/ext4/ |
H A D | mmp.c | 5 #include <linux/kthread.h>
|
/linux-4.1.27/net/batman-adv/ |
H A D | main.h | 172 #include <linux/kthread.h> /* kernel threads */
|
/linux-4.1.27/net/bluetooth/cmtp/ |
H A D | core.c | 38 #include <linux/kthread.h>
|
H A D | capi.c | 38 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_probe_frontend.c | 15 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.h | 53 #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 D | ueagle-atm.c | 65 #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 D | fmr_pool.c | 39 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | queue.c | 16 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/usb/au0828/ |
H A D | au0828-dvb.c | 362 * kthread may also hold it. au0828_set_frontend()
|
/linux-4.1.27/drivers/misc/mei/ |
H A D | interrupt.c | 19 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
H A D | bnx2fc.h | 25 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/scsi/ |
H A D | hosts.c | 28 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-tegra20-sflash.c | 28 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
H A D | gdm_usb.c | 18 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 6 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | os_intfs.c | 32 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | cpci_hotplug_core.c | 37 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | bh.c | 19 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_cq.c | 38 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | apbuart.c | 25 #include <linux/kthread.h>
|
/linux-4.1.27/fs/notify/ |
H A D | mark.c | 82 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 38 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/pnp/pnpbios/ |
H A D | core.c | 64 #include <linux/kthread.h>
|
/linux-4.1.27/net/bluetooth/bnep/ |
H A D | core.c | 29 #include <linux/kthread.h>
|
/linux-4.1.27/mm/ |
H A D | backing-dev.c | 4 #include <linux/kthread.h>
|
/linux-4.1.27/security/tomoyo/ |
H A D | gc.c | 8 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/xen/ |
H A D | xen-acpi-processor.c | 26 #include <linux/kthread.h>
|
/linux-4.1.27/Documentation/target/ |
H A D | tcm_mod_builder.py | 226 buf += "#include <linux/kthread.h>\n" 499 buf += "#include <linux/kthread.h>\n"
|
/linux-4.1.27/drivers/isdn/mISDN/ |
H A D | stack.c | 20 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_ethtool.c | 12 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/net/ethernet/qualcomm/ |
H A D | qca_spi.c | 33 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
H A D | saa7134-tvaudio.c | 27 #include <linux/kthread.h>
|
/linux-4.1.27/drivers/memstick/host/ |
H A D | r592.c | 19 #include <linux/kthread.h>
|
H A D | rtsx_usb_ms.c | 27 #include <linux/kthread.h>
|