---
name: "skb_page_frag_refill"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_page_frag_refill"
---

# skb\_page\_frag\_refill(9)

check that a page\_frag contains enough room

## NAME

skb\_page\_frag\_refill - check that a page\_frag contains enough room

## SYNOPSIS

**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.

## COPYRIGHT
