MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bremfree

Function bremfree

freebsd/kern/vfs_bio.c:1817–1829  ·  view source on GitHub ↗

* bremfree: * * Mark the buffer for removal from the appropriate free list. * */

Source from the content-addressed store, hash-verified

1815 *
1816 */
1817void
1818bremfree(struct buf *bp)
1819{
1820
1821 CTR3(KTR_BUF, "bremfree(%p) vp %p flags %X", bp, bp->b_vp, bp->b_flags);
1822 KASSERT((bp->b_flags & B_REMFREE) == 0,
1823 ("bremfree: buffer %p already marked for delayed removal.", bp));
1824 KASSERT(bp->b_qindex != QUEUE_NONE,
1825 ("bremfree: buffer %p not on a queue.", bp));
1826 BUF_ASSERT_XLOCKED(bp);
1827
1828 bp->b_flags |= B_REMFREE;
1829}
1830
1831/*
1832 * bremfreef:

Callers 10

bufbdflushFunction · 0.85
vfs_bio_awriteFunction · 0.85
flushbufqueuesFunction · 0.85
getblkxFunction · 0.85
vn_fsync_bufFunction · 0.85
flushbuflistFunction · 0.85
bnoreuselistFunction · 0.85
vtruncbufFunction · 0.85
v_inval_buf_range_lockedFunction · 0.85
cluster_wbuildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected