Lines Matching full:acquire
119 * ww_acquire_init - initialize a w/w acquire context
120 * @ctx: w/w acquire context to initialize
123 * Initializes an context to acquire multiple mutexes of the given w/w class.
135 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
138 * An acquire context must be released with ww_acquire_fini by the same task
171 * ww_acquire_done - marks the end of the acquire phase
172 * @ctx: the acquire context
174 * Marks the end of the acquire phase, any further w/w mutex lock calls using
178 * code and clearly designated the acquire phase from actually using the locked
192 * ww_acquire_fini - releases a w/w acquire context
193 * @ctx: the acquire context to free
195 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
220 * ww_mutex_lock - acquire the w/w mutex
222 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
229 * for backing off by returning -EDEADLK (die case). Trying to acquire the
235 * calling ww_mutex_lock_slow. Alternatively callers can opt to not acquire this
236 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
244 * of the same w/w lock class as was used to initialize the acquire context.
251 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
253 * @ctx: w/w acquire context
260 * for backing off by returning -EDEADLK (die case). Trying to acquire the
268 * not acquire this lock and proceed with trying to acquire further w/w mutexes
276 * of the same w/w lock class as was used to initialize the acquire context.
286 * @ctx: w/w acquire context
294 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
320 * @ctx: w/w acquire context
330 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it