函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:06:21
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Slow path of a mempolicy comparison

函数原型:bool __mpol_equal(struct mempolicy *a, struct mempolicy *b)

返回类型:bool

参数:

类型参数名称
struct mempolicy *a
struct mempolicy *b
2267  如果非a或非b则返回:false
2269  如果See MPOL_* above 不等于See MPOL_* above 则返回:false
2271  如果See set_mempolicy() MPOL_F_* above 不等于See set_mempolicy() MPOL_F_* above 则返回:false
2273  如果mpol_store_user_nodemask(a)则如果非nodes_equal( nodemask passed by user , nodemask passed by user )则
2275  返回:false
2278  :See MPOL_* above 恒等于MPOL_BIND
2280  :See MPOL_* above 恒等于MPOL_INTERLEAVE
2281  返回:非非nodes_equal( interleave/bind , interleave/bind )
2282  :See MPOL_* above 恒等于MPOL_PREFERRED
2284  如果See set_mempolicy() MPOL_F_* above 按位与preferred local allocation 则返回:true
2286  返回: preferred 恒等于 preferred
2287  默认
2288  BUG()
2289  返回:false