'\" t .\" Title: __skb_alloc_pages .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "__SKB_ALLOC_PAGES" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" __skb_alloc_pages \- allocate pages for ps\-rx on a skb and preserve pfmemalloc data .SH "SYNOPSIS" .HP \w'struct\ page\ *\ __skb_alloc_pages('u .BI "struct page * __skb_alloc_pages(gfp_t\ " "gfp_mask" ", struct\ sk_buff\ *\ " "skb" ", unsigned\ int\ " "order" ");" .SH "ARGUMENTS" .PP \fIgfp_mask\fR .RS 4 alloc_pages_node mask\&. Set __GFP_NOMEMALLOC if not for network packet RX .RE .PP \fIskb\fR .RS 4 skb to set pfmemalloc on if __GFP_MEMALLOC is used .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