| /onnv-gate/usr/src/uts/common/inet/ilb/ |
| H A D | ilb_alg_hash.c | 81 kmutex_t hash_lock; member 104 mutex_enter(&hash_alg->hash_lock); in hash_lb() 107 mutex_exit(&hash_alg->hash_lock); in hash_lb() 122 mutex_exit(&hash_alg->hash_lock); in hash_lb() 127 mutex_exit(&hash_alg->hash_lock); in hash_lb() 132 mutex_exit(&hash_alg->hash_lock); in hash_lb() 153 mutex_exit(&hash_alg->hash_lock); in hash_lb() 185 mutex_enter(&hash_alg->hash_lock); in hash_server_del() 189 mutex_exit(&hash_alg->hash_lock); in hash_server_del() 200 mutex_exit(&hash_alg->hash_lock); in hash_server_del() [all …]
|
| /onnv-gate/usr/src/uts/common/fs/zfs/ |
| H A D | arc.c | 472 static void arc_access(arc_buf_hdr_t *buf, kmutex_t *hash_lock); 680 kmutex_t *hash_lock = BUF_HASH_LOCK(idx); in buf_hash_find() local 683 mutex_enter(hash_lock); in buf_hash_find() 687 *lockp = hash_lock; in buf_hash_find() 691 mutex_exit(hash_lock); in buf_hash_find() 706 kmutex_t *hash_lock = BUF_HASH_LOCK(idx); in buf_hash_insert() local 711 *lockp = hash_lock; in buf_hash_insert() 712 mutex_enter(hash_lock); in buf_hash_insert() 981 kmutex_t *hash_lock; in arc_buf_freeze() local 986 hash_lock = HDR_LOCK(buf->b_hdr); in arc_buf_freeze() [all …]
|
| /onnv-gate/usr/src/uts/common/fs/ |
| H A D | dnlc.c | 378 mutex_init(&hp->hash_lock, NULL, MUTEX_DEFAULT, NULL); in dnlc_init() 465 mutex_enter(&hp->hash_lock); in dnlc_enter() 467 mutex_exit(&hp->hash_lock); in dnlc_enter() 481 mutex_exit(&hp->hash_lock); in dnlc_enter() 539 mutex_enter(&hp->hash_lock); in dnlc_update() 544 mutex_exit(&hp->hash_lock); in dnlc_update() 551 mutex_exit(&hp->hash_lock); in dnlc_update() 567 mutex_exit(&hp->hash_lock); in dnlc_update() 604 mutex_enter(&hp->hash_lock); in dnlc_lookup() 637 mutex_exit(&hp->hash_lock); in dnlc_lookup() [all …]
|
| /onnv-gate/usr/src/uts/i86pc/vm/ |
| H A D | hment.c | 116 static kmutex_t *hash_lock; variable 118 #define HASH_MUTEX(idx) &hash_lock[(idx) & (HASH_NUM_LOCK-1)] 647 hash_lock = kmem_zalloc(HASH_NUM_LOCK * sizeof (kmutex_t), KM_SLEEP); in hment_init() 657 mutex_init(&hash_lock[i], NULL, MUTEX_DEFAULT, NULL); in hment_init()
|
| /onnv-gate/usr/src/uts/common/inet/ |
| H A D | ipsec_impl.h | 135 mutex_enter(&(table)[hash].hash_lock) 137 mutex_exit(&(table)[hash].hash_lock) 140 MUTEX_HELD(&(table)[hash].hash_lock) 162 ASSERT(MUTEX_HELD(&(table)[hash].hash_lock)); \ 202 kmutex_t hash_lock; \
|
| /onnv-gate/usr/src/lib/libc/port/aio/ |
| H A D | aio.c | 192 (void) mutex_init(&_aio_hash[i].hash_lock, in __uaio_init() 2049 lmutex_lock(&hashp->hash_lock); in _aio_hash_insert() 2053 lmutex_unlock(&hashp->hash_lock); in _aio_hash_insert() 2060 lmutex_unlock(&hashp->hash_lock); in _aio_hash_insert() 2076 lmutex_lock(&hashp->hash_lock); in _aio_hash_del() 2086 lmutex_unlock(&hashp->hash_lock); in _aio_hash_del() 2103 lmutex_lock(&hashp->hash_lock); in _aio_hash_find() 2110 lmutex_unlock(&hashp->hash_lock); in _aio_hash_find()
|
| /onnv-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
| H A D | piclfrutree.c | 176 static rwlock_t hash_lock; variable 335 (void) rwlock_init(&hash_lock, USYNC_THREAD, NULL); in piclfrutree_init() 1250 (void) rw_wrlock(&hash_lock); in hash_destroy() 1252 (void) rw_unlock(&hash_lock); in hash_destroy() 1269 (void) rw_unlock(&hash_lock); in hash_destroy() 1282 (void) rw_wrlock(&hash_lock); in hash_add_entry() 1285 (void) rw_unlock(&hash_lock); in hash_add_entry() 1291 (void) rw_unlock(&hash_lock); in hash_add_entry() 1310 (void) rw_unlock(&hash_lock); in hash_add_entry() 1316 (void) rw_unlock(&hash_lock); in hash_add_entry() [all …]
|
| /onnv-gate/usr/src/uts/common/sys/nxge/ |
| H A D | nxge_fflp.h | 204 nxge_os_mutex_t hash_lock[MAX_PARTITION]; member
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | dnlc.h | 94 kmutex_t hash_lock; member
|
| /onnv-gate/usr/src/lib/libc/inc/ |
| H A D | asyncio.h | 251 mutex_t hash_lock; member
|
| H A D | thr_uberdata.h | 767 mutex_t hash_lock; /* lock per bucket */ member 776 mutex_t hash_lock; member 926 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_lock)
|
| /onnv-gate/usr/src/lib/libc/port/threads/ |
| H A D | thr.c | 182 mutex_t *mp = &udp->thr_hash_table[ix].hash_lock; in hash_in() 212 mutex_t *mp = &udp->thr_hash_table[ix].hash_lock; in hash_out() 496 mutex_t *mp = &udp->thr_hash_table[ix].hash_lock; in find_lwpp() 1568 htp->hash_lock.mutex_flag = LOCK_INITED; in finish_init() 1569 htp->hash_lock.mutex_magic = MUTEX_MAGIC; in finish_init()
|
| /onnv-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_rnode.c | 1933 krwlock_t *hash_lock = &rp->r_hashq->r_lock; in r4_stub_set() local 1935 ASSERT(RW_WRITE_HELD(hash_lock) || MUTEX_HELD(&rp->r_statelock)); in r4_stub_set()
|
| /onnv-gate/usr/src/uts/common/inet/ip/ |
| H A D | spd.c | 348 mutex_destroy(&(ipr->ipr_hash[chain].hash_lock)); in ipsec_polhead_destroy() 407 mutex_destroy(&(ipss->ipsec_action_hash[i].hash_lock)); in ipsec_stack_fini() 412 mutex_destroy(&(ipss->ipsec_sel_hash[i].hash_lock)); in ipsec_stack_fini() 541 mutex_init(&(ipr->ipr_hash[chain].hash_lock), in ipsec_polhead_init() 650 mutex_init(&(ipss->ipsec_action_hash[i].hash_lock), in ipsec_stack_init() 654 mutex_init(&(ipss->ipsec_sel_hash[i].hash_lock), in ipsec_stack_init() 3928 mutex_destroy(&(ipr->ipr_hash[chain].hash_lock)); in ipsec_polhead_free()
|
| /onnv-gate/usr/src/uts/common/io/nxge/ |
| H A D | nxge_main.c | 1563 MUTEX_INIT(&classify_ptr->hash_lock[partition], NULL, in nxge_setup_mutexes() 1602 MUTEX_DESTROY(&classify_ptr->hash_lock[partition]); in nxge_destroy_mutexes()
|