函数逻辑报告

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

函数名称:huge_page_size

函数原型:static inline unsigned long huge_page_size(struct hstate *h)

返回类型:unsigned long

参数:

类型参数名称
struct hstate *h
499  返回:PAGE_SIZE左移order
调用者
名称描述
ksys_mmap_pgoff
hugetlb_entry_end
walk_hugetlb_range
size_to_hstate
__alloc_bootmem_huge_page
hugetlb_hstate_alloc_pages
report_hugepages
hugetlb_add_hstate
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_fault
follow_hugetlb_page
hugetlb_change_protection
__hugetlb_cgroup_file_init
memory_failure_hugetlb
newsegwseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer.
blocks_per_huge_page
huge_pte_lockptr