1__SKB_ALLOC_PAGES(9) Linux Networking __SKB_ALLOC_PAGES(9)
2
3
4
6 __skb_alloc_pages - allocate pages for ps-rx on a skb and preserve
7 pfmemalloc data
8
10 struct page * __skb_alloc_pages(gfp_t gfp_mask, struct sk_buff * skb,
11 unsigned int order);
12
14 gfp_mask
15 alloc_pages_node mask. Set __GFP_NOMEMALLOC if not for network
16 packet RX
17
18 skb
19 skb to set pfmemalloc on if __GFP_MEMALLOC is used
20
21 order
22 size of the allocation
23
25 Allocate a new page.
26
27 NULL is returned if there is no free memory.
28
30Kernel Hackers Manual 3.10 June 2019 __SKB_ALLOC_PAGES(9)