pptophys(D3X)

pptophys - convert page pointer to physical address

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     pptophys - convert page pointer to physical address

SYNOPSIS
     #include <sys/types.h>
     #include <sys/pfdat.h>
     #include <sys/ddi.h>
     paddr_t pptophys(struct pfdat *pp);

   Arguments
     pp        Pointer to the page structure

DESCRIPTION
     pptophys converts a pointer to a page structure to a physical address.

   Return Values
     The physical address represented by the page (pfdat) structure referenced
     by pp.

     Block drivers can use this address for physical DMA operations during
     paged-I/O requests (see getnextpg(D3X)).

   Level
     Base or Interrupt.

   Notes
     Does not sleep.

   See Also
     strategy(D2), getnextpg(D3X), buf(D4)