Home
last modified time | relevance | path

Searched refs:cache_lock (Results 1 – 25 of 37) sorted by relevance

12

/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Ddump_rcm.c72 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 Dbridge_rcm.c83 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 Dvlan_rcm.c97 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 Dibpart_rcm.c97 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 Dvnic_rcm.c97 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 Dswap_rcm.c79 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 Daggr_rcm.c98 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 Dnetwork_rcm.c75 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 Dip_rcm.c156 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 Dttymux_rcm.c72 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 Dfilesys_rcm.c140 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 Dnetgroup.c70 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 Dyp_match.c71 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 Dslp_da_cache.c83 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 Dkmem.c1262 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 Dcfsd_svc.c208 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 Dcfsd_subr.c129 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 Dcfsd_cache.h52 void cache_lock(cfsd_cache_object_t *cache_object_p);
/titanic_44/usr/src/lib/libc/port/locale/
H A Dlocaleimpl.c196 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 Dcache.c135 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 Disns_cache.h70 int cache_lock(int);
/titanic_44/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); 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 Dumem.c1059 (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 Dumem_fork.c49 (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 Dcachemgr_getldap.c305 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 …]

12