Searched refs:DBUF_HASH_MUTEX (Results 1 – 2 of 2) sorted by relevance
257 #define DBUF_HASH_MUTEX(h, idx) (&(h)->hash_mutexes[(idx) & (DBUF_MUTEXES-1)]) macro
137 mutex_enter(DBUF_HASH_MUTEX(h, idx)); in dbuf_find()142 mutex_exit(DBUF_HASH_MUTEX(h, idx)); in dbuf_find()148 mutex_exit(DBUF_HASH_MUTEX(h, idx)); in dbuf_find()188 mutex_enter(DBUF_HASH_MUTEX(h, idx)); in dbuf_hash_insert()193 mutex_exit(DBUF_HASH_MUTEX(h, idx)); in dbuf_hash_insert()203 mutex_exit(DBUF_HASH_MUTEX(h, idx)); in dbuf_hash_insert()229 mutex_enter(DBUF_HASH_MUTEX(h, idx)); in dbuf_hash_remove()237 mutex_exit(DBUF_HASH_MUTEX(h, idx)); in dbuf_hash_remove()