函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pmd_write

函数原型:static inline int pmd_write(pmd_t pmd)

返回类型:int

参数:

类型参数名称
pmd_tpmd
1178  返回:pmd_flags(pmd)按位与_PAGE_RW
调用者
名称描述
__handle_mm_faultBy the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry().
follow_devmap_pmd
can_follow_write_pmdFOLL_FORCE can write to even unwritable pmd's, but only* after we've gone through a COW cycle and they are dirty.
change_huge_pmdReturns* - 0 if PMD could not be locked* - 1 if PMD was locked but protections unchange and TLB flush unnecessary* - HPAGE_PMD_NR is protections changed and TLB flush necessary
__split_huge_pmd_locked
pmd_to_hmm_pfn_flags
wp_clean_pmd_entrywp_clean_pmd_entry - The pagewalk pmd callback.