Scroll to navigation

__DEV_ALLOC_PAGES(9) Linux Networking __DEV_ALLOC_PAGES(9)

NAME

__dev_alloc_pages - allocate page for network Rx

SYNOPSIS

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

DESCRIPTION

Allocate a new page.

NULL is returned if there is no free memory.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10