函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vmemmap_pud_populate

函数原型:pud_t *__meminit vmemmap_pud_populate(p4d_t *p4d, unsigned long addr, int node)

返回类型:pud_t

参数:

类型参数名称
p4d_t *p4d
unsigned longaddr
intnode
182  pud等于pud_offset(p4d, addr)
183  如果The "pud_xxx()" functions here are trivial for a folded two-level* setup: the pmd is never bad, and a pmd always exists (as it's folded* into the pud entry)
184  p等于vmemmap_alloc_block_zero(PAGE_SIZE, node)
185  如果非p则返回:NULL
187  pud_populate( & 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, pud, p)
189  返回:pud
调用者
名称描述
vmemmap_populate_basepages