函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcuperf.c Create Date:2022-07-27 11:24:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return the number if non-negative. If -1, the number of CPUs.* If less than -1, that much less than the number of CPUs, but* at least one.

函数原型:static int compute_real(int n)

返回类型:int

参数:

类型参数名称
intn
559  如果n大于等于0则
560  nr等于n
561  否则
562  nr等于num_online_cpus()加1加n
563  如果nr小于等于0则nr等于1
566  返回:nr
调用者
名称描述
rcu_perf_init