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

Function arc_released

freebsd/contrib/openzfs/module/zfs/arc.c:6764–6774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6762}
6763
6764int
6765arc_released(arc_buf_t *buf)
6766{
6767 int released;
6768
6769 mutex_enter(&buf->b_evict_lock);
6770 released = (buf->b_data != NULL &&
6771 buf->b_hdr->b_l1hdr.b_state == arc_anon);
6772 mutex_exit(&buf->b_evict_lock);
6773 return (released);
6774}
6775
6776#ifdef ZFS_DEBUG
6777int

Callers 9

dbuf_loan_arcbufFunction · 0.85
dbuf_release_bpFunction · 0.85
dbuf_redirtyFunction · 0.85
dbuf_undirtyFunction · 0.85
dbuf_assign_arcbufFunction · 0.85
dbuf_rele_and_unlockFunction · 0.85
dbuf_writeFunction · 0.85
dnode_syncFunction · 0.85

Calls 2

mutex_enterFunction · 0.85
mutex_exitFunction · 0.85

Tested by

no test coverage detected