函数逻辑报告 |
Source Code:kernel\kthread.c |
Create Date:2022-07-27 10:30:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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().
函数原型:bool kthread_should_stop(void)
返回类型:bool
参数:无
名称 | 描述 |
---|---|
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 | |
apm_mainloop | This is the APM thread main loop. |
rescuer_thread | scuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function |
balance_pgdat | For kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at. |
io_wq_manager | Manager thread. Tasked with creating new workers, if we need them. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |