Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/locking/
H A Dmutex.c408 struct ww_acquire_ctx *hold_ctx) in __ww_mutex_wound() argument
419 if (!hold_ctx) in __ww_mutex_wound()
430 if (ww_ctx->acquired > 0 && __ww_ctx_stamp_after(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
431 hold_ctx->wounded = 1; in __ww_mutex_wound()
827 struct ww_acquire_ctx *hold_ctx = READ_ONCE(ww->ctx); in __ww_mutex_check_kill() local
840 if (hold_ctx && __ww_ctx_stamp_after(ctx, hold_ctx)) in __ww_mutex_check_kill()