函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pmd_present

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

返回类型:int

参数:

类型参数名称
pmd_tpmd
763  返回:pmd_flags(pmd)按位与_PAGE_PRESENT按位或_PAGE_PROTNONE按位或_PAGE_PSE的值
调用者
名称描述
ioremap_try_huge_pmd
init_espfix_ap
follow_pmd_mask
get_gate_page
do_faultWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults)
page_vma_mapped_walkpage_vma_mapped_walk - check if @pvmw->page is mapped in @pvmw->vma at*@pvmw->address*@pvmw: pointer to struct page_vma_mapped_walk. page, vma, address and flags* must be set. pmd, pte and ptl must be NULL.* Returns true if the page is mapped in the vma
pmdp_huge_clear_flush
mm_find_pmd
madvise_cold_or_pageout_pte_range
kasan_remove_pmd_table
follow_devmap_pmd
madvise_free_huge_pmdReturn true if we do MADV_FREE successfully on entire pmd page.* Otherwise, return false.
zap_huge_pmd
move_huge_pmd
dev_pagemap_mapping_shift
hmm_vma_walk_pmd
userfaultfd_must_waitVerify the pagetables are still not ok after having reigstered into* the fault_pending_wqh to avoid userland having to UFFDIO_WAKE any* userfault that has already been resolved, if userfaultfd_read and* UFFDIO_COPY|ZEROPAGE are being run simultaneously on
is_swap_pmd
pmd_none_or_trans_huge_or_clear_badThis function is meant to be used by sites walking pagetables with* the mmap_sem hold in read mode to protect against MADV_DONTNEED and* transhuge page faults