函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:06:02 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:huge_node(@vma, @addr, @gfp_flags, @mpol)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup and interleave policy*@gfp_flags: for requested zone*@mpol: pointer to mempolicy pointer for reference counted
函数原型:int huge_node(struct vm_area_struct *vma, unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol, nodemask_t **nodemask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | addr | |
gfp_t | gfp_flags | |
struct mempolicy ** | mpol | |
nodemask_t ** | nodemask |
1962 | mpol等于get_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 |
1963 | * nodemask = NULL |
1965 | 如果此条件成立可能性小(为编译器优化)(See MPOL_* above == MPOL_INTERLEAVE)则 |
1968 | 否则 |
1970 | 如果See MPOL_* above 恒等于MPOL_BIND则nodemask等于 interleave/bind |
1973 | 返回:nid |
名称 | 描述 |
---|---|
alloc_buddy_huge_page_with_mpol | Use the VMA's mpolicy to allocate a huge page from the buddy. |
alloc_huge_page_vma | mempolicy aware migration callback |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |