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

Function refcount_acquire_if_not_zero

freebsd/sys/refcount.h:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static __inline __result_use_check bool
146refcount_acquire_if_not_zero(volatile u_int *count)
147{
148
149 return (refcount_acquire_if_gt(count, 0));
150}
151
152static __inline bool
153refcount_releasen(volatile u_int *count, u_int n)

Callers 12

prison_holdFunction · 0.85
prison_proc_holdFunction · 0.85
fget_unlocked_seqFunction · 0.85
fget_unlockedFunction · 0.85
pwd_hold_smrFunction · 0.85
vget_prep_smrFunction · 0.85
vget_prepFunction · 0.85
find_nhgrpFunction · 0.85
find_nhopFunction · 0.85
nhop_try_ref_objectFunction · 0.85
vmspace_acquire_refFunction · 0.85

Calls 1

refcount_acquire_if_gtFunction · 0.85

Tested by

no test coverage detected