Searched defs:cache_lock (Results 1 - 23 of 23) sorted by relevance

/illumos-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));
/illumos-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);
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c70 static rwlock_t cache_lock; /* protect the cache chain */ variable
80 (void) rwlock_init(&cache_lock, USYNC_THREAD, NULL);
225 (void) rw_rdlock(&cache_lock);
237 (void) rw_unlock(&cache_lock);
238 (void) rw_wrlock(&cache_lock);
253 (void) rw_unlock(&cache_lock);
270 (void) rw_unlock(&cache_lock);
275 (void) rw_unlock(&cache_lock);
321 (void) rw_wrlock(&cache_lock);
324 (void) rw_unlock(&cache_lock);
[all...]
/illumos-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...]
/illumos-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 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 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 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...]
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 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 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 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...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dlocaleimpl.c197 static mutex_t cache_lock = DEFAULTMUTEX; variable
214 lmutex_lock(&cache_lock);
218 lmutex_unlock(&cache_lock);
251 lmutex_unlock(&cache_lock);
253 lmutex_lock(&cache_lock);
273 lmutex_unlock(&cache_lock);
/illumos-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);
/illumos-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...]
/illumos-gate/usr/src/uts/common/sys/
H A Dautoconf.h193 kmutex_t cache_lock; /* protects fields below */ member in struct:di_cache
H A Dkmem_impl.h49 * 1. cache_lock
374 kmutex_t cache_lock; /* protects slab layer */ member in struct:kmem_cache
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c305 static rwlock_t cache_lock = DEFAULTRWLOCK; local
317 (void) rw_wrlock(&cache_lock);
324 (void) rw_unlock(&cache_lock);
331 (void) rw_wrlock(&cache_lock);
342 (void) rw_unlock(&cache_lock);
352 (void) rw_wrlock(&cache_lock);
364 (void) rw_unlock(&cache_lock);
370 (void) rw_unlock(&cache_lock);
376 (void) rw_unlock(&cache_lock);
385 (void) rw_unlock(&cache_lock);
[all...]
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_impl.h305 mutex_t cache_lock; /* protects slab layer */ member in struct:umem_cache
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c130 rwlock_t cache_lock; /* protect the cache chain */ variable
3725 (void) rw_wrlock(&cache_lock);
3731 (void) rw_unlock(&cache_lock);
3745 (void) rw_rdlock(&cache_lock);
3757 (void) rw_unlock(&cache_lock);
3758 (void) rw_wrlock(&cache_lock);
3770 (void) rw_unlock(&cache_lock);
3796 (void) rw_unlock(&cache_lock);
3800 (void) rw_unlock(&cache_lock);
3829 (void) rw_wrlock(&cache_lock);
[all...]

Completed in 133 milliseconds