Searched refs:truss_lock (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/truss/
H A Dramdata.c90 mutex_t truss_lock; /* protects almost everything */ variable
H A Dmain.c147 * while holding truss_lock. No further locking is required.
173 * worker threads of the same condition. truss_lock is held.
292 (void) mutex_init(&truss_lock, USYNC_THREAD, NULL);
626 (void) mutex_lock(&truss_lock);
634 (void) mutex_unlock(&truss_lock);
638 (void) mutex_unlock(&truss_lock);
824 (void) mutex_lock(&truss_lock);
829 (void) mutex_unlock(&truss_lock);
927 (void) mutex_lock(&truss_lock);
934 (void) mutex_unlock(&truss_lock);
[all...]
H A Dramdata.h174 #pragma align CACHE_LN_SZ(truss_lock, count_lock)
175 extern mutex_t truss_lock; /* protects almost everything */
176 extern cond_t truss_cv; /* condition variable associated w truss_lock */
H A Dfcall.c1398 * drop and later reacquire truss_lock. Some fancy dancing here.
1403 (void) mutex_unlock(&truss_lock);
1405 (void) mutex_lock(&truss_lock);
1415 (void) mutex_unlock(&truss_lock);
1419 (void) mutex_lock(&truss_lock);
1426 (void) mutex_unlock(&truss_lock);
1430 (void) mutex_lock(&truss_lock);

Completed in 52 milliseconds