Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stop a thread
Proto:int kthread_stop(struct task_struct *k)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | k |
554 | get_task_struct(k) |
555 | kthread = to_kthread(k) |
558 | wake_up_process(k) |
559 | wait_for_completion( & exited) |
561 | put_task_struct(k) |
564 | Return ret |
Name | Describe |
---|---|
test_rht_init | |
test_dev_kmod_stop_tests | |
kthread_destroy_worker | kthread_destroy_worker - destroy a kthread worker*@worker: worker to be destroyed* Flush and destroy @worker. The simple flush is enough because the kthread* worker API is used only in trivial scenarios. There are no multi-step state* machines needed. |
smpboot_destroy_threads | |
sugov_kthread_create | |
sugov_kthread_stop | |
save_image_lzo | save_image_lzo - Save the suspend image data compressed with LZO.*@handle: Swap map handle to use for saving the image.*@snapshot: Image to read data from.*@nr_to_write: Number of pages to save. |
load_image_lzo | load_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load. |
__setup_irq | register an interrupt |
__free_irq | Internal function to unregister an irqaction - used to free* regular and special interrupts that are part of the architecture. |
ring_buffer_benchmark_init | |
ring_buffer_benchmark_exit | |
stop_kthread | stop_kthread - Inform the hardware latency samping/detector kthread to stop* This kicks the running hardware latency sampling/detector kernel thread and* tells it to stop sampling now. Use this on unload and at system shutdown. |
trace_benchmark_unreg | When the benchmark tracepoint is disabled, it calls this* function and the thread that calls the tracepoint is deleted* and all the numbers are reset. |
cpu_map_kthread_stop | alled from workqueue, to workaround syscall using preempt_disable |
torture_shuffle_cleanup | Stop the shuffling. |
torture_shutdown_cleanup | Shut down the shutdown task. Say what??? Heh! This can happen if* the torture module gets an rmmod before the shutdown time arrives. ;-) |
torture_stutter_cleanup | Cleanup after the torture_stutter kthread. |
_torture_stop_kthread | Stop a generic kthread, emitting a message. |
start_stop_khugepaged | |
stop_scan_thread | Stop the automatic memory scanning thread. |
io_wq_destroy | |
do_concurrent_test | |
destroy_workqueue | destroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first. |
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 |