Searched refs:wounded (Results 1 – 5 of 5) sorted by relevance
25 ww_ctx->wounded = 0; in ww_mutex_trylock()57 ww_ctx->wounded = 0; in __ww_rt_mutex_lock()
171 * The newer transactions are wounded when:325 hold_ctx->wounded = 1; in __ww_mutex_wound() 330 * it's wounded in __ww_mutex_check_kill() or has a in __ww_mutex_wound() 331 * wakeup pending to re-read the wounded state. in __ww_mutex_wound() 432 * Wound-Wait: If we're wounded, kill ourself.452 if (ctx->wounded) in __ww_mutex_check_kill()
600 ww_ctx->wounded = 0; in __mutex_lock_common()788 ww_ctx->wounded = 0; in ww_mutex_trylock()
59 unsigned short wounded; member138 ctx->wounded = false; in ww_acquire_init()
51 algorithm in that transactions are wounded by other transactions, and that52 requires a reliable way to pick up the wounded condition and preempt the351 The wounded status of the transaction is checked only when there is353 situation, if the transaction is wounded, it backs off, clears the354 wounded status and retries. A great benefit of implementing preemption in355 this way is that the wounded transaction can identify a contending lock to