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

Function fail_point_setting_release_ref

freebsd/kern/kern_fail.c:315–321  ·  view source on GitHub ↗

Release a ref on an fp_setting */

Source from the content-addressed store, hash-verified

313
314/* Release a ref on an fp_setting */
315static inline void
316fail_point_setting_release_ref(struct fail_point *fp)
317{
318
319 KASSERT(&fp->fp_ref_cnt > 0, ("Attempting to deref w/no refs"));
320 atomic_subtract_rel_32(&fp->fp_ref_cnt, 1);
321}
322
323/* Append fp entries to fp garbage list */
324static inline void

Callers 4

fail_point_is_offFunction · 0.85
fail_point_getFunction · 0.85
fail_point_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected