---
name: "vm_page_lookup"
section: "9freebsd"
platform: "linux"
package: "freebsd-manpages"
version: "12.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/vm_page_lookup/9freebsd"
---

# vm\_page\_lookup(9freebsd)

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*⟩.
