• Home
  • Raw
  • Download

Lines Matching refs:ww_ctx

38 					struct ww_acquire_ctx *ww_ctx)  in __ww_mutex_add_waiter()  argument
44 struct ww_acquire_ctx *ww_ctx) in __ww_mutex_check_waiters() argument
49 struct ww_acquire_ctx *ww_ctx) in ww_mutex_lock_acquired() argument
55 struct ww_acquire_ctx *ww_ctx) in __ww_mutex_check_kill() argument
435 if (aw->ww_ctx) { in __waiter_less()
436 if (!bw->ww_ctx) in __waiter_less()
439 return (signed long)(aw->ww_ctx->stamp - in __waiter_less()
440 bw->ww_ctx->stamp) < 0; in __waiter_less()
739 if (IS_ENABLED(CONFIG_PREEMPT_RT) && waiter->ww_ctx && detect_deadlock) in rt_mutex_adjust_prio_chain()
814 if (IS_ENABLED(CONFIG_PREEMPT_RT) && orig_waiter && orig_waiter->ww_ctx) in rt_mutex_adjust_prio_chain()
1140 struct ww_acquire_ctx *ww_ctx, in task_blocks_on_rt_mutex() argument
1162 if (owner == task && !(build_ww_mutex() && ww_ctx)) in task_blocks_on_rt_mutex()
1165 trace_android_vh_task_blocks_on_rtmutex(lock, waiter, task, ww_ctx, &chwalk); in task_blocks_on_rt_mutex()
1180 if (build_ww_mutex() && ww_ctx) { in task_blocks_on_rt_mutex()
1185 res = __ww_mutex_add_waiter(waiter, rtm, ww_ctx); in task_blocks_on_rt_mutex()
1535 struct ww_acquire_ctx *ww_ctx, in rt_mutex_slowlock_block() argument
1559 if (build_ww_mutex() && ww_ctx) { in rt_mutex_slowlock_block()
1560 ret = __ww_mutex_check_kill(rtm, waiter, ww_ctx); in rt_mutex_slowlock_block()
1593 if (build_ww_mutex() && w->ww_ctx) in rt_mutex_handle_deadlock()
1615 struct ww_acquire_ctx *ww_ctx, in __rt_mutex_slowlock() argument
1628 if (build_ww_mutex() && ww_ctx) { in __rt_mutex_slowlock()
1629 __ww_mutex_check_waiters(rtm, ww_ctx); in __rt_mutex_slowlock()
1630 ww_mutex_lock_acquired(ww, ww_ctx); in __rt_mutex_slowlock()
1639 ret = task_blocks_on_rt_mutex(lock, waiter, current, ww_ctx, chwalk); in __rt_mutex_slowlock()
1641 ret = rt_mutex_slowlock_block(lock, ww_ctx, state, NULL, waiter); in __rt_mutex_slowlock()
1645 if (build_ww_mutex() && ww_ctx) { in __rt_mutex_slowlock()
1646 if (!ww_ctx->is_wait_die) in __rt_mutex_slowlock()
1647 __ww_mutex_check_waiters(rtm, ww_ctx); in __rt_mutex_slowlock()
1648 ww_mutex_lock_acquired(ww, ww_ctx); in __rt_mutex_slowlock()
1668 struct ww_acquire_ctx *ww_ctx, in __rt_mutex_slowlock_locked() argument
1675 waiter.ww_ctx = ww_ctx; in __rt_mutex_slowlock_locked()
1677 ret = __rt_mutex_slowlock(lock, ww_ctx, state, RT_MUTEX_MIN_CHAINWALK, in __rt_mutex_slowlock_locked()
1691 struct ww_acquire_ctx *ww_ctx, in rt_mutex_slowlock() argument
1706 ret = __rt_mutex_slowlock_locked(lock, ww_ctx, state); in rt_mutex_slowlock()