函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vmemmap_pmd_populate

函数原型:pmd_t *__meminit vmemmap_pmd_populate(pud_t *pud, unsigned long addr, int node)

返回类型:pmd_t

参数:

类型参数名称
pud_t *pud
unsigned longaddr
intnode
170  pmd等于pmd_offset(pud, addr)
171  如果pmd_none( * pmd)则
172  p等于vmemmap_alloc_block_zero(PAGE_SIZE, node)
173  如果非p则返回:NULL
175  pmd_populate_kernel( & For dynamically allocated mm_structs, there is a dynamically sized cpumask* at the end of the structure, the size of which depends on the maximum CPU* number the system can see, pmd, p)
177  返回:pmd
调用者
名称描述
vmemmap_populate_basepages