---
name: "pmap_pinit"
section: "9"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/pmap_pinit"
---

# pmap\_pinit(9)

initialize pmap structures

## NAME

**pmap\_pinit**, **pmap\_pinit0** – initialize pmap structures

## SYNOPSIS

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

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

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

*void*\

**pmap\_pinit**(*pmap\_t pmap*);

*void*\

**pmap\_pinit0**(*pmap\_t pm*);

## DESCRIPTION

The **pmap\_pinit**() function initializes the preallocated and zeroed structure *pmap*, such as one in a *vmspace* structure.

The **pmap\_pinit0**() function initializes the physical map *pm*, associated with process 0, the first process created in the system.

## SEE ALSO

[pmap(9)](/pmap/9.md), [pmap\_growkernel(9)](/pmap_growkernel/9.md)

## AUTHORS

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