Lines Matching refs:cache_lock
49 static mutex_t cache_lock = DEFAULTMUTEX; variable
1098 #define INCCACHEREFCNT mutex_lock(&cache_lock); \
1100 mutex_unlock(&cache_lock)
1103 #define DECCACHEREFCNT mutex_lock(&cache_lock); \
1106 mutex_unlock(&cache_lock)
1108 #define DECCACHEREFCNT mutex_lock(&cache_lock); \
1110 mutex_unlock(&cache_lock)
1133 mutex_lock(&cache_lock); in get_cache_header()
1139 (void) cond_wait(&cache_cv, &cache_lock); in get_cache_header()
1151 mutex_unlock(&cache_lock); in get_cache_header()
1155 mutex_unlock(&cache_lock); in get_cache_header()