DOKK / manpages / debian 10 / freebsd-manpages / BUF_LOCKINIT.9freebsd.en
BUF_LOCKINIT(9) Kernel Developer's Manual BUF_LOCKINIT(9)

BUF_LOCKINITinitializes a buffer lock

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/bio.h>
#include <sys/buf.h>

void
BUF_LOCKINIT(struct buf *bp);

The () macro initializes a buffer lock.

Its argument is:

bp
The buffer whose lock it to be initialized.

buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockinit(9), lockmgr(9)

This manual page was written by Chad David <davidc@acns.ab.ca>.

January 6, 2005 Debian