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()
599 if (ww_ctx->acquired == 0) in __mutex_lock_common()
665 goto acquired; in __mutex_lock_common()
707 acquired: in __mutex_lock_common()
768 * possible. Returns 1 if the mutex has been acquired successfully, 0 otherwise.
773 * A mutex acquired with this function must be released with ww_mutex_unlock.
787 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
878 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
894 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
972 * @lock: The mutex to be acquired.
979 * Return: 0 if the lock was successfully acquired or %-EINTR if a
996 * @lock: The mutex to be acquired.
1003 * Return: 0 if the lock was successfully acquired or %-EINTR if a
1019 * @lock: The mutex to be acquired.
1074 * @lock: the mutex to be acquired
1077 * has been acquired successfully, and 0 on contention.
1084 * mutex must be released by the same task that acquired it.