Query: vcount
OS: freebsd
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VCOUNT(9) BSD Kernel Developer's Manual VCOUNT(9)NAMEvcount, count_dev -- get total number of references to a deviceSYNOPSIS#include <sys/param.h> #include <sys/time.h> #include <sys/conf.h> #include <sys/vnode.h> int vcount(struct vnode *vp); int count_dev(struct cdev *dev);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. count_dev() does the same thing as vcount(), but takes a struct cdev rather than a struct vnode pointer as an argument.RETURN VALUESvcount() and count_dev() both return the number of references to the device.SEE ALSOVFS(9), vnode(9)AUTHORSThis manual page was written by Andrew Stevenson.BSDJanuary 19, 2012 BSD
| Related Man Pages |
|---|
| vop_link(9) - debian |
| vrele(9) - debian |
| vop_link(9) - opensolaris |
| vop_link(9) - minix |
| vop_link(9) - linux |
| Similar Topics in the Unix Linux Community |
|---|
| Working with individual blocks of text using awk |
| Script Checking LVM Mirror not Working |
| Getting awk Output as number instead of String |
| Sh Script whats wrong? |