Home
last modified time | relevance | path

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

/kernel/locking/
Dmutex.c109 static __always_inline void ww_mutex_lock_acquired(struct ww_mutex *ww, in ww_mutex_lock_acquired() argument
119 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired()
131 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
144 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
326 struct ww_mutex *ww; in mutex_optimistic_spin() local
328 ww = container_of(lock, struct ww_mutex, base); in mutex_optimistic_spin()
337 if (READ_ONCE(ww->ctx)) in mutex_optimistic_spin()
354 struct ww_mutex *ww; in mutex_optimistic_spin() local
355 ww = container_of(lock, struct ww_mutex, base); in mutex_optimistic_spin()
357 ww_mutex_set_context_fastpath(ww, ww_ctx); in mutex_optimistic_spin()
[all …]