函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:huge_pte_lockptr

函数原型:static inline spinlock_t *huge_pte_lockptr(struct hstate *h, struct mm_struct *mm, pte_t *pte)

返回类型:spinlock_t

参数:

类型参数名称
struct hstate *h
struct mm_struct *mm
pte_t *pte
629  如果huge_page_size(h)恒等于PMD_SIZE则返回:pmd_lockptr(mm, (pmd_t * )pte)
631  VM_BUG_ON(huge_page_size(h) == PAGE_SIZE)
632  返回: Protects page tables and some * counters
调用者
名称描述
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
copy_hugetlb_page_range
hugetlb_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
migration_entry_wait_huge
huge_pte_lock