Lines Matching full:acquire

109  * ww_acquire_init - initialize a w/w acquire context
110 * @ctx: w/w acquire context to initialize
113 * Initializes an context to acquire multiple mutexes of the given w/w class.
125 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
128 * An acquire context must be released with ww_acquire_fini by the same task
158 * ww_acquire_done - marks the end of the acquire phase
159 * @ctx: the acquire context
161 * Marks the end of the acquire phase, any further w/w mutex lock calls using
165 * code and clearly designated the acquire phase from actually using the locked
179 * ww_acquire_fini - releases a w/w acquire context
180 * @ctx: the acquire context to free
182 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
206 * ww_mutex_lock - acquire the w/w mutex
208 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
215 * for backing off by returning -EDEADLK (die case). Trying to acquire the
221 * calling ww_mutex_lock_slow. Alternatively callers can opt to not acquire this
222 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
230 * of the same w/w lock class as was used to initialize the acquire context.
237 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
239 * @ctx: w/w acquire context
246 * for backing off by returning -EDEADLK (die case). Trying to acquire the
254 * not acquire this lock and proceed with trying to acquire further w/w mutexes
262 * of the same w/w lock class as was used to initialize the acquire context.
272 * @ctx: w/w acquire context
280 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
306 * @ctx: w/w acquire context
316 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it