Main index | Section 9 | Options |
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
The pmap_extract_and_hold() function maps a virtual address to a physical page, and atomically holds the returned page for use by the caller, only if the mapping permits the given page protection.
The pmap_extract_and_hold() function will return the vm_page_t associated with the virtual address va inside the physical map pmap. If the mapping does not exist, the result is a no-op, and NULL will be returned.
PMAP_EXTRACT (9) | July 21, 2003 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The most horrifying thing about Unix is that, no matter how many times you hit yourself over the head with it, you never quite manage to lose consciousness. It just goes on and on. | ” |
— Patrick Sobalvarro |