Name

__dev_alloc_pages — allocate page for network Rx

Synopsis

struct page * __dev_alloc_pages (gfp_t gfp_mask,
 unsigned int order);
 

Arguments

gfp_t gfp_mask

allocation priority. Set __GFP_NOMEMALLOC if not for network Rx

unsigned int order

size of the allocation

Description

Allocate a new page.

NULL is returned if there is no free memory.