函数逻辑报告 |
Source Code:kernel\smp.c |
Create Date:2022-07-27 11:56:05 |
Last Modify:2020-03-17 15:12:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:flush_smp_call_function_queue
函数原型:static void flush_smp_call_function_queue(bool warn_cpu_offline)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
bool | warn_cpu_offline |
219 | head等于this_cpu_ptr( & call_single_queue) |
221 | entry等于 反转llist链顺序 |
224 | 如果此条件成立可能性小(为编译器优化)(warn_cpu_offline && !cpu_online(当前cpu ID()) && !warned && !锁列表为空)则 |
226 | warned = true |
233 | llist_for_each_entry - iterate over some deleted entries of lock-less list of given type*@pos: the type * to use as a loop cursor(csd, entry, llist) |
243 | 如果flags按位与CSD_FLAG_SYNCHRONOUS则 |
245 | csd_unlock(csd) |
246 | 否则 |
247 | csd_unlock(csd) |
258 | irq_work_run() |
名称 | 描述 |
---|---|
smpcfd_dying_cpu | |
generic_smp_call_function_single_interrupt | generic_smp_call_function_single_interrupt - Execute SMP IPI callbacks* Invoked by arch to handle an IPI for call function single.* Must be called with interrupts disabled. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |