函数逻辑报告

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_shift

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

返回类型:unsigned

参数:

类型参数名称
struct hstate *h
518  返回:orderPAGE_SHIFT determines the page size
调用者
名称描述
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