DOKK / manpages / debian 10 / freebsd-manpages / vm_page_lookup.9freebsd.en
VM_PAGE_LOOKUP(9) Kernel Developer's Manual VM_PAGE_LOOKUP(9)

vm_page_lookuplookup a vm page

#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>

vm_page_t
vm_page_lookup(vm_object_t object, vm_pindex_t pindex);

The () 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.

A vm_page_t is returned if successful; otherwise, NULL is returned.

This manual page was written by Chad David <davidc@acns.ab.ca>.

July 13, 2001 Debian