---
name: "__get_pfnblock_flags_mask"
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/__get_pfnblock_flags_mask"
---

# \_\_get\_pfnblock\_flags\_mask(9)

Return the requested group of flags for the pageblock\_nr\_pages block of pages

## NAME

\_\_get\_pfnblock\_flags\_mask - Return the requested group of flags for the pageblock\_nr\_pages block of pages

## SYNOPSIS

**unsigned long \_\_get\_pfnblock\_flags\_mask(struct page \*** *page***, unsigned long** *pfn***, unsigned long** *end\_bitidx***, unsigned long** *mask***);**

## ARGUMENTS

*page*

The page within the block of interest

*pfn*

The target page frame number

*end\_bitidx*

The last bit of interest to retrieve

*mask*

mask of bits that the caller is interested in

## RETURN

pageblock\_bits flags

## COPYRIGHT
