Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kthread_should_stop - should this kthread return now?* When someone calls kthread_stop() on your kthread, it will be woken* and this will return true. You should then return, and your return* value will be passed through to kthread_stop().
Proto:bool kthread_should_stop(void)
Type:bool
Parameter:Nothing
| Name | Describe |
|---|---|
| threadfunc | |
| kthread_freezable_should_stop | kthread_freezable_should_stop - should this freezable kthread return now?*@was_frozen: optional out parameter, indicates whether %current was frozen* kthread_should_stop() for freezable kthreads, which will enter* refrigerator if necessary |
| kthread_worker_fn | kthread_worker_fn - kthread function to process kthread_worker*@worker_ptr: pointer to initialized kthread_worker* This function implements the main cycle of kthread worker. It processes* work_list until it is stopped with kthread_stop() |
| smpboot_thread_fn | smpboot_thread_fn - percpu hotplug thread loop function*@data: thread data pointer* Checks for thread stop and park conditions. Calls the necessary* setup, cleanup, park and unpark functions for the registered* thread. |
| is_kthread_should_stop | |
| crc32_threadfn | CRC32 update function that runs in its own thread. |
| lzo_compress_threadfn | Compression function that runs in its own thread. |
| lzo_decompress_threadfn | Deompression function that runs in its own thread. |
| irq_wait_for_interrupt | |
| rcu_torture_boost | |
| rcu_torture_fqs | RCU torture force-quiescent-state kthread. Repeatedly induces* bursts of calls to force_quiescent_state(), increasing the probability* of occurrence of some important types of race conditions. |
| rcu_torture_stall | CPU-stall kthread. It waits as specified by stall_cpu_holdoff, then* induces a CPU stall for the time specified by stall_cpu. |
| rcu_perf_writer | RCU perf writer kthread. Repeatedly does a grace period. |
| __refrigerator | Refrigerator is place where frozen processes are stored :-). |
| kauditd_thread | kauditd_thread - Worker thread to send audit records to userspace*@dummy: unused |
| break_test | |
| wait_to_die | |
| ring_buffer_consumer_thread | |
| ring_buffer_producer_thread | |
| busy_wait | |
| kthread_fn | kthread_fn - The CPU time sampling/hardware latency detection kernel thread* Used to periodically sample the CPU TSC via a call to get_sample. We* disable interrupts, which does (intentionally) introduce latency since we |
| benchmark_event_kthread | |
| cpu_map_kthread_run | |
| torture_must_stop | Is it time for the current torture test to stop? |
| torture_kthread_stopping | Each kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue |
| kswapd_try_to_sleep | |
| kswapd | The background pageout daemon, started as a kernel thread* from the init process.* This basically trickles out pages so that we have _some_* free memory available even if there is no other activity* that frees anything up |
| ksm_scan_thread | |
| khugepaged_wait_event | |
| khugepaged_do_scan | |
| khugepaged_should_wakeup | |
| khugepaged | |
| scan_should_stop | Memory scanning is a long process and it needs to be interruptable. This* function checks whether such interrupt condition occurred. |
| kmemleak_scan_thread | Thread function performing automatic memory scanning. Unreferenced objects* at the end of a memory scan are reported but only the first time. |
| test_func |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |