prepare a breakup control block structure for use
boolean_t bcb_prep(bcb_t *bcbp, int flag);
structure for use.
The bcb structure
is used to pass breakup property alignments to the
Pointer to a previously allocated
Indicates whether the allocation may block or not, and is
set to KM_SLEEP or KM_NOSLEEP.
On success, bcb_prep returns B_TRUE.
On failure, the routine returns B_FALSE,
either due to allocation failure in the KM_NOSLEEP case or
due to unsupportable constraints specified in bcbp.
must be called after all necessary fields in
the structure pointed to by bcbp have been set,
but before the structure is passed
It implicitly calls the
function for the associated
can be called multiple times on the same
If the driver modifies the fields of the bcbp
after it has been prepped, then the driver must call
bcb_prep again before actually using it.
Context and synchronization
If flag is set to KM_NOSLEEP,
non-blockable, initialization, or interrupt
If flag is set to KM_SLEEP,
Differences between versions
In DDI versions prior to version 8,
``DMA'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005