Searched refs:use_global_lock (Results 1 – 2 of 2) sorted by relevance
124 unsigned int use_global_lock;/* >0: global lock required */ member341 if (sma->use_global_lock > 0) { in complexmode_enter()347 WRITE_ONCE(sma->use_global_lock, USE_GLOBAL_LOCK_HYSTERESIS); in complexmode_enter()350 WRITE_ONCE(sma->use_global_lock, USE_GLOBAL_LOCK_HYSTERESIS); in complexmode_enter()371 if (sma->use_global_lock == 1) { in complexmode_tryleave()374 smp_store_release(&sma->use_global_lock, 0); in complexmode_tryleave()376 WRITE_ONCE(sma->use_global_lock, in complexmode_tryleave()377 sma->use_global_lock-1); in complexmode_tryleave()418 if (!READ_ONCE(sma->use_global_lock)) { in sem_lock()426 if (!smp_load_acquire(&sma->use_global_lock)) { in sem_lock()[all …]
1 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io}