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

Proto:static inline unsigned huge_page_shift(struct hstate *h)

Type:unsigned

Parameter:

TypeParameterName
struct hstate *h
518  Return order + PAGE_SHIFT determines the page size
Caller
NameDescribe
vma_hugecache_offsetConvert the address within this vma to the page offset within* the mapping, in pagecache page units; huge pages here.
hugetlb_vm_op_pagesize
hugetlb_no_page
hugetlb_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
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