BUF_REFCNT -- returns the reference count on a buffer's lock
      #include <sys/param.h>
     #include <sys/systm.h>
     #include <sys/uio.h>
     #include <sys/bio.h>
     #include <sys/buf.h>
     int
     BUF_REFCNT(struct buf *bp);
     The BUF_REFCNT() function returns the reference count on a buffer's lock.
     Its argument is:
     bp  The buffer whose lock reference count is to be returned.
     buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockcount(9)
     This man page was written by Chad David <davidc@acns.ab.ca>.
FreeBSD 5.2.1			 July 9, 2001			 FreeBSD 5.2.1  [ Back ] |