page_pptonum(D3DK) —
NAME
page_pptonum − convert page structure to page frame number
SYNOPSIS
#include <sys/types.h>
#include <vm/page.h>
u_int page_pptonum(page_t ∗pp);
ARGUMENT
ppPointer to a page structure.
DESCRIPTION
page_pptonum is called to convert a page structure to its corresponding page frame number.
RETURN VALUE
The page frame number corresponding to the page structure is returned. No error is returned. If pp (the page structure address) is invalid, the system will panic.
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_numtopp(D3DK)
DDI/DKI