Lines Matching full:acquire

98  * ww_acquire_init - initialize a w/w acquire context
99 * @ctx: w/w acquire context to initialize
102 * Initializes an context to acquire multiple mutexes of the given w/w class.
114 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
117 * An acquire context must be released with ww_acquire_fini by the same task
147 * ww_acquire_done - marks the end of the acquire phase
148 * @ctx: the acquire context
150 * Marks the end of the acquire phase, any further w/w mutex lock calls using
154 * code and clearly designated the acquire phase from actually using the locked
168 * ww_acquire_fini - releases a w/w acquire context
169 * @ctx: the acquire context to free
171 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
194 * ww_mutex_lock - acquire the w/w mutex
196 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
203 * for backing off by returning -EDEADLK (die case). Trying to acquire the
209 * calling ww_mutex_lock_slow. Alternatively callers can opt to not acquire this
210 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
218 * of the same w/w lock class as was used to initialize the acquire context.
225 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
227 * @ctx: w/w acquire context
234 * for backing off by returning -EDEADLK (die case). Trying to acquire the
242 * not acquire this lock and proceed with trying to acquire further w/w mutexes
250 * of the same w/w lock class as was used to initialize the acquire context.
260 * @ctx: w/w acquire context
268 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
294 * @ctx: w/w acquire context
304 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
329 * ww_mutex_trylock - tries to acquire the w/w mutex without acquire context
332 * Trylocks a mutex without acquire context, so no deadlock detection is