函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vmemmap_pte_populate

函数原型:pte_t *__meminit vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node)

返回类型:pte_t

参数:

类型参数名称
pmd_t *pmd
unsigned longaddr
intnode
145  pte等于pte_offset_kernel(pmd, addr)
146  如果pte_none( * pte)则
148  p等于d to make sure size is all the same during early stage
149  如果非p则返回:NULL
151  entry等于pfn_pte(__pa(p) >> PAGE_SHIFT determines the page size , PAGE_KERNEL)
152  set_pte_at( & 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, addr, pte, entry)
154  返回:pte
调用者
名称描述
vmemmap_populate_basepages