Searched defs:tstat_lock (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/
H A Dtrapstat.c506 * The implementation uses two locks: tstat_lock (a local lock) and the global
507 * cpu_lock. tstat_lock is used to assure trapstat's consistency in the
513 * (trapstat_cpu_setup()) must grab tstat_lock and is called with cpu_lock
514 * held, the lock ordering is necessarily cpu_lock before tstat_lock.
521 static kmutex_t tstat_lock; /* serialize access */ variable
692 ASSERT(MUTEX_HELD(&tstat_lock));
802 * the caller of the trapstat_probe() cross call is holding tstat_lock.
836 ASSERT(MUTEX_HELD(&tstat_lock));
872 ASSERT(MUTEX_HELD(&tstat_lock));
1165 ASSERT(MUTEX_HELD(&tstat_lock));
[all...]

Completed in 81 milliseconds