FreeBSD/sys/kern/vfs_bio.c
/*
 * Check to see if a block is currently memory resident.
 */
Check to see if a block is currently memory resident.
Check to see if a block is currently memory resident .
struct buf *
incore(struct bufobj *bo, daddr_t blkno)
{
	struct buf *bp;
	BO_RLOCK(bo);
	bp = gbincore(bo, blkno);
	BO_RUNLOCK(bo);
	return (bp);
}
struct buf * incore ( struct bufobj * bo , daddr_t blkno ) { struct buf * bp ; BO_RLOCK ( bo ) ; bp = gbincore ( bo , blkno ) ; BO_RUNLOCK ( bo ) ; return ( bp ) ; }
Check to see if a block is currently memory resident.
Check to see if a block is currently memory resident .