函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pte_mkwrite

函数原型:static inline pte_t pte_mkwrite(pte_t pte)

返回类型:pte_t

参数:

类型参数名称
pte_tpte
345  返回:pte_set_flags(pte, _PAGE_RW)
调用者
名称描述
do_anonymous_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with mmap_sem still held, but pte unmapped and unlocked.
do_numa_page
change_pte_range
mcopy_atomic_pte
maybe_mkwriteDo pte_mkwrite, but only if the vma says VM_WRITE. We do this when* servicing faults for write access. In the normal case, do always want* pte_mkwrite. But get_user_pages can cause write faults for mappings
huge_pte_mkwrite