BUF_UNLOCK — unlocks a locked buffer
Contents
Description
The BUF_UNLOCK() function unlocks a buffer that was previously locked with BUF_LOCK() or BUF_TIMELOCK().
Its argument is:
bp The buffer to unlock. The buffer must already be locked.
Name
BUF_UNLOCK — unlocks a locked buffer
See Also
buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), lockmgr(9)
Synopsis
#include<sys/param.h>#include<sys/systm.h>#include<sys/uio.h>#include<sys/bio.h>#include<sys/buf.h>voidBUF_UNLOCK(structbuf*bp);
