| get_pfn_range_for_nid(9) - phpMan
GET_PFN_RANGE_FOR_NI(9) Memory Management in Linux GET_PFN_RANGE_FOR_NI(9)
NAME
get_pfn_range_for_nid - Return the start and end page frames for a node
SYNOPSIS
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.
DESCRIPTION
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.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 GET_PFN_RANGE_FOR_NI(9)
|