__dev_alloc_pages(9)

__dev_alloc_pages9

Allocate page for network rx

Usage

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

Arguments

gfp_mask

allocation priority. Set __GFP_NOMEMALLOC if not for network Rx

order

size of the allocation

Overview

Allocate a new page.

NULL is returned if there is no free memory.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.