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

BUF_LOCKFREEdestroys a buffer's lock

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

void
BUF_LOCKFREE(struct buf *bp);

The () macro destroys the buffer lock. The lock must not be held when this macro is called or a panic will result.

Its argument is:

bp
The buffer whose lock is to be destroyed.

buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockdestroy(9)

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

July 9, 2001 Debian