函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smp.c Create Date:2022-07-27 11:56:21
Last Modify:2020-03-17 15:12:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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.

函数原型:void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, void *info, bool wait)

返回类型:void

参数:

类型参数名称
const struct cpumask *mask
smp_call_func_tfunc
void *info
boolwait
643  cpu等于get_cpu()
645  smp_call_function_many(): Run a function on a set of other CPUs
646  如果测试CPU信息
648  local_irq_save(flags)
649  func(info)
650  local_irq_restore(flags)
652  put_cpu()
调用者
名称描述
on_each_cpu_cond_mask_each_cpu_cond(): Call a function on each processor for which* the supplied function cond_func returns true, optionally waiting* for all the required CPUs to finish
install_ldt