Lines Matching full:acquire
106 * ww_acquire_init - initialize a w/w acquire context
107 * @ctx: w/w acquire context to initialize
110 * Initializes an context to acquire multiple mutexes of the given w/w class.
122 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
125 * An acquire context must be released with ww_acquire_fini by the same task
155 * ww_acquire_done - marks the end of the acquire phase
156 * @ctx: the acquire context
158 * Marks the end of the acquire phase, any further w/w mutex lock calls using
162 * code and clearly designated the acquire phase from actually using the locked
176 * ww_acquire_fini - releases a w/w acquire context
177 * @ctx: the acquire context to free
179 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
202 * ww_mutex_lock - acquire the w/w mutex
204 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
211 * for backing off by returning -EDEADLK (die case). Trying to acquire the
217 * calling ww_mutex_lock_slow. Alternatively callers can opt to not acquire this
218 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
226 * of the same w/w lock class as was used to initialize the acquire context.
233 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
235 * @ctx: w/w acquire context
242 * for backing off by returning -EDEADLK (die case). Trying to acquire the
250 * not acquire this lock and proceed with trying to acquire further w/w mutexes
258 * of the same w/w lock class as was used to initialize the acquire context.
268 * @ctx: w/w acquire context
276 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
302 * @ctx: w/w acquire context
312 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
337 * ww_mutex_trylock - tries to acquire the w/w mutex without acquire context
340 * Trylocks a mutex without acquire context, so no deadlock detection is