Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/locking/
Dmutex.c364 struct ww_acquire_ctx *hold_ctx) in __ww_mutex_wound() argument
375 if (!hold_ctx) in __ww_mutex_wound()
386 if (ww_ctx->acquired > 0 && __ww_ctx_stamp_after(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
387 hold_ctx->wounded = 1; in __ww_mutex_wound()
782 struct ww_acquire_ctx *hold_ctx = READ_ONCE(ww->ctx); in __ww_mutex_check_kill() local
795 if (hold_ctx && __ww_ctx_stamp_after(ctx, hold_ctx)) in __ww_mutex_check_kill()