函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:touch_pmd

函数原型:static void touch_pmd(struct vm_area_struct *vma, unsigned long addr, pmd_t *pmd, int flags)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longaddr
pmd_t *pmd
intflags
927  _pmd等于pmd_mkyoung( * pmd)
928  如果flags按位与check pte is writable _pmd等于pmd_mkdirty(_pmd)
930  如果pmdp_set_access_flags(vma, addr & HPAGE_PMD_MASK, pmd, _pmd, flags & check pte is writable )则update_mmu_cache_pmd(vma, addr, pmd)
调用者
名称描述
follow_devmap_pmd
follow_trans_huge_pmd