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 re
turned.

SEE ALSO

buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lock
count(9)

AUTHORS

This manual page was written by Chad David <davidc@ac
ns.ab.ca>.
BSD July 9, 2001
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout