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

Function mmp_thread_enter

freebsd/contrib/openzfs/module/zfs/mmp.c:213–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static void
214mmp_thread_enter(mmp_thread_t *mmp, callb_cpr_t *cpr)
215{
216 CALLB_CPR_INIT(cpr, &mmp->mmp_thread_lock, callb_generic_cpr, FTAG);
217 mutex_enter(&mmp->mmp_thread_lock);
218}
219
220static void
221mmp_thread_exit(mmp_thread_t *mmp, kthread_t **mpp, callb_cpr_t *cpr)

Callers 1

mmp_threadFunction · 0.85

Calls 1

mutex_enterFunction · 0.85

Tested by

no test coverage detected