Searched refs:mlist_lock (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhment.c99 * "mlist_lock" is a hashed mutex lock for protecting per-page mapping
106 static kmutex_t *mlist_lock; variable
112 &mlist_lock[((pp)->p_pagenum + ((pp)->p_pagenum >> 9)) & \
277 * These must test for mlist_lock not having been allocated yet.
285 if (mlist_lock == NULL)
294 if (mlist_lock != NULL)
302 if (mlist_lock != NULL)
645 mlist_lock = kmem_zalloc(MLIST_NUM_LOCK * sizeof (kmutex_t), KM_SLEEP);
654 mutex_init(&mlist_lock[i], NULL, MUTEX_DEFAULT, NULL);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dldc_impl.h461 kmutex_t mlist_lock; /* Mem handle list lock */ member in struct:ldc_chan
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc_shm.c276 mutex_enter(&ldcp->mlist_lock);
308 mutex_exit(&ldcp->mlist_lock);
312 mutex_exit(&ldcp->mlist_lock);
H A Dldc.c2799 mutex_init(&ldcp->mlist_lock, NULL, MUTEX_DRIVER, NULL);
2910 mutex_destroy(&ldcp->mlist_lock);

Completed in 89 milliseconds