/titanic_44/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); in rcm_mod_fini() 148 (void) mutex_lock(&cache_lock); in dump_unregister() 154 (void) mutex_unlock(&cache_lock); in dump_unregister() 169 (void) mutex_lock(&cache_lock); in dump_getinfo() 171 (void) mutex_unlock(&cache_lock); in dump_getinfo() 177 (void) mutex_unlock(&cache_lock); in dump_getinfo() 200 (void) mutex_lock(&cache_lock); in dump_suspend() 202 (void) mutex_unlock(&cache_lock); in dump_suspend() 207 (void) mutex_unlock(&cache_lock); in dump_suspend() [all …]
|
H A D | bridge_rcm.c | 83 static mutex_t cache_lock; variable 151 (void) mutex_init(&cache_lock, 0, NULL); in rcm_mod_init() 190 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 242 (void) mutex_lock(&cache_lock); in bridge_unregister() 252 (void) mutex_unlock(&cache_lock); in bridge_unregister() 291 (void) mutex_lock(&cache_lock); in bridge_offline() 297 (void) mutex_unlock(&cache_lock); in bridge_offline() 305 (void) mutex_unlock(&cache_lock); in bridge_offline() 312 (void) mutex_unlock(&cache_lock); in bridge_offline() 320 (void) mutex_unlock(&cache_lock); in bridge_offline() [all …]
|
H A D | vlan_rcm.c | 97 static mutex_t cache_lock; variable 174 (void) mutex_init(&cache_lock, 0, NULL); in rcm_mod_init() 213 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 263 (void) mutex_lock(&cache_lock); in vlan_unregister() 271 (void) mutex_unlock(&cache_lock); in vlan_unregister() 278 (void) mutex_unlock(&cache_lock); in vlan_unregister() 312 (void) mutex_lock(&cache_lock); in vlan_offline() 318 (void) mutex_unlock(&cache_lock); in vlan_offline() 332 (void) mutex_unlock(&cache_lock); in vlan_offline() 340 (void) mutex_unlock(&cache_lock); in vlan_offline() [all …]
|
H A D | ibpart_rcm.c | 97 static mutex_t cache_lock; variable 174 (void) mutex_init(&cache_lock, 0, NULL); in rcm_mod_init() 213 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 263 (void) mutex_lock(&cache_lock); in ibpart_unregister() 271 (void) mutex_unlock(&cache_lock); in ibpart_unregister() 278 (void) mutex_unlock(&cache_lock); in ibpart_unregister() 312 (void) mutex_lock(&cache_lock); in ibpart_offline() 318 (void) mutex_unlock(&cache_lock); in ibpart_offline() 332 (void) mutex_unlock(&cache_lock); in ibpart_offline() 340 (void) mutex_unlock(&cache_lock); in ibpart_offline() [all …]
|
H A D | vnic_rcm.c | 97 static mutex_t cache_lock; variable 174 (void) mutex_init(&cache_lock, 0, NULL); in rcm_mod_init() 213 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 263 (void) mutex_lock(&cache_lock); in vnic_unregister() 271 (void) mutex_unlock(&cache_lock); in vnic_unregister() 278 (void) mutex_unlock(&cache_lock); in vnic_unregister() 312 (void) mutex_lock(&cache_lock); in vnic_offline() 318 (void) mutex_unlock(&cache_lock); in vnic_offline() 332 (void) mutex_unlock(&cache_lock); in vnic_offline() 340 (void) mutex_unlock(&cache_lock); in vnic_offline() [all …]
|
H A D | swap_rcm.c | 79 static mutex_t cache_lock; variable 146 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 162 (void) mutex_lock(&cache_lock); in swap_unregister() 168 (void) mutex_unlock(&cache_lock); in swap_unregister() 180 (void) mutex_lock(&cache_lock); in swap_getinfo() 184 (void) mutex_unlock(&cache_lock); in swap_getinfo() 187 (void) mutex_unlock(&cache_lock); in swap_getinfo() 211 (void) mutex_lock(&cache_lock); in swap_suspend() 213 (void) mutex_unlock(&cache_lock); in swap_suspend() 218 (void) mutex_unlock(&cache_lock); in swap_suspend() [all …]
|
H A D | aggr_rcm.c | 98 static mutex_t cache_lock; variable 180 (void) mutex_init(&cache_lock, 0, NULL); in rcm_mod_init() 225 (void) mutex_lock(&cache_lock); in rcm_mod_fini() 232 (void) mutex_unlock(&cache_lock); in rcm_mod_fini() 233 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 330 (void) mutex_lock(&cache_lock); in aggr_unregister() 339 (void) mutex_unlock(&cache_lock); in aggr_unregister() 346 (void) mutex_unlock(&cache_lock); in aggr_unregister() 382 (void) mutex_lock(&cache_lock); in aggr_offline() 388 (void) mutex_unlock(&cache_lock); in aggr_offline() [all …]
|
H A D | network_rcm.c | 75 static mutex_t cache_lock; variable 144 (void) mutex_init(&cache_lock, NULL, NULL); in rcm_mod_init() 177 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 234 (void) mutex_lock(&cache_lock); in net_unregister() 242 (void) mutex_unlock(&cache_lock); in net_unregister() 283 (void) mutex_lock(&cache_lock); in net_passthru() 288 (void) mutex_unlock(&cache_lock); in net_passthru() 313 (void) mutex_unlock(&cache_lock); in net_passthru() 437 (void) mutex_lock(&cache_lock); in net_getinfo() 442 (void) mutex_unlock(&cache_lock); in net_getinfo() [all …]
|
H A D | ip_rcm.c | 156 static mutex_t cache_lock; variable 254 (void) mutex_init(&cache_lock, NULL, NULL); in rcm_mod_init() 296 (void) mutex_destroy(&cache_lock); in rcm_mod_fini() 353 (void) mutex_lock(&cache_lock); in ip_unregister() 359 (void) mutex_unlock(&cache_lock); in ip_unregister() 366 (void) mutex_unlock(&cache_lock); in ip_unregister() 411 (void) mutex_lock(&cache_lock); in ip_offline() 416 (void) mutex_unlock(&cache_lock); in ip_offline() 444 (void) mutex_unlock(&cache_lock); in ip_offline() 453 (void) mutex_unlock(&cache_lock); in ip_offline() [all …]
|
H A D | ttymux_rcm.c | 72 static mutex_t cache_lock; variable 790 (void) mutex_lock(&cache_lock); in probe_dependencies() 840 (void) mutex_unlock(&cache_lock); in probe_dependencies() 970 (void) mutex_lock(&cache_lock); in rsrc_change_common() 974 (void) mutex_unlock(&cache_lock); in rsrc_change_common() 980 (void) mutex_unlock(&cache_lock); in rsrc_change_common() 1086 (void) mutex_unlock(&cache_lock); in rsrc_change_common() 1197 (void) mutex_init(&cache_lock, NULL, NULL); in rcm_mod_init() 1217 (void) mutex_lock(&cache_lock); in rcm_mod_fini() 1231 (void) mutex_unlock(&cache_lock); in rcm_mod_fini() [all …]
|
H A D | filesys_rcm.c | 140 static mutex_t cache_lock; variable 176 (void) mutex_lock(&cache_lock); in rcm_mod_fini() 178 (void) mutex_unlock(&cache_lock); in rcm_mod_fini() 199 (void) mutex_lock(&cache_lock); in mnt_register() 206 (void) mutex_unlock(&cache_lock); in mnt_register() 210 (void) mutex_unlock(&cache_lock); in mnt_register() 234 (void) mutex_lock(&cache_lock); in mnt_unregister() 249 (void) mutex_unlock(&cache_lock); in mnt_unregister() 291 (void) mutex_lock(&cache_lock); in mnt_offline() 296 (void) mutex_unlock(&cache_lock); in mnt_offline() [all …]
|
/titanic_44/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); in netgroup_init() 225 (void) rw_rdlock(&cache_lock); in cache_check() 237 (void) rw_unlock(&cache_lock); in cache_check() 238 (void) rw_wrlock(&cache_lock); in cache_check() 253 (void) rw_unlock(&cache_lock); in cache_check() 270 (void) rw_unlock(&cache_lock); in cache_check() 275 (void) rw_unlock(&cache_lock); in cache_check() 321 (void) rw_wrlock(&cache_lock); in cache_enter() 324 (void) rw_unlock(&cache_lock); in cache_enter() [all …]
|
/titanic_44/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); in __yp_match_cflookup() 210 (void) mutex_unlock(&cache_lock); in __yp_match_cflookup() 215 (void) mutex_unlock(&cache_lock); in __yp_match_cflookup() 218 (void) mutex_unlock(&cache_lock); in __yp_match_cflookup() 248 (void) mutex_lock(&cache_lock); in __yp_match_cflookup() 286 (void) mutex_unlock(&cache_lock); in __yp_match_cflookup() 322 (void) mutex_lock(&cache_lock); in __empty_yp_cache() 325 (void) mutex_unlock(&cache_lock); in __empty_yp_cache() 386 (void) mutex_lock(&cache_lock); in __yp_match_rsvdport_cflookup() [all …]
|
/titanic_44/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); in slp_find_das_cached() 140 (void) mutex_unlock(&cache_lock); in slp_find_das_cached() 185 (void) mutex_lock(&cache_lock); in slp_put_das_cached() 195 (void) mutex_unlock(&cache_lock); in slp_put_das_cached() 258 (void) mutex_lock(&cache_lock); in cache_thr() 266 (void) mutex_unlock(&cache_lock); in cache_thr()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | kmem.c | 1262 mutex_enter(&cp->cache_lock); in kmem_findslab() 1266 mutex_exit(&cp->cache_lock); in kmem_findslab() 1273 mutex_exit(&cp->cache_lock); in kmem_findslab() 1277 mutex_exit(&cp->cache_lock); in kmem_findslab() 1319 mutex_enter(&cp->cache_lock); in kmem_error() 1323 mutex_exit(&cp->cache_lock); in kmem_error() 1537 ASSERT(MUTEX_NOT_HELD(&cp->cache_lock)); in kmem_slab_create() 1644 ASSERT(MUTEX_NOT_HELD(&cp->cache_lock)); in kmem_slab_destroy() 1665 ASSERT(MUTEX_HELD(&cp->cache_lock)); in kmem_slab_alloc_impl() 1750 mutex_enter(&cp->cache_lock); in kmem_slab_alloc() [all …]
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_svc.c | 208 cache_lock(cache_object_p); in cachefsd_cache_status_1_svc() 222 cache_lock(cache_object_p); in cachefsd_cache_status_1_svc() 271 cache_lock(cache_object_p); in cachefsd_cache_status_1_svc() 323 cache_lock(cache_object_p); in cachefsd_mounts_1_svc() 338 cache_lock(cache_object_p); in cachefsd_mounts_1_svc() 418 cache_lock(cache_object_p); in cachefsd_mount_stat_1_svc() 433 cache_lock(cache_object_p); in cachefsd_mount_stat_1_svc() 452 cache_lock(cache_object_p); in cachefsd_mount_stat_1_svc() 492 cache_lock(cache_object_p); in cachefsd_mount_stat_1_svc() 603 cache_lock(cache_object_p); in cachefsd_fs_unmounted_1_svc() [all …]
|
H A D | cfsd_subr.c | 129 cache_lock(cache_object_p); in subr_add_mount() 135 cache_lock(cache_object_p); in subr_add_mount() 185 cache_lock(cache_object_p); in subr_add_mount() 428 cache_lock(cache_object_p); in subr_cache_setup() 439 cache_lock(cache_object_p); in subr_cache_setup() 451 cache_lock(cache_object_p); in subr_cache_setup() 464 cache_lock(cache_object_p); in subr_cache_setup() 505 cache_lock(cache_object_p); in subr_cache_setup()
|
H A D | cfsd_cache.h | 52 void cache_lock(cfsd_cache_object_t *cache_object_p);
|
/titanic_44/usr/src/lib/libc/port/locale/ |
H A D | localeimpl.c | 196 static mutex_t cache_lock = DEFAULTMUTEX; variable 213 lmutex_lock(&cache_lock); in locdata_get_cache() 217 lmutex_unlock(&cache_lock); in locdata_get_cache() 250 lmutex_unlock(&cache_lock); in locdata_get_cache() 252 lmutex_lock(&cache_lock); in locdata_get_cache() 272 lmutex_unlock(&cache_lock); in locdata_get_cache()
|
/titanic_44/usr/src/cmd/isns/isnsd/ |
H A D | cache.c | 135 cache_lock( in cache_lock() function 234 return (cache_lock(CACHE_READ)); in cache_lock_read() 250 return (cache_lock(CACHE_WRITE)); in cache_lock_write()
|
H A D | isns_cache.h | 70 int cache_lock(int);
|
/titanic_44/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); in get_cache_header() 1141 (void) cond_wait(&cache_cv, &cache_lock); in get_cache_header() 1153 mutex_unlock(&cache_lock); in get_cache_header() [all …]
|
/titanic_44/usr/src/lib/libumem/common/ |
H A D | umem.c | 1059 (void) mutex_lock(&cp->cache_lock); in umem_findslab() 1063 (void) mutex_unlock(&cp->cache_lock); in umem_findslab() 1067 (void) mutex_unlock(&cp->cache_lock); in umem_findslab() 1111 (void) mutex_lock(&cp->cache_lock); in umem_error() 1115 (void) mutex_unlock(&cp->cache_lock); in umem_error() 1524 (void) mutex_lock(&cp->cache_lock); in umem_slab_alloc() 1532 (void) mutex_unlock(&cp->cache_lock); in umem_slab_alloc() 1537 (void) mutex_lock(&cp->cache_lock); in umem_slab_alloc() 1578 (void) mutex_unlock(&cp->cache_lock); in umem_slab_alloc() 1594 (void) mutex_lock(&cp->cache_lock); in umem_slab_free() [all …]
|
H A D | umem_fork.c | 49 (void) mutex_lock(&cp->cache_lock); in umem_lockup_cache() 58 (void) mutex_unlock(&cp->cache_lock); in umem_release_cache()
|
/titanic_44/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 305 static rwlock_t cache_lock = DEFAULTRWLOCK; in getldap_cache_op() local 317 (void) rw_wrlock(&cache_lock); in getldap_cache_op() 324 (void) rw_unlock(&cache_lock); in getldap_cache_op() 331 (void) rw_wrlock(&cache_lock); in getldap_cache_op() 342 (void) rw_unlock(&cache_lock); in getldap_cache_op() 352 (void) rw_wrlock(&cache_lock); in getldap_cache_op() 364 (void) rw_unlock(&cache_lock); in getldap_cache_op() 370 (void) rw_unlock(&cache_lock); in getldap_cache_op() 376 (void) rw_unlock(&cache_lock); in getldap_cache_op() 385 (void) rw_unlock(&cache_lock); in getldap_cache_op() [all …]
|