mmp_thread
static void mmp_thread(void *arg);
if (!mmp->mmp_thread) {
mmp->mmp_thread = thread_create(NULL, 0, mmp_thread,
while (mmp->mmp_thread) {
ASSERT(mmp->mmp_thread == NULL);
mmp_thread_exit(mmp, &mmp->mmp_thread, &cpr);
if (mmp->mmp_thread)
if (spa->spa_mmp.mmp_thread)
kthread_t *mmp_thread;