Lines Matching defs:cache_lock
83 static mutex_t cache_lock;
151 (void) mutex_init(&cache_lock, 0, NULL);
190 (void) mutex_destroy(&cache_lock);
242 (void) mutex_lock(&cache_lock);
252 (void) mutex_unlock(&cache_lock);
291 (void) mutex_lock(&cache_lock);
297 (void) mutex_unlock(&cache_lock);
305 (void) mutex_unlock(&cache_lock);
312 (void) mutex_unlock(&cache_lock);
320 (void) mutex_unlock(&cache_lock);
338 (void) mutex_lock(&cache_lock);
342 (void) mutex_unlock(&cache_lock);
350 (void) mutex_unlock(&cache_lock);
372 (void) mutex_unlock(&cache_lock);
388 (void) mutex_lock(&cache_lock);
393 (void) mutex_unlock(&cache_lock);
399 (void) mutex_unlock(&cache_lock);
404 (void) mutex_unlock(&cache_lock);
453 (void) mutex_lock(&cache_lock);
458 (void) mutex_unlock(&cache_lock);
467 (void) mutex_unlock(&cache_lock);
550 assert(MUTEX_HELD(&cache_lock));
582 * be called with cache_lock held.
599 assert(MUTEX_HELD(&cache_lock));
602 (void) mutex_unlock(&cache_lock);
604 (void) mutex_lock(&cache_lock);
637 assert(MUTEX_HELD(&cache_lock));
653 assert(MUTEX_HELD(&cache_lock));
682 assert(MUTEX_HELD(&cache_lock));
746 (void) mutex_lock(&cache_lock);
796 (void) mutex_unlock(&cache_lock);
810 (void) mutex_lock(&cache_lock);
817 (void) mutex_unlock(&cache_lock);
874 (void) mutex_lock(&cache_lock);
879 (void) mutex_unlock(&cache_lock);
882 (void) mutex_unlock(&cache_lock);