函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vmemmap_p4d_populate

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

返回类型:p4d_t

参数:

类型参数名称
pgd_t *pgd
unsigned longaddr
intnode
194  p4d等于p4d_offset(pgd, addr)
195  如果The "p4d_xxx()" functions here are trivial for a folded two-level* setup: the pud is never bad, and a pud always exists (as it's folded* into the p4d entry)
196  p等于vmemmap_alloc_block_zero(PAGE_SIZE, node)
197  如果非p则返回:NULL
199  p4d_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, p4d, p)
201  返回:p4d
调用者
名称描述
vmemmap_populate_basepages