Lines Matching full:acquired
237 * @lock: the mutex to be acquired
243 * acquired it. Recursive locking is not allowed. The task
297 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
576 if (ww_ctx->acquired == 0) in __mutex_lock_common()
642 goto acquired; in __mutex_lock_common()
685 acquired: in __mutex_lock_common()
746 * possible. Returns 1 if the mutex has been acquired successfully, 0 otherwise.
751 * A mutex acquired with this function must be released with ww_mutex_unlock.
765 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
856 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
872 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
949 * @lock: The mutex to be acquired.
956 * Return: 0 if the lock was successfully acquired or %-EINTR if a
973 * @lock: The mutex to be acquired.
980 * Return: 0 if the lock was successfully acquired or %-EINTR if a
996 * @lock: The mutex to be acquired.
1051 * @lock: the mutex to be acquired
1054 * has been acquired successfully, and 0 on contention.
1061 * mutex must be released by the same task that acquired it.