函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mpol_rebind_nodemask

函数原型:static void mpol_rebind_nodemask(struct mempolicy *pol, const nodemask_t *nodes)

返回类型:void

参数:

类型参数名称
struct mempolicy *pol
const nodemask_t *nodes
302  如果See set_mempolicy() MPOL_F_* above 按位与Flags for set_mempolicy nodes_and(tmp, nodemask passed by user , * nodes)
304  否则如果See set_mempolicy() MPOL_F_* above 按位与MPOL_F_RELATIVE_NODESmpol_relative_nodemask( & tmp, & nodemask passed by user , nodes)
306  否则
307  nodes_remap(tmp, interleave/bind , relative to these nodes , * nodes)
309  relative to these nodes 等于nodes
312  如果nodes_empty(tmp)则tmp等于nodes
315  interleave/bind 等于tmp