函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:khugepaged_alloc_page

函数原型:static struct page *khugepaged_alloc_page(struct page **hpage, gfp_t gfp, int node)

返回类型:struct page

参数:

类型参数名称
struct page **hpage
gfp_tgfp
intnode
783  VM_BUG_ON_PAGE( * hpage, * hpage)
785  hpage等于Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
786  如果此条件成立可能性小(为编译器优化)(! * hpage)则
787  Disable counters
788  hpage等于错误号
789  返回:NULL
792  prep_transhuge_page( * hpage)
793  Disable counters
794  返回:hpage
调用者
名称描述
collapse_huge_page