Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-28 06:00:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pmd_trans_huge

Proto:static inline int pmd_trans_huge(pmd_t pmd)

Type:int

Parameter:

TypeParameterName
pmd_tpmd
258  Return (pmd_val(pmd) & (_PAGE_PSE | _PAGE_DEVMAP)) == _PAGE_PSE
Caller
NameDescribe
mark_screen_rdonly
filemap_map_pages
follow_pmd_mask
get_gate_page
copy_pmd_range
zap_pmd_range
__get_locked_pte
remap_pmd_range
do_fault_arounddo_fault_around() tries to map few pages around the fault address. The hope* is that the pages will be needed soon and this will lower the number of* faults to handle.* It uses vm_ops->map_pages() to map the pages, which skips the page if it's
__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_pte_pmd
pmd_none_or_clear_bad_unless_trans_hugeUsed when setting automatic NUMA hinting protection where it is* critical that a numa hinting PMD is not confused with a bad PMD.
change_pmd_range
alloc_new_pmd
move_page_tables
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
pmdp_collapse_flush
mm_find_pmd
madvise_cold_or_pageout_pte_range
madvise_free_pte_range
copy_huge_pmd
move_huge_pmd
__pmd_trans_huge_lockReturns page table lock pointer if a given pmd maps a thp, NULL otherwise.* Note that if it returns page table lock pointer, this routine returns without* unlocking page table lock. So callers must unlock it.
__split_huge_pmd_locked
__split_huge_pmd
__mcopy_atomic
hmm_vma_walk_pmd
wp_clean_pmd_entrywp_clean_pmd_entry - The pagewalk pmd callback.
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
dax_iomap_pte_fault
pmd_trans_huge_lockmmap_sem must be held on entry