函数逻辑报告 |
Source Code:kernel\kthread.c |
Create Date:2022-07-27 10:30:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:结束线程的运行
函数原型:int kthread_stop(struct task_struct *k)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | k |
| 554 | get_task_struct(k) |
| 555 | kthread等于to_kthread(k) |
| 556 | 设置内存位 |
| 558 | 唤醒中断线程 |
| 559 | wait_for_completion( & exited) |
| 560 | ret等于进程退出时发出的标号 |
| 561 | put_task_struct(k) |
| 564 | 返回:ret |
| 名称 | 描述 |
|---|---|
| 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 | 注册中断 |
| __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 | |
| apm_exit | |
| destroy_workqueue | destroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first. |
| kswapd_stop | Called by memory hotplug when all memory in a node is offlined. Caller must* hold mem_hotplug_begin/end(). |
| io_sq_thread_stop |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |