BUF_REFCNT(9) MidnightBSD Kernel Developer’s Manual BUF_REFCNT(9)

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 manual page was written by Chad David 〈davidc@acns.ab.ca〉.

MidnightBSD 0.3 July 9, 2001 MidnightBSD 0.3