函数逻辑报告 |
Source Code:kernel\smp.c |
Create Date:2022-07-27 11:56:14 |
Last Modify:2020-03-17 15:12:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smp_call_function_many(): Run a function on a set of other CPUs
函数原型:void smp_call_function_many(const struct cpumask *mask, smp_call_func_t func, void *info, bool wait)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct cpumask * | mask | |
smp_call_func_t | func | |
void * | info | |
bool | wait |
433 | WARN_ON_ONCE(!in_task()) |
441 | 如果cpu大于等于nr_cpu_ids则返回 |
450 | 如果next_cpu大于等于nr_cpu_ids则 |
455 | cfd等于this_cpu_ptr( & cfd_data) |
461 | 如果此条件成立可能性小(为编译器优化)(!pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in.)则返回 |
464 | 清空全部CPU信息 |
466 | csd等于per_cpu_ptr(csd, cpu) |
469 | 如果wait则flags或等于CSD_FLAG_SYNCHRONOUS |
473 | 如果添加列表项则__cpumask_set_cpu(cpu, cpumask_ipi) |
480 | 如果wait则 |
484 | csd等于per_cpu_ptr(csd, cpu) |
名称 | 描述 |
---|---|
update_closid_rmid | Update the PGR_ASSOC MSR on all cpus in @cpu_mask,* Per task closids/rmids must have been set up before calling this function. |
set_cache_qos_cfg | |
reset_all_ctrls | |
update_domains | |
membarrier_global_expedited | |
membarrier_private_expedited | |
sync_runqueues_membarrier_state | |
smp_call_function | smp_call_function(): Run a function on all other CPUs.*@func: The function to run. This must be fast and non-blocking.*@info: An arbitrary pointer to pass to the function.*@wait: If true, wait (atomically) until function has completed* on other CPUs. |
on_each_cpu_mask | _each_cpu_mask(): Run a function on processors specified by* cpumask, which may include the local processor.*@mask: The set of cpus to run on (only runs on online subset).*@func: The function to run. This must be fast and non-blocking. |
trace_buffered_event_disable | race_buffered_event_disable - disable buffering events* When a filter is removed, it is faster to not use the buffered* events, and to commit directly into the ring buffer. Free up* the temp buffers when there are no more users. This requires |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |