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

12

/opensolaris-onvv-gate/usr/src/cmd/rcm_daemon/common/
H A Ddump_rcm.c72 static mutex_t cache_lock; variable
132 (void) mutex_destroy(&cache_lock);
148 (void) mutex_lock(&cache_lock);
154 (void) mutex_unlock(&cache_lock);
169 (void) mutex_lock(&cache_lock);
171 (void) mutex_unlock(&cache_lock);
177 (void) mutex_unlock(&cache_lock);
200 (void) mutex_lock(&cache_lock);
202 (void) mutex_unlock(&cache_lock);
207 (void) mutex_unlock(&cache_lock);
[all...]
H A Dbridge_rcm.c83 static mutex_t cache_lock; variable
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);
[all...]
H A Daggr_rcm.c98 static mutex_t cache_lock; variable
180 (void) mutex_init(&cache_lock, 0, NULL);
225 (void) mutex_lock(&cache_lock);
232 (void) mutex_unlock(&cache_lock);
233 (void) mutex_destroy(&cache_lock);
330 (void) mutex_lock(&cache_lock);
339 (void) mutex_unlock(&cache_lock);
346 (void) mutex_unlock(&cache_lock);
382 (void) mutex_lock(&cache_lock);
388 (void) mutex_unlock(&cache_lock);
[all...]
H A Dibpart_rcm.c97 static mutex_t cache_lock; variable
174 (void) mutex_init(&cache_lock, 0, NULL);
213 (void) mutex_destroy(&cache_lock);
263 (void) mutex_lock(&cache_lock);
271 (void) mutex_unlock(&cache_lock);
278 (void) mutex_unlock(&cache_lock);
312 (void) mutex_lock(&cache_lock);
318 (void) mutex_unlock(&cache_lock);
332 (void) mutex_unlock(&cache_lock);
340 (void) mutex_unlock(&cache_lock);
[all...]
H A Dvlan_rcm.c97 static mutex_t cache_lock; variable
174 (void) mutex_init(&cache_lock, 0, NULL);
213 (void) mutex_destroy(&cache_lock);
263 (void) mutex_lock(&cache_lock);
271 (void) mutex_unlock(&cache_lock);
278 (void) mutex_unlock(&cache_lock);
312 (void) mutex_lock(&cache_lock);
318 (void) mutex_unlock(&cache_lock);
332 (void) mutex_unlock(&cache_lock);
340 (void) mutex_unlock(&cache_lock);
[all...]
H A Dvnic_rcm.c97 static mutex_t cache_lock; variable
174 (void) mutex_init(&cache_lock, 0, NULL);
213 (void) mutex_destroy(&cache_lock);
263 (void) mutex_lock(&cache_lock);
271 (void) mutex_unlock(&cache_lock);
278 (void) mutex_unlock(&cache_lock);
312 (void) mutex_lock(&cache_lock);
318 (void) mutex_unlock(&cache_lock);
332 (void) mutex_unlock(&cache_lock);
340 (void) mutex_unlock(&cache_lock);
[all...]
H A Dswap_rcm.c79 static mutex_t cache_lock; variable
146 (void) mutex_destroy(&cache_lock);
162 (void) mutex_lock(&cache_lock);
168 (void) mutex_unlock(&cache_lock);
180 (void) mutex_lock(&cache_lock);
184 (void) mutex_unlock(&cache_lock);
187 (void) mutex_unlock(&cache_lock);
211 (void) mutex_lock(&cache_lock);
213 (void) mutex_unlock(&cache_lock);
218 (void) mutex_unlock(&cache_lock);
[all...]
H A Dnetwork_rcm.c75 static mutex_t cache_lock; variable
144 (void) mutex_init(&cache_lock, NULL, NULL);
177 (void) mutex_destroy(&cache_lock);
234 (void) mutex_lock(&cache_lock);
242 (void) mutex_unlock(&cache_lock);
283 (void) mutex_lock(&cache_lock);
288 (void) mutex_unlock(&cache_lock);
293 * Since node could be freed after we drop cache_lock, allocate a
313 (void) mutex_unlock(&cache_lock);
437 (void) mutex_lock(&cache_lock);
[all...]
H A Dttymux_rcm.c72 static mutex_t cache_lock; variable
204 * Call with the cache_lock held.
220 * Call with the cache_lock held.
247 * Call with the cache_lock held.
265 * Call with the cache_lock held.
790 (void) mutex_lock(&cache_lock);
840 (void) mutex_unlock(&cache_lock);
970 (void) mutex_lock(&cache_lock);
974 (void) mutex_unlock(&cache_lock);
980 (void) mutex_unlock(&cache_lock);
[all...]
H A Dip_rcm.c156 static mutex_t cache_lock; variable
254 (void) mutex_init(&cache_lock, NULL, NULL);
296 (void) mutex_destroy(&cache_lock);
353 (void) mutex_lock(&cache_lock);
359 (void) mutex_unlock(&cache_lock);
366 (void) mutex_unlock(&cache_lock);
411 (void) mutex_lock(&cache_lock);
416 (void) mutex_unlock(&cache_lock);
444 (void) mutex_unlock(&cache_lock);
453 (void) mutex_unlock(&cache_lock);
[all...]
H A Dfilesys_rcm.c140 static mutex_t cache_lock; variable
176 (void) mutex_lock(&cache_lock);
178 (void) mutex_unlock(&cache_lock);
199 (void) mutex_lock(&cache_lock);
206 (void) mutex_unlock(&cache_lock);
210 (void) mutex_unlock(&cache_lock);
234 (void) mutex_lock(&cache_lock);
249 (void) mutex_unlock(&cache_lock);
291 (void) mutex_lock(&cache_lock);
296 (void) mutex_unlock(&cache_lock);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c68 static rwlock_t cache_lock; /* protect the cache chain */ variable
78 (void) rwlock_init(&cache_lock, USYNC_THREAD, NULL);
222 (void) rw_rdlock(&cache_lock);
234 (void) rw_unlock(&cache_lock);
235 (void) rw_wrlock(&cache_lock);
250 (void) rw_unlock(&cache_lock);
267 (void) rw_unlock(&cache_lock);
272 (void) rw_unlock(&cache_lock);
318 (void) rw_wrlock(&cache_lock);
321 (void) rw_unlock(&cache_lock);
[all...]
/opensolaris-onvv-gate/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);
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_cache.h52 void cache_lock(cfsd_cache_object_t *cache_object_p);
H A Dcfsd_svc.c208 cache_lock(cache_object_p);
222 cache_lock(cache_object_p);
271 cache_lock(cache_object_p);
323 cache_lock(cache_object_p);
338 cache_lock(cache_object_p);
418 cache_lock(cache_object_p);
433 cache_lock(cache_object_p);
452 cache_lock(cache_object_p);
492 cache_lock(cache_object_p);
603 cache_lock(cache_object_
[all...]
H A Dcfsd_subr.c129 cache_lock(cache_object_p);
135 cache_lock(cache_object_p);
185 cache_lock(cache_object_p);
428 cache_lock(cache_object_p);
439 cache_lock(cache_object_p);
451 cache_lock(cache_object_p);
464 cache_lock(cache_object_p);
505 cache_lock(cache_object_p);
H A Dcfsd_cache.c171 * cache_lock
180 cache_lock(cfsd_cache_object_t *cache_object_p) function
182 dbug_enter("cache_lock");
185 dbug_leave("cache_lock");
/opensolaris-onvv-gate/usr/src/lib/libnsl/yp/
H A Dyp_match.c71 static mutex_t cache_lock = DEFAULTMUTEX; variable
202 (void) mutex_lock(&cache_lock);
210 (void) mutex_unlock(&cache_lock);
215 (void) mutex_unlock(&cache_lock);
218 (void) mutex_unlock(&cache_lock);
248 (void) mutex_lock(&cache_lock);
286 (void) mutex_unlock(&cache_lock);
322 (void) mutex_lock(&cache_lock);
325 (void) mutex_unlock(&cache_lock);
386 (void) mutex_lock(&cache_lock);
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dkmem.c1261 mutex_enter(&cp->cache_lock);
1265 mutex_exit(&cp->cache_lock);
1272 mutex_exit(&cp->cache_lock);
1276 mutex_exit(&cp->cache_lock);
1318 mutex_enter(&cp->cache_lock);
1322 mutex_exit(&cp->cache_lock);
1536 ASSERT(MUTEX_NOT_HELD(&cp->cache_lock));
1643 ASSERT(MUTEX_NOT_HELD(&cp->cache_lock));
1664 ASSERT(MUTEX_HELD(&cp->cache_lock));
1666 * kmem_slab_alloc() drops cache_lock whe
[all...]
/opensolaris-onvv-gate/usr/src/cmd/isns/isnsd/
H A Dcache.c126 * cache_lock:
135 cache_lock( function
234 return (cache_lock(CACHE_READ));
250 return (cache_lock(CACHE_WRITE));
H A Disns_cache.h70 int cache_lock(int);
/opensolaris-onvv-gate/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...]
/opensolaris-onvv-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c51 static mutex_t cache_lock = DEFAULTMUTEX; variable
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);
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdiskmgt/common/
H A Dcache.c56 static rwlock_t cache_lock = DEFAULTRWLOCK; variable
435 (void) rw_rdlock(&cache_lock);
441 (void) rw_unlock(&cache_lock);
478 (void) rw_wrlock(&cache_lock);

Completed in 313 milliseconds

12