skb_page_frag_refill(9)

skb_page_frag_refill9

Check that a page_frag contains enough room

Usage

bool skb_page_frag_refill(unsigned int sz, struct page_frag * pfrag, gfp_t gfp);

Arguments

sz

minimum size of the fragment we want to get

pfrag

pointer to page_frag

gfp

priority for memory allocation

Note

While this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, sz MUST be less or equal than PAGE_SIZE.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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