BUF_REFCNT(9)

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.

Authors

This manual page was written by Chad David ⟨[email protected]⟩.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.