SYNOPSISIn 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 struct cdev *dev
DESCRIPTIONFn 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 struct cdev rather than a Vt struct vnode pointer as an argument.
RETURN VALUESFn vcount and Fn count_dev both return the number of references to the device.
AUTHORSThis manual page was written by An Andrew Stevenson .