Lines Matching full:w
98 * ww_mutex_init - initialize the w/w mutex
100 * @ww_class: the w/w class the mutex should belong to
102 * Initialize the w/w mutex to unlocked state and associate it with the given
103 * class. Static define macro for w/w mutex is not provided and this function
104 * is the only way to properly initialize the w/w mutex.
119 * ww_acquire_init - initialize a w/w acquire context
120 * @ctx: w/w acquire context to initialize
121 * @ww_class: w/w class of the context
123 * Initializes an context to acquire multiple mutexes of the given w/w class.
125 * Context-based w/w mutex acquiring can be done in any order whatsoever within
129 * Mixing of context-based w/w mutex acquiring and single w/w mutex locking can
131 * for the same w/w class when acquiring mutexes can also result in undetected
135 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
174 * Marks the end of the acquire phase, any further w/w mutex lock calls using
177 * Calling this function is optional, it is just useful to document w/w mutex
192 * ww_acquire_fini - releases a w/w acquire context
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.
224 * Lock the w/w mutex exclusively for this task.
226 * Deadlocks within a given w/w class of locks are detected and handled with the
233 * In the die case the caller must release all currently held w/w mutexes for
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
255 * Lock the w/w mutex exclusively for this task.
257 * Deadlocks within a given w/w class of locks are detected and handled with the
265 * In the die case the caller must release all currently held w/w mutexes for
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.
284 * ww_mutex_lock_slow - slowpath acquiring of the w/w mutex
286 * @ctx: w/w acquire context
288 * Acquires a w/w mutex with the given context after a die case. This function
291 * The caller must have released all w/w mutexes already acquired with the
294 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
298 * It is forbidden to call this function with any other w/w mutexes associated
303 * ww_mutex_lock directly. This function here is simply to help w/w mutex
318 * ww_mutex_lock_slow_interruptible - slowpath acquiring of the w/w mutex, interruptible
320 * @ctx: w/w acquire context
322 * Acquires a w/w mutex with the given context after a die case. This function
327 * The caller must have released all w/w mutexes already acquired with the
330 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
334 * It is forbidden to call this function with any other w/w mutexes associated
340 * w/w mutex locking code readability by clearly denoting the slowpath.
358 * ww_mutex_destroy - mark a w/w mutex unusable
373 * ww_mutex_is_locked - is the w/w mutex locked