Searched refs:sptree_lock (Results 1 – 1 of 1) sorted by relevance
170 static struct rmlock sptree_lock; variable173 #define SPTREE_LOCK_INIT() rm_init(&sptree_lock, "sptree")174 #define SPTREE_LOCK_DESTROY() rm_destroy(&sptree_lock)176 #define SPTREE_RLOCK() rm_rlock(&sptree_lock, &sptree_tracker)177 #define SPTREE_RUNLOCK() rm_runlock(&sptree_lock, &sptree_tracker)178 #define SPTREE_RLOCK_ASSERT() rm_assert(&sptree_lock, RA_RLOCKED)179 #define SPTREE_WLOCK() rm_wlock(&sptree_lock)180 #define SPTREE_WUNLOCK() rm_wunlock(&sptree_lock)181 #define SPTREE_WLOCK_ASSERT() rm_assert(&sptree_lock, RA_WLOCKED)182 #define SPTREE_UNLOCK_ASSERT() rm_assert(&sptree_lock, RA_UNLOCKED)