/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | cache.c | 126 * 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 D | slp_da_cache.c | 83 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 D | netgroup.c | 70 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 D | yp_match.c | 71 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 D | dump_rcm.c | 72 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 D | bridge_rcm.c | 83 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 D | network_rcm.c | 75 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 D | swap_rcm.c | 79 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 D | filesys_rcm.c | 140 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 D | ibpart_rcm.c | 97 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 D | vlan_rcm.c | 97 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 D | vnic_rcm.c | 97 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 D | ttymux_rcm.c | 72 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 D | aggr_rcm.c | 98 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 D | ip_rcm.c | 156 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 D | localeimpl.c | 197 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 D | cache.c | 56 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 D | keyserv_cache.c | 51 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 D | autoconf.h | 193 kmutex_t cache_lock; /* protects fields below */ member in struct:di_cache
|
H A D | kmem_impl.h | 49 * 1. cache_lock 374 kmutex_t cache_lock; /* protects slab layer */ member in struct:kmem_cache
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 305 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 D | umem_impl.h | 305 mutex_t cache_lock; /* protects slab layer */ member in struct:umem_cache
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 130 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...] |