Lines Matching refs:ctx
98 * @ctx: the locking context
108 * object may be locked by itself by passing NULL as @ctx.
111 struct ww_acquire_ctx *ctx)
113 return ww_mutex_lock(&obj->lock, ctx);
119 * @ctx: the locking context
129 * object may be locked by itself by passing NULL as @ctx.
132 struct ww_acquire_ctx *ctx)
134 return ww_mutex_lock_interruptible(&obj->lock, ctx);
140 * @ctx: the locking context
147 struct ww_acquire_ctx *ctx)
149 ww_mutex_lock_slow(&obj->lock, ctx);
156 * @ctx: the locking context
163 struct ww_acquire_ctx *ctx)
165 return ww_mutex_lock_slow_interruptible(&obj->lock, ctx);
207 return READ_ONCE(obj->lock.ctx);