函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\gfp.h Create Date:2022-07-27 06:40:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__alloc_pages

函数原型:static inline struct page *__alloc_pages(gfp_t gfp_mask, unsigned int order, int preferred_nid)

返回类型:struct page

参数:

类型参数名称
gfp_tgfp_mask
unsigned intorder
intpreferred_nid
496  返回:__alloc_pages_nodemask(gfp_mask, order, preferred_nid, NULL)
调用者
名称描述
alloc_page_interleaveAllocate a page in interleaved policy.Own path because it needs to do special accounting.
__alloc_pages_nodeAllocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().