函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vmemmap_pgd_populate

函数原型:pgd_t *__meminit vmemmap_pgd_populate(unsigned long addr, int node)

返回类型:pgd_t

参数:

类型参数名称
unsigned longaddr
intnode
206  pgd等于a shortcut which implies the use of the kernel's pgd, instead* of a process's(addr)
207  如果The "pgd_xxx()" functions here are trivial for a folded two-level* setup: the p4d is never bad, and a p4d always exists (as it's folded* into the pgd entry)
208  p等于vmemmap_alloc_block_zero(PAGE_SIZE, node)
209  如果非p则返回:NULL
211  pgd_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, pgd, p)
213  返回:pgd
调用者
名称描述
vmemmap_populate_basepages