函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-27 06:38:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__cpumask_set_cpu

函数原型:static inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp)

返回类型:void

参数:

类型参数名称
unsigned intcpu
struct cpumask *dstp
332  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
调用者
名称描述
membarrier_global_expedited
membarrier_private_expedited
sync_runqueues_membarrier_state
housekeeping_setup
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs
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