Home
last modified time | relevance | path

Searched refs:hold_ctx (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/locking/
H A Dww_mutex.h302 struct ww_acquire_ctx *hold_ctx) in __ww_mutex_wound() argument
313 if (!hold_ctx) in __ww_mutex_wound()
324 if (ww_ctx->acquired > 0 && __ww_ctx_less(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
325 hold_ctx->wounded = 1; in __ww_mutex_wound()
445 struct ww_acquire_ctx *hold_ctx = READ_ONCE(ww->ctx); in __ww_mutex_check_kill() local
458 if (hold_ctx && __ww_ctx_less(ctx, hold_ctx)) in __ww_mutex_check_kill()