函数逻辑报告

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

函数名称:There is only one page-allocator function, and two main namespaces to* it. The alloc_page*() variants return 'struct page *' and as such* can allocate highmem pages, the *get*page*() variants return* virtual kernel addresses to the allocated page(s).

函数原型:static inline int gfp_zonelist(gfp_t flags)

返回类型:int

参数:

类型参数名称
gfp_tflags
462  如果此条件成立可能性小(为编译器优化)(flags & __GFP_THISNODE)则返回:ZONELIST_NOFALLBACK
465  返回:ZONELIST_FALLBACK
调用者
名称描述
node_zonelistWe get the zone list from the current node and the gfp_mask.* This zone list contains a maximum of MAXNODES*MAX_NR_ZONES zones.* There are two zonelists per node, one for all zones with memory and