Searched refs:sptree_lock (Results 1 – 1 of 1) sorted by relevance
152 static struct rmlock sptree_lock; variable155 #define SPTREE_LOCK_INIT() rm_init(&sptree_lock, "sptree")156 #define SPTREE_LOCK_DESTROY() rm_destroy(&sptree_lock)158 #define SPTREE_RLOCK() rm_rlock(&sptree_lock, &sptree_tracker)159 #define SPTREE_RUNLOCK() rm_runlock(&sptree_lock, &sptree_tracker)160 #define SPTREE_RLOCK_ASSERT() rm_assert(&sptree_lock, RA_RLOCKED)161 #define SPTREE_WLOCK() rm_wlock(&sptree_lock)162 #define SPTREE_WUNLOCK() rm_wunlock(&sptree_lock)163 #define SPTREE_WLOCK_ASSERT() rm_assert(&sptree_lock, RA_WLOCKED)164 #define SPTREE_UNLOCK_ASSERT() rm_assert(&sptree_lock, RA_UNLOCKED)