Lines Matching defs:cache_lock
51 static mutex_t cache_lock = DEFAULTMUTEX;
1100 #define INCCACHEREFCNT mutex_lock(&cache_lock); \
1102 mutex_unlock(&cache_lock)
1105 #define DECCACHEREFCNT mutex_lock(&cache_lock); \
1108 mutex_unlock(&cache_lock)
1110 #define DECCACHEREFCNT mutex_lock(&cache_lock); \
1112 mutex_unlock(&cache_lock)
1135 mutex_lock(&cache_lock);
1141 (void) cond_wait(&cache_cv, &cache_lock);
1153 mutex_unlock(&cache_lock);
1157 mutex_unlock(&cache_lock);