函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pmd_trans_huge

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

返回类型:int

参数:

类型参数名称
pmd_tpmd
258  返回:pmd_val(pmd)按位与_PAGE_PSE按位或_PAGE_DEVMAP的值的值恒等于_PAGE_PSE
调用者
名称描述
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
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