.TH bclaim() "" "" "Internal Kernel Routine"
.PC "Claim a buffer"
.B "#include <sys/buf.h>"
\fBBUF *bclaim(\fIdevice\^\fB, \fIblock\^\fB)\fR
\fBdev_t \fIdevice\^\fB; daddr_t \fIblock\^\fB;\fR
.PP
.B bclaim()
locates or allocates a buffer associated with \fIblock\fR on \fIdevice\fR.
The buffer's contents are invalid if its field \fIb_flag\fR has bit
.B BFNTP
set.
.PP
.B bclaim()
requires user context.
Therefore, do not call it
from within deferred or timed functions, or from within an interrupt handler.
.SH "See Also"
.B
internal kernel routines
.R
