Lines Matching defs:lock

319 	 * because spindump/WARN/etc from under console ->lock will
708 struct mutex lock;
797 ret = mutex_lock_interruptible(&user->lock);
844 mutex_unlock(&user->lock);
929 mutex_init(&user->lock);
943 mutex_destroy(&user->lock);
1848 * ready to hand over the lock at the end of the section.
1853 * Do not use spinning in panic(). The panic CPU wants to keep the lock.
1880 * safe to start busy waiting for the lock. Second, it checks if
1881 * there is a busy waiter and passes the lock rights to her.
1883 * Important: Callers lose both the console_lock and the SRCU read lock if
1885 * console_lock or SRCU read lock in this case.
1887 * Return: 1 if the lock rights were passed, 0 otherwise.
1925 * Preserve lockdep lock ordering. Release the SRCU read lock before
1944 * is ready to lose the lock.
1946 * Return: 1 if we got the lock, 0 othrewise
2002 * The owner passed the console lock to us.
2003 * Since we did not spin on console lock, annotate
2667 * Acquires a lock which guarantees that no consoles will
2689 * Try to acquire a lock which guarantees that no consoles will
2692 * returns 1 on success, and 0 on failure to acquire the lock.
2875 * console_lock and the SRCU read lock. Otherwise it is set to false.
2877 * @cookie is the cookie from the SRCU read lock.
2882 * Requires the console_lock and the SRCU read lock.
2997 * If a handover has occurred, the SRCU read lock
3036 * the output prior to releasing the lock.
3111 * console lock, which in particular can be dangerous if
3138 * Attempting to trylock the console lock can deadlock
3210 * Ignore the console lock and flush out the messages. Attempting a
3220 * If another context is holding the console lock,
3898 * Context: Process context. May sleep while acquiring console lock.
4319 * Try to obtain lock on console subsystem and replay all
4321 * Does nothing if lock is not obtained.
4341 * spinning lock is not owned by any CPU.
4355 * spinning lock.
4357 * If no processor has the lock, the calling processor takes the lock and
4359 * lock, this function succeeds immediately.
4372 * Guarantee loads and stores from this CPU when it is the lock owner
4373 * are _not_ visible to the previous lock owner. This pairs with
4410 * __printk_cpu_sync_put() - Release the printk cpu-reentrant spinning lock.
4412 * The calling processor must be the owner of the lock.
4430 * lock owner are visible to the next lock owner. This pairs