函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__alloc_pages_direct_compact

函数原型:static inline struct page *__alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, unsigned int alloc_flags, const struct alloc_context *ac, enum compact_priority prio, enum compact_result *compact_result)

返回类型:struct page

参数:

类型参数名称
gfp_tgfp_mask
unsigned intorder
unsigned intalloc_flags
const struct alloc_context *ac
enum compact_priorityprio
enum compact_result *compact_result
4013  compact_result等于COMPACT_SKIPPED
4014  返回:NULL
调用者
名称描述
__alloc_pages_slowpath