BUF_LOCKINIT9
Initializes a buffer lock
Usage
#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);
Overview
The BUF_LOCKINIT() macro initializes a buffer lock.
Its argument is:
- bp
-
The buffer whose lock it to be initialized.