Lines Matching full:acquired
262 * @lock: the mutex to be acquired
268 * acquired it. Recursive locking is not allowed. The task
322 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
594 if (ww_ctx->acquired == 0) in __mutex_lock_common()
660 goto acquired; in __mutex_lock_common()
702 acquired: in __mutex_lock_common()
763 * possible. Returns 1 if the mutex has been acquired successfully, 0 otherwise.
768 * A mutex acquired with this function must be released with ww_mutex_unlock.
782 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
873 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
889 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
967 * @lock: The mutex to be acquired.
974 * Return: 0 if the lock was successfully acquired or %-EINTR if a
991 * @lock: The mutex to be acquired.
998 * Return: 0 if the lock was successfully acquired or %-EINTR if a
1014 * @lock: The mutex to be acquired.
1069 * @lock: the mutex to be acquired
1072 * has been acquired successfully, and 0 on contention.
1079 * mutex must be released by the same task that acquired it.