Searched refs:cache_lock (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_da_cache.c83 static mutex_t cache_lock = DEFAULTMUTEX; variable
113 (void) mutex_lock(&cache_lock);
140 (void) mutex_unlock(&cache_lock);
185 (void) mutex_lock(&cache_lock);
195 (void) mutex_unlock(&cache_lock);
258 (void) mutex_lock(&cache_lock);
266 (void) mutex_unlock(&cache_lock);
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_match.c67 static mutex_t cache_lock = DEFAULTMUTEX; variable
198 (void) mutex_lock(&cache_lock);
206 (void) mutex_unlock(&cache_lock);
211 (void) mutex_unlock(&cache_lock);
214 (void) mutex_unlock(&cache_lock);
244 (void) mutex_lock(&cache_lock);
282 (void) mutex_unlock(&cache_lock);
318 (void) mutex_lock(&cache_lock);
321 (void) mutex_unlock(&cache_lock);
382 (void) mutex_lock(&cache_lock);
[all...]
/osnet-11/usr/src/lib/libumem/common/
H A Dumem_fork.c49 (void) mutex_lock(&cp->cache_lock);
58 (void) mutex_unlock(&cp->cache_lock);
H A Dumem.c354 * cache_lock
796 (void) mutex_lock(&cp->cache_lock);
800 (void) mutex_unlock(&cp->cache_lock);
804 (void) mutex_unlock(&cp->cache_lock);
848 (void) mutex_lock(&cp->cache_lock);
852 (void) mutex_unlock(&cp->cache_lock);
1261 (void) mutex_lock(&cp->cache_lock);
1269 (void) mutex_unlock(&cp->cache_lock);
1274 (void) mutex_lock(&cp->cache_lock);
1315 (void) mutex_unlock(&cp->cache_lock);
[all...]
H A Dumem_impl.h295 mutex_t cache_lock; /* protects slab layer */ member in struct:umem_cache
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dcache.c53 static rwlock_t cache_lock = DEFAULTRWLOCK; variable
448 if (RW_READ_HELD(&cache_lock) || RW_WRITE_HELD(&cache_lock))
450 else if (rw_rdlock(&cache_lock) == 0)
459 if (RW_WRITE_HELD(&cache_lock))
461 else if (rw_wrlock(&cache_lock) == 0)
471 (void) rw_unlock(&cache_lock);

Completed in 406 milliseconds