logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

BUF_LOCKFREE — destroys a buffer's lock

Authors

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

Debian                                            July 9, 2001                                   BUF_LOCKFREE(9)

Description

       The  BUF_LOCKFREE()  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.

Name

       BUF_LOCKFREE — destroys a buffer's lock

See Also

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

Synopsis

#include<sys/param.h>#include<sys/systm.h>#include<sys/uio.h>#include<sys/bio.h>#include<sys/buf.h>voidBUF_LOCKFREE(structbuf*bp);

See Also