Lines Matching refs:rtm
14 struct rt_mutex *rtm = &lock->base; in ww_mutex_trylock() local
17 return rt_mutex_trylock(rtm); in ww_mutex_trylock()
27 if (__rt_mutex_trylock(&rtm->rtmutex)) { in ww_mutex_trylock()
29 mutex_acquire_nest(&rtm->dep_map, 0, 1, &ww_ctx->dep_map, _RET_IP_); in ww_mutex_trylock()
42 struct rt_mutex *rtm = &lock->base; in __ww_rt_mutex_lock() local
63 mutex_acquire_nest(&rtm->dep_map, 0, 0, nest_lock, ip); in __ww_rt_mutex_lock()
65 if (likely(rt_mutex_cmpxchg_acquire(&rtm->rtmutex, NULL, current))) { in __ww_rt_mutex_lock()
71 ret = rt_mutex_slowlock(&rtm->rtmutex, ww_ctx, state); in __ww_rt_mutex_lock()
74 mutex_release(&rtm->dep_map, ip); in __ww_rt_mutex_lock()
94 struct rt_mutex *rtm = &lock->base; in ww_mutex_unlock() local
98 mutex_release(&rtm->dep_map, _RET_IP_); in ww_mutex_unlock()
99 __rt_mutex_unlock(&rtm->rtmutex); in ww_mutex_unlock()