vm_page_lookup — lookup a vm page
Contents
Description
The vm_page_lookup() function searches for a VM page given its VM object and index. If the page is not
found, NULL is returned. Its arguments are:
object The VM object to search on.
pindex The page index to search on.
Name
vm_page_lookup — lookup a vm page
Return Values
A vm_page_t is returned if successful; otherwise, NULL is returned.
Synopsis
#include<sys/param.h>#include<vm/vm.h>#include<vm/vm_page.h>vm_page_tvm_page_lookup(vm_object_tobject, vm_pindex_tpindex);
