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

# vput(9)

decrement the use count for a vnode and unlock it

## NAME

**vput** – decrement the use count for a vnode and unlock it

## SYNOPSIS

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

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

*void*\

**vput**(*struct vnode \*vp*);

## DESCRIPTION

Decrement the *v\_usecount* field of a vnode and unlock the vnode.

- *vp*

  the vnode to decrement

This operation is functionally equivalent to calling [VOP\_UNLOCK(9)](/VOP_UNLOCK/9.md) followed by [vrele(9)](/vrele/9.md).

## SEE ALSO

[vnode(9)](/vnode/9.md), [VOP\_UNLOCK(9)](/VOP_UNLOCK/9.md), [vref(9)](/vref/9.md), [vrele(9)](/vrele/9.md)

## AUTHORS

This manual page was written by Doug Rabson.
