• Home
  • Raw
  • Download

Lines Matching full:w

86  * ww_mutex_init - initialize the w/w mutex
88 * @ww_class: the w/w class the mutex should belong to
90 * Initialize the w/w mutex to unlocked state and associate it with the given
106 * ww_acquire_init - initialize a w/w acquire context
107 * @ctx: w/w acquire context to initialize
108 * @ww_class: w/w class of the context
110 * Initializes an context to acquire multiple mutexes of the given w/w class.
112 * Context-based w/w mutex acquiring can be done in any order whatsoever within
116 * Mixing of context-based w/w mutex acquiring and single w/w mutex locking can
118 * for the same w/w class when acquiring mutexes can also result in undetected
122 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
158 * Marks the end of the acquire phase, any further w/w mutex lock calls using
161 * Calling this function is optional, it is just useful to document w/w mutex
176 * ww_acquire_fini - releases a w/w acquire context
179 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
202 * ww_mutex_lock - acquire the w/w mutex
204 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
206 * Lock the w/w mutex exclusively for this task.
208 * Deadlocks within a given w/w class of locks are detected and handled with the
215 * In the die case the caller must release all currently held w/w mutexes for
218 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
226 * of the same w/w lock class as was used to initialize the acquire context.
233 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
235 * @ctx: w/w acquire context
237 * Lock the w/w mutex exclusively for this task.
239 * Deadlocks within a given w/w class of locks are detected and handled with the
247 * In the die case the caller must release all currently held w/w mutexes for
250 * not acquire this lock and proceed with trying to acquire further w/w mutexes
258 * of the same w/w lock class as was used to initialize the acquire context.
266 * ww_mutex_lock_slow - slowpath acquiring of the w/w mutex
268 * @ctx: w/w acquire context
270 * Acquires a w/w mutex with the given context after a die case. This function
273 * The caller must have released all w/w mutexes already acquired with the
276 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
280 * It is forbidden to call this function with any other w/w mutexes associated
285 * ww_mutex_lock directly. This function here is simply to help w/w mutex
300 * ww_mutex_lock_slow_interruptible - slowpath acquiring of the w/w mutex, interruptible
302 * @ctx: w/w acquire context
304 * Acquires a w/w mutex with the given context after a die case. This function
309 * The caller must have released all w/w mutexes already acquired with the
312 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
316 * It is forbidden to call this function with any other w/w mutexes associated
322 * w/w mutex locking code readability by clearly denoting the slowpath.
337 * ww_mutex_trylock - tries to acquire the w/w mutex without acquire context
349 * ww_mutex_destroy - mark a w/w mutex unusable
362 * ww_mutex_is_locked - is the w/w mutex locked