Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:06:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Page Fragment:* An arbitrary-length arbitrary-offset area of memory which resides* within a 0 or higher order page

Proto:static struct page *__page_frag_cache_refill(struct page_frag_cache *nc, gfp_t gfp_mask)

Type:struct page

Parameter:

TypeParameterName
struct page_frag_cache *nc
gfp_tgfp_mask
4827  struct page * page = NULL
4828  gfp = gfp_mask
4831  gfp_mask |= __GFP_COMP | DOC: Action modifiers* Action modifiers* ~~~~~~~~~~~~~~~~* %__GFP_NOWARN suppresses allocation failure reports.* %__GFP_COMP address compound page metadata.* %__GFP_ZERO returns a zeroed page on success. | __GFP_NORETRY | __GFP_NOMEMALLOC
4833  page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online.
4835  size = If page Then PAGE_FRAG_CACHE_MAX_SIZE Else PAGE_SIZE
4837  If Value for the false possibility is greater at compile time(!page) Then page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online.
4840  va = page ? page_address(page) : NULL
4842  Return page
Caller
NameDescribe
page_frag_alloc