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

Function fail_point_setting_garbage_append

freebsd/kern/kern_fail.c:324–332  ·  view source on GitHub ↗

Append fp entries to fp garbage list */

Source from the content-addressed store, hash-verified

322
323/* Append fp entries to fp garbage list */
324static inline void
325fail_point_setting_garbage_append(struct fail_point_setting *fp_setting)
326{
327
328 mtx_lock_spin(&mtx_garbage_list);
329 STAILQ_INSERT_TAIL(&fp_setting_garbage, fp_setting,
330 fs_garbage_link);
331 mtx_unlock_spin(&mtx_garbage_list);
332}
333
334/* Swap fp's entries with fp_setting_new */
335static struct fail_point_setting *

Callers 1

fail_point_setting_newFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected