Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hstate_vma

Proto:static inline struct hstate *hstate_vma(struct vm_area_struct *vma)

Type:struct hstate

Parameter:

TypeParameterName
struct vm_area_struct *vma
494  Return hstate_file(File we map to (can be NULL). )
Caller
NameDescribe
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