函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-27 16:57:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:PageHeadHuge() only returns true for hugetlbfs head page, but not for* normal or transparent huge pages.

函数原型:int PageHeadHuge(struct page *page_head)

返回类型:int

参数:

类型参数名称
struct page *page_head
1313  如果非PageHead(page_head)则返回:0
1316  返回:get_compound_page_dtor(page_head)恒等于free_huge_page
调用者
名称描述
set_page_huge_activever called for tail page
clear_page_huge_active
page_to_pgoffGet the offset in PAGE_SIZE.* (TODO: hugepage should have ->index in PAGE_SIZE)