// ntifs.h
VOID CcRepinBcb(
[in] PVOID Bcb
);
View the official Windows Driver Kit DDI referenceNo description available.
The CcRepinBcb routine pins a buffer control block (BCB) an additional time to prevent it from being freed by a subsequent call to CcUnpinData.
Bcb [in]Buffer control block (BCB) pointer returned by CcPinRead or CcPreparePinWrite.
File systems call CcRepinBcb to preserve a BCB for write-through or error recovery. Typically a file system would do this the first time it marks a BCB as dirty while processing a write-through request, or any time that it determines that a buffer will be required for write-through.
Every call to CcRepinBcb must be matched by a subsequent call to CcUnpinRepinnedBcb.