count_dev.9freebsd

Langue: en

Version: 308446 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

vcount count_dev - get total number of references to a device

SYNOPSIS

In sys/param.h In sys/time.h In sys/conf.h In sys/vnode.h Ft int Fn vcount struct vnode *vp Ft int Fn count_dev dev_t dev

DESCRIPTION

Fn vcount is used to get the number of references to a particular device. It allows for the fact that multiple vnodes may reference the same device. Fn count_dev does the same thing as Fn vcount , but takes a Vt dev_t rather than a Vt struct vnode pointer as an argument.

RETURN VALUES

Fn vcount and Fn count_dev both return the number of references to the device.

SEE ALSO

VFS(9), vnode(9)

AUTHORS

This manual page was written by An Andrew Stevenson .