Copyright (c) 2000 Andrew Stevenson
All rights reserved.
This program is free software.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaim...
(The comments found at the beginning of the groff file "man9/count_dev.9freebsd".)
- get total number of references to a device
Fn vcount struct vnode *vp
Fn count_dev struct cdev *dev
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.
does the same thing as
Fn vcount ,
but takes a
Vt struct cdev
rather than a
Vt struct vnode
pointer as an argument.
both return the number of references to the device.
This manual page was written by
An Andrew Stevenson .