函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hstate_vma

函数原型:static inline struct hstate *hstate_vma(struct vm_area_struct *vma)

返回类型:struct hstate

参数:

类型参数名称
struct vm_area_struct *vma
494  返回:hstate_file(File we map to (can be NULL). )
调用者
名称描述
walk_hugetlb_range
linear_hugepage_index
alloc_huge_page
hugetlb_vm_op_close
hugetlb_vm_op_split
hugetlb_vm_op_pagesize
copy_hugetlb_page_range
__unmap_hugepage_range
unmap_ref_privateThis is called when the original mapper is failing to COW a MAP_PRIVATE* mappping it owns the reserve page for. The intention is to unmap the page* from other VMAs and let the children be SIGKILLed if they are faulting the* same region.
hugetlb_cowHugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration.
hugetlb_no_page
hugetlb_fault
hugetlb_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
follow_hugetlb_page
hugetlb_change_protection
queue_pages_hugetlb
huge_nodehuge_node(@vma, @addr, @gfp_flags, @mpol)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup and interleave policy*@gfp_flags: for requested zone*@mpol: pointer to mempolicy pointer for reference counted
migration_entry_wait_huge
hmm_vma_walk_hugetlb_entry