:man| Alphabetical   Categories   About us 
 
VCOUNT (9) | Kernel routines | Unix Manual Pages | :man

NAME

vcount, count_dev - "get total number of references to a device"

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


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

DESCRIPTION

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. count_dev does the same thing as vcount, but takes a
.Vt dev_t rather than a
.Vt "struct vnode" pointer as an argument.

RETURN VALUES

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

SEE ALSO

VFS(9), vnode(9)

AUTHORS

 
Created by Blin Media, 2008-2013