Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/locking/
Dmutex.c391 struct ww_acquire_ctx *hold_ctx) in __ww_mutex_wound() argument
402 if (!hold_ctx) in __ww_mutex_wound()
413 if (ww_ctx->acquired > 0 && __ww_ctx_stamp_after(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
414 hold_ctx->wounded = 1; in __ww_mutex_wound()
809 struct ww_acquire_ctx *hold_ctx = READ_ONCE(ww->ctx); in __ww_mutex_check_kill() local
822 if (hold_ctx && __ww_ctx_stamp_after(ctx, hold_ctx)) in __ww_mutex_check_kill()