'\" t .\" Title: __dev_alloc_pages .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "__DEV_ALLOC_PAGES" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" __dev_alloc_pages \- allocate page for network Rx .SH "SYNOPSIS" .HP \w'struct\ page\ *\ __dev_alloc_pages('u .BI "struct page * __dev_alloc_pages(gfp_t\ " "gfp_mask" ", unsigned\ int\ " "order" ");" .SH "ARGUMENTS" .PP \fIgfp_mask\fR .RS 4 allocation priority\&. Set __GFP_NOMEMALLOC if not for network Rx .RE .PP \fIorder\fR .RS 4 size of the allocation .RE .SH "DESCRIPTION" .PP Allocate a new page\&. .PP \fBNULL\fR is returned if there is no free memory\&. .SH "COPYRIGHT" .br