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

Function zrl_is_locked

freebsd/contrib/openzfs/module/zfs/zrlock.c:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167int
168zrl_is_locked(zrlock_t *zrl)
169{
170 ASSERT3S(zrl->zr_refcount, >, ZRL_DESTROYED);
171
172 return (zrl->zr_refcount == ZRL_LOCKED);
173}
174
175#ifdef ZFS_DEBUG
176kthread_t *

Callers 4

dnode_createFunction · 0.85
dnode_destroyFunction · 0.85
dnode_slots_releFunction · 0.85
dnode_reclaim_slotsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected