函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:csd_lock

函数原型:static __always_inline void csd_lock(call_single_data_t *csd)

返回类型:void

参数:

类型参数名称
call_single_data_t *csd
114  sd_lock/csd_unlock used to serialize access to per-cpu csd resources* For non-synchronous ipi calls the csd can still be in use by the* previous function call. For multi-cpu calls its even more interesting
115  flags或等于CSD_FLAG_LOCK
122  smp_wmb()
调用者
名称描述
smp_call_function_singlesmp_call_function_single - Run a function on a specific CPU*@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 until function has completed on other CPUs.
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs