Lines Matching full:acquired
253 * @lock: the mutex to be acquired
259 * acquired it. Recursive locking is not allowed. The task
313 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
592 if (ww_ctx->acquired == 0) in __mutex_lock_common()
658 goto acquired; in __mutex_lock_common()
701 acquired: in __mutex_lock_common()
762 * possible. Returns 1 if the mutex has been acquired successfully, 0 otherwise.
767 * A mutex acquired with this function must be released with ww_mutex_unlock.
781 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
872 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
888 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
965 * @lock: The mutex to be acquired.
972 * Return: 0 if the lock was successfully acquired or %-EINTR if a
989 * @lock: The mutex to be acquired.
996 * Return: 0 if the lock was successfully acquired or %-EINTR if a
1012 * @lock: The mutex to be acquired.
1067 * @lock: the mutex to be acquired
1070 * has been acquired successfully, and 0 on contention.
1077 * mutex must be released by the same task that acquired it.