Searched refs:vsw_lock (Results 1 – 2 of 2) sorted by relevance
395 kmutex_t vsw_lock; /* lock to protect vsw_count */ member
3992 mutex_init(&vswp->vsw_lock, NULL, MUTEX_DEFAULT, NULL); in allocate_vfssw()4130 mutex_enter(&vswp->vsw_lock); in vfs_refvfssw()4132 mutex_exit(&vswp->vsw_lock); in vfs_refvfssw()4142 mutex_enter(&vswp->vsw_lock); in vfs_unrefvfssw()4144 mutex_exit(&vswp->vsw_lock); in vfs_unrefvfssw()