函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgalloc.h Create Date:2022-07-27 06:54:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pmd_populate

函数原型:static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *pte)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
pmd_t *pmd
struct page *pte
80  pfn等于page_to_pfn(pte)
82  paravirt_alloc_pte(mm, pfn)
83  set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT determines the page size ) | _PAGE_TABLE))
调用者
名称描述
__pte_alloc
pte_alloc_one_map
do_huge_pmd_wp_page_fallback
__split_huge_zero_page_pmd
__split_huge_pmd_locked
collapse_huge_page