VCOUNT(9) OpenBSD Kernel Manual VCOUNT(9)NAMEvcount - get total number of references to a device
SYNOPSIS
#include <sys/param.h>
#include <sys/time.h>
#include <sys/conf.h>
#include <sys/vnode.h>
int
vcount(struct vnode *vp);
DESCRIPTIONvcount() 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.
RETURN VALUESvcount() returns the number of references to the device.
SEE ALSOvnode(9)AUTHORS
This man page was originally written by Andrew Stevenson for FreeBSD.
OpenBSD 4.9 October 28, 2010 OpenBSD 4.9