函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\cpu_rmap.c Create Date:2022-07-27 08:16:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Reevaluate nearest object for given CPU, comparing with the given* neighbours at the given distance.

函数原型:static bool cpu_rmap_copy_neigh(struct cpu_rmap *rmap, unsigned int cpu, const struct cpumask *mask, u16 dist)

返回类型:bool

参数:

类型参数名称
struct cpu_rmap *rmap
unsigned intcpu
const struct cpumask *mask
u16dist
100  如果dist大于distdist小于等于dist
102  index等于index
103  dist等于dist
104  返回:true
107  返回:false
调用者
名称描述
cpu_rmap_updatepu_rmap_update - update CPU rmap following a change of object affinity*@rmap: CPU rmap to update*@index: Index of object whose affinity changed*@affinity: New CPU affinity of object