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:pages_per_huge_page

Proto:static inline unsigned int pages_per_huge_page(struct hstate *h)

Type:unsigned int

Parameter:

TypeParameterName
struct hstate *h
528  Return 1 << order
Caller
NameDescribe
update_and_free_page
__free_huge_page
alloc_huge_page
hugetlb_total_pagesReturn the number pages of memory we physically have, in PAGE_SIZE units.
copy_hugetlb_page_range
__unmap_hugepage_range
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_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
follow_hugetlb_page
copy_huge_page
shm_add_rss_swapCalculate and add used RSS and swap pages of a shm.* Called with shm_ids.rwsem held as a reader