Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-28 05:43:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pmd_lock

Proto:static inline spinlock_t *pmd_lock(struct mm_struct *mm, pmd_t *pmd)

Type:spinlock_t

Parameter:

TypeParameterName
struct mm_struct *mm
pmd_t *pmd
2030  ptl = pmd_lockptr(mm, pmd)
2031  spin_lock(ptl)
2032  Return ptl
Caller
NameDescribe
follow_pmd_mask
__pte_alloc
pte_alloc_one_map
__follow_pte_pmd
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
__do_huge_pmd_anonymous_page
do_huge_pmd_anonymous_page
insert_pfn_pmd
copy_huge_pmd
huge_pmd_set_accessed
do_huge_pmd_wp_page_fallback
do_huge_pmd_numa_pageNUMA hinting page fault entry point for trans huge pmds
__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
collapse_huge_page