Lines Matching full:acquired
60 unsigned int acquired; member
139 ctx->acquired = 0; in ww_acquire_init()
184 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
193 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
203 ctx->acquired = ~0U; in ww_acquire_fini()
209 * @lock: the mutex to be acquired
219 * returning -EALREADY. Returns 0 if the mutex was successfully acquired.
228 * acquired it. The task may not exit without first unlocking the mutex. Also,
234 * A mutex acquired with this function must be released with ww_mutex_unlock.
240 * @lock: the mutex to be acquired
250 * returning -EALREADY. Returns 0 if the mutex was successfully acquired. If a
260 * acquired it. The task may not exit without first unlocking the mutex. Also,
266 * A mutex acquired with this function must be released with ww_mutex_unlock.
273 * @lock: the mutex to be acquired
279 * The caller must have released all w/w mutexes already acquired with the
307 * @lock: the mutex to be acquired
312 * been acquired. If a signal arrives while waiting for the lock then this
315 * The caller must have released all w/w mutexes already acquired with the
347 * possible. Returns 1 if the mutex has been acquired successfully, 0 otherwise.