---
name: "vm_page_lookup"
section: "9"
platform: "linux"
package: "freebsd-manpages"
version: "6.0-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/vm_page_lookup"
---

# vm\_page\_lookup(9)

lookup a vm page

## NAME

**vm\_page\_lookup** – lookup a vm page

## SYNOPSIS

**#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*);

## 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.

## RETURN VALUES

A *vm\_page\_t* is returned if successful; otherwise, NULL is returned.

## AUTHORS

This manual page was written by Chad David ⟨davidc@acns.ab.ca⟩.
