---
name: "pmap_change_wiring"
section: "9freebsd"
platform: "linux"
package: "freebsd-manpages"
version: "8.2-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/pmap_change_wiring/9freebsd"
---

# pmap\_change\_wiring(9freebsd)

change physical wiring for a map or virtual address pair

## NAME

**pmap\_change\_wiring** – change physical wiring for a map or virtual address pair

## SYNOPSIS

**#include \<sys/param.h\>**

**#include \<vm/vm.h\>**

**#include \<vm/pmap.h\>**

*void*\

**pmap\_change\_wiring**(*pmap\_t pmap*, *vm\_offset\_t va*, *boolean\_t wired*);

## DESCRIPTION

The **pmap\_change\_wiring**() function changes the wiring attribute for the page at virtual address *va* in the physical map *pmap*. A wired page gets its name from being “wired” into the system page tables so that it will not be paged out.

The mapping must already exist in the *pmap*. If *wired* is TRUE, the map's wired page count will be incremented; if FALSE, it will be decremented.

It is typically called by the **vm\_fault\_unwire**() function.

## SEE ALSO

[pmap(9)](/pmap/9.md)

## AUTHORS

This manual page was written by Bruce M Simpson ⟨bms@spc.org⟩.
