Searched refs:use_global_lock (Results 1 – 1 of 1) sorted by relevance
124 unsigned int use_global_lock;/* >0: global lock required */ member339 if (sma->use_global_lock > 0) { in complexmode_enter()345 sma->use_global_lock = USE_GLOBAL_LOCK_HYSTERESIS; in complexmode_enter()348 sma->use_global_lock = USE_GLOBAL_LOCK_HYSTERESIS; in complexmode_enter()369 if (sma->use_global_lock == 1) { in complexmode_tryleave()372 smp_store_release(&sma->use_global_lock, 0); in complexmode_tryleave()374 sma->use_global_lock--; in complexmode_tryleave()415 if (!sma->use_global_lock) { in sem_lock()423 if (!smp_load_acquire(&sma->use_global_lock)) { in sem_lock()433 if (sma->use_global_lock == 0) { in sem_lock()[all …]