函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pmd_lock

函数原型:static inline spinlock_t *pmd_lock(struct mm_struct *mm, pmd_t *pmd)

返回类型:spinlock_t

参数:

类型参数名称
struct mm_struct *mm
pmd_t *pmd
2030  ptl等于pmd_lockptr(mm, pmd)
2031  加自旋锁
2032  返回:ptl
调用者
名称描述
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