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

Function bremfreef

freebsd/kern/vfs_bio.c:1837–1845  ·  view source on GitHub ↗

* bremfreef: * * Force an immediate removal from a free list. Used only in nfs when * it abuses the b_freelist pointer. */

Source from the content-addressed store, hash-verified

1835 * it abuses the b_freelist pointer.
1836 */
1837void
1838bremfreef(struct buf *bp)
1839{
1840 struct bufqueue *bq;
1841
1842 bq = bufqueue_acquire(bp);
1843 bq_remove(bq, bp);
1844 BQ_UNLOCK(bq);
1845}
1846
1847static void
1848bq_init(struct bufqueue *bq, int qindex, int subqueue, const char *lockname)

Callers 3

buf_freeFunction · 0.85
bqrelseFunction · 0.85
flushbufqueuesFunction · 0.85

Calls 2

bufqueue_acquireFunction · 0.85
bq_removeFunction · 0.85

Tested by

no test coverage detected