BUF_REFCNT(9)

HOME || NAME SYNOPSIS DESCRIPTION SEE ALSO AUTHORS
NAME
     BUF_REFCNT -- returns the reference count on a buffer's lock
SYNOPSIS
     #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);
DESCRIPTION
     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.
SEE ALSO
     buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockcount(9)
AUTHORS
     This man page was written by Chad David <davidc@acns.ab.ca>.