get_pfn_range_for_nid(9)

get_pfn_range_for_nid9

Return the start and end page frames for a node

Usage

void get_pfn_range_for_nid(unsigned int nid, unsigned long * start_pfn, unsigned long * end_pfn);

Arguments

nid

The nid to return the range for. If MAX_NUMNODES, the min and max PFN are returned.

start_pfn

Passed by reference. On return, it will have the node start_pfn.

end_pfn

Passed by reference. On return, it will have the node end_pfn.

Overview

It returns the start and end page frame of a node based on information provided by memblock_set_node. If called for a node with no available memory, a warning is printed and the start and end PFNs will be 0.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

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