page_numtopp(D3DK) —
NAME
page_numtopp − convert page frame number to page structure
SYNOPSIS
#include <sys/types.h>
#include <vm/page.h>
page_t page_numtopp(u_int pfn);
ARGUMENT
pfnThe page frame number to be converted.
DESCRIPTION
page_numtopp converts a page frame number to its corresponding page structure.
RETURN VALUE
A pointer to the page structure is returned. If the page frame number is invalid, NULL is returned.
LEVEL
Base or Interrupt
NOTES
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may be held across
calls to this function.
SEE ALSO
page_pptonum(D3DK)
DDI/DKI