函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__get_vma_policy

函数原型:struct mempolicy *__get_vma_policy(struct vm_area_struct *vma, unsigned long addr)

返回类型:struct mempolicy

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longaddr
1720  struct mempolicy * pol = NULL
1722  如果vma
1724  pol等于get_policy(vma, addr)
1725  否则如果NUMA policy for the VMA
1739  返回:pol
调用者
名称描述
get_vma_policyget_vma_policy(@vma, @addr)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup* Returns effective policy for a VMA at specified address