Home
last modified time | relevance | path

Searched refs:hash_lock (Results 1 – 15 of 15) sorted by relevance

/titanic_50/usr/src/uts/common/inet/ilb/
H A Dilb_alg_hash.c81 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 …]
/titanic_50/usr/src/uts/common/fs/zfs/
H A Darc.c1310 kmutex_t *hash_lock = BUF_HASH_LOCK(idx); in buf_hash_find() local
1313 mutex_enter(hash_lock); in buf_hash_find()
1317 *lockp = hash_lock; in buf_hash_find()
1321 mutex_exit(hash_lock); in buf_hash_find()
1337 kmutex_t *hash_lock = BUF_HASH_LOCK(idx); in buf_hash_insert() local
1346 *lockp = hash_lock; in buf_hash_insert()
1347 mutex_enter(hash_lock); in buf_hash_insert()
1349 ASSERT(MUTEX_HELD(hash_lock)); in buf_hash_insert()
1839 kmutex_t *hash_lock; in arc_buf_freeze() local
1844 hash_lock = HDR_LOCK(buf->b_hdr); in arc_buf_freeze()
[all …]
/titanic_50/usr/src/uts/common/fs/
H A Ddnlc.c379 mutex_init(&hp->hash_lock, NULL, MUTEX_DEFAULT, NULL); in dnlc_init()
466 mutex_enter(&hp->hash_lock); in dnlc_enter()
468 mutex_exit(&hp->hash_lock); in dnlc_enter()
482 mutex_exit(&hp->hash_lock); in dnlc_enter()
540 mutex_enter(&hp->hash_lock); in dnlc_update()
545 mutex_exit(&hp->hash_lock); in dnlc_update()
552 mutex_exit(&hp->hash_lock); in dnlc_update()
568 mutex_exit(&hp->hash_lock); in dnlc_update()
605 mutex_enter(&hp->hash_lock); in dnlc_lookup()
638 mutex_exit(&hp->hash_lock); in dnlc_lookup()
[all …]
/titanic_50/usr/src/uts/i86pc/vm/
H A Dhment.c116 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()
/titanic_50/usr/src/uts/common/inet/
H A Dipsec_impl.h135 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; \
/titanic_50/usr/src/lib/libc/port/aio/
H A Daio.c192 (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()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.c176 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 …]
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp.h204 nxge_os_mutex_t hash_lock[MAX_PARTITION]; member
/titanic_50/usr/src/uts/common/sys/
H A Ddnlc.h94 kmutex_t hash_lock; member
/titanic_50/usr/src/lib/libc/inc/
H A Dasyncio.h251 mutex_t hash_lock; member
H A Dthr_uberdata.h794 mutex_t hash_lock; /* lock per bucket */ member
803 mutex_t hash_lock; member
988 (&(udp)->thr_hash_table[(ulwp)->ul_ix].hash_lock)
/titanic_50/usr/src/lib/libc/port/threads/
H A Dthr.c188 mutex_t *mp = &udp->thr_hash_table[ix].hash_lock; in hash_in()
218 mutex_t *mp = &udp->thr_hash_table[ix].hash_lock; in hash_out()
502 mutex_t *mp = &udp->thr_hash_table[ix].hash_lock; in find_lwpp()
1604 htp->hash_lock.mutex_flag = LOCK_INITED; in finish_init()
1605 htp->hash_lock.mutex_magic = MUTEX_MAGIC; in finish_init()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c1941 krwlock_t *hash_lock = &rp->r_hashq->r_lock; in r4_stub_set() local
1943 ASSERT(RW_WRITE_HELD(hash_lock) || MUTEX_HELD(&rp->r_statelock)); in r4_stub_set()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dspd.c348 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()
3927 mutex_destroy(&(ipr->ipr_hash[chain].hash_lock)); in ipsec_polhead_free()
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_main.c1564 MUTEX_INIT(&classify_ptr->hash_lock[partition], NULL, in nxge_setup_mutexes()
1603 MUTEX_DESTROY(&classify_ptr->hash_lock[partition]); in nxge_destroy_mutexes()