函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smp_call_function_single_async(): Run an asynchronous function on a* specific CPU.*@cpu: The CPU to run on.*@csd: Pre-allocated and setup data structure* Like smp_call_function_single(), but the call is asynchonous and

函数原型:int smp_call_function_single_async(int cpu, call_single_data_t *csd)

返回类型:int

参数:

类型参数名称
intcpu
call_single_data_t *csd
337  err等于0
339  禁止抢占()
342  如果WARN_ON_ONCE(flags & CSD_FLAG_LOCK)则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
345  flags等于CSD_FLAG_LOCK
346  smp_wmb()
348  err等于Insert a previously allocated call_single_data_t element* for execution on the given CPU. data must already have* ->func, ->info, and ->flags set.
349  禁用抢占和中断()
351  返回:err
调用者
名称描述
cpuid_read
__blk_mq_complete_request