Searched refs:use_global_lock (Results 1 – 1 of 1) sorted by relevance
124 unsigned int use_global_lock;/* >0: global lock required */ member316 if (sma->use_global_lock > 0) { in complexmode_enter()322 sma->use_global_lock = USE_GLOBAL_LOCK_HYSTERESIS; in complexmode_enter()325 sma->use_global_lock = USE_GLOBAL_LOCK_HYSTERESIS; in complexmode_enter()346 if (sma->use_global_lock == 1) { in complexmode_tryleave()353 smp_store_release(&sma->use_global_lock, 0); in complexmode_tryleave()355 sma->use_global_lock--; in complexmode_tryleave()396 if (!sma->use_global_lock) { in sem_lock()404 if (!smp_load_acquire(&sma->use_global_lock)) { in sem_lock()414 if (sma->use_global_lock == 0) { in sem_lock()[all …]