Searched refs:tpllistlock (Results 1 – 1 of 1) sorted by relevance
156 static struct rwlock tpllistlock; variable157 RW_SYSINIT(stats_tpl_list, &tpllistlock, "Stat template list lock");158 #define TPL_LIST_RLOCK() rw_rlock(&tpllistlock)159 #define TPL_LIST_RUNLOCK() rw_runlock(&tpllistlock)160 #define TPL_LIST_WLOCK() rw_wlock(&tpllistlock)161 #define TPL_LIST_WUNLOCK() rw_wunlock(&tpllistlock)162 #define TPL_LIST_LOCK_ASSERT() rw_assert(&tpllistlock, RA_LOCKED)163 #define TPL_LIST_RLOCK_ASSERT() rw_assert(&tpllistlock, RA_RLOCKED)164 #define TPL_LIST_WLOCK_ASSERT() rw_assert(&tpllistlock, RA_WLOCKED)170 static pthread_rwlock_t tpllistlock; variable[all …]