BUF_REFCNT(9freebsd)

BUF_REFCNT9freebsd

Returns the reference count on a buffer's lock

Part of BUF_REFCNT(9).

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 7.0-2 in Debian 5.0 (Lenny). Parsed by carta from the page's mdoc source.