Lines Matching full:acquire

111  * ww_acquire_init - initialize a w/w acquire context
112 * @ctx: w/w acquire context to initialize
115 * Initializes an context to acquire multiple mutexes of the given w/w class.
127 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
130 * An acquire context must be released with ww_acquire_fini by the same task
160 * ww_acquire_done - marks the end of the acquire phase
161 * @ctx: the acquire context
163 * Marks the end of the acquire phase, any further w/w mutex lock calls using
167 * code and clearly designated the acquire phase from actually using the locked
181 * ww_acquire_fini - releases a w/w acquire context
182 * @ctx: the acquire context to free
184 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
208 * ww_mutex_lock - acquire the w/w mutex
210 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
217 * for backing off by returning -EDEADLK (die case). Trying to acquire the
223 * calling ww_mutex_lock_slow. Alternatively callers can opt to not acquire this
224 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
232 * of the same w/w lock class as was used to initialize the acquire context.
239 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
241 * @ctx: w/w acquire context
248 * for backing off by returning -EDEADLK (die case). Trying to acquire the
256 * not acquire this lock and proceed with trying to acquire further w/w mutexes
264 * of the same w/w lock class as was used to initialize the acquire context.
274 * @ctx: w/w acquire context
282 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
308 * @ctx: w/w acquire context
318 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
343 * ww_mutex_trylock - tries to acquire the w/w mutex without acquire context
346 * Trylocks a mutex without acquire context, so no deadlock detection is