BUF_REFCNT9
Returns the reference count on a buffer's lock
Usage
#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);
Overview
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.