FreeBSD/sys/kern/vfs_bio.c
/*
 *	bremfree:
 *
 *	Mark the buffer for removal from the appropriate free list.
 *	
 */
Mark the buffer for removal from the appropriate free list.
Mark the buffer for removal from the appropriate free list .
void
bremfree(struct buf *bp)
{
	CTR3(KTR_BUF, "bremfree(%p) vp %p flags %X", bp, bp->b_vp, bp->b_flags);
	KASSERT((bp->b_flags & B_REMFREE) == 0,
	    ("bremfree: buffer %p already marked for delayed removal.", bp));
	KASSERT(bp->b_qindex != QUEUE_NONE,
	    ("bremfree: buffer %p not on a queue.", bp));
	BUF_ASSERT_XLOCKED(bp);
	bp->b_flags |= B_REMFREE;
}
void bremfree ( struct buf * bp ) { CTR3 ( KTR_BUF , " " , bp , bp -> b_vp , bp -> b_flags ) ; KASSERT ( ( bp -> b_flags & B_REMFREE ) == 0 , ( " " , bp ) ) ; KASSERT ( bp -> b_qindex != QUEUE_NONE , ( " " , bp ) ) ; BUF_ASSERT_XLOCKED ( bp ) ; bp -> b_flags |= B_REMFREE ; }
bremfree:
      Mark the buffer for removal from the appropriate free list.
bremfree : Mark the buffer for removal from the appropriate free list .