Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__dev_alloc_pages - allocate page for network Rx*@gfp_mask: allocation priority. Set __GFP_NOMEMALLOC if not for network Rx*@order: size of the allocation* Allocate a new page.* %NULL is returned if there is no free memory.

Proto:static inline struct page *__dev_alloc_pages(gfp_t gfp_mask, unsigned int order)

Type:struct page

Parameter:

TypeParameterName
gfp_tgfp_mask
unsigned intorder
2852  gfp_mask |= __GFP_COMP | __GFP_MEMALLOC
2854  Return 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.