Lines Matching refs:hat_lock
316 * ``hat_lock'' is a hashed mutex lock for protecting sfmmu TSB lists,
326 hatlock_t hat_lock[SFMMU_NUM_LOCK];
344 (tsb_hash_debug ? &hat_lock[0] : \
345 &hat_lock[PTR_HASH(sfmmup) & (SFMMU_NUM_LOCK-1)])
347 #define TSB_HASH(sfmmup) &hat_lock[PTR_HASH(sfmmup) & (SFMMU_NUM_LOCK-1)]
1445 mutex_init(HATLOCK_MUTEXP(&hat_lock[i]), NULL, MUTEX_DEFAULT,
1727 * hat_lock, but fail, because cnum == nctxs, and therefore also trap and block
1728 * on hat_lock trying to wrap. sfmmu_ctxdom_lock() must be called before CPUs
1737 * return failure. Or, they will be blocked trying to acquire hat_lock. Thus
1796 * hat_lock is always taken before calling it.
1800 * acquire a new context when we later drop hat_lock after migration.
10845 mutex_enter(HATLOCK_MUTEXP(&hat_lock[i]));
10853 mutex_exit(HATLOCK_MUTEXP(&hat_lock[i]));