Lines Matching refs:mutex
427 /* sleep on the mutex */
543 static void __mutex_rt_init_generic(struct mutex *mutex)
545 rt_mutex_base_init(&mutex->rtmutex);
546 debug_check_no_locks_freed((void *)mutex, sizeof(*mutex));
549 static __always_inline int __mutex_lock_common(struct mutex *lock,
569 void mutex_rt_init_lockdep(struct mutex *mutex, const char *name, struct lock_class_key *key)
571 __mutex_rt_init_generic(mutex);
572 lockdep_init_map_wait(&mutex->dep_map, name, key, 0, LD_WAIT_SLEEP);
576 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass)
582 void __sched _mutex_lock_nest_lock(struct mutex *lock,
589 int __sched mutex_lock_interruptible_nested(struct mutex *lock,
596 int __sched _mutex_lock_killable(struct mutex *lock, unsigned int subclass,
603 void __sched mutex_lock_io_nested(struct mutex *lock, unsigned int subclass)
615 int __sched _mutex_trylock_nest_lock(struct mutex *lock,
632 void mutex_rt_init_generic(struct mutex *mutex)
634 __mutex_rt_init_generic(mutex);
638 void __sched mutex_lock(struct mutex *lock)
644 int __sched mutex_lock_interruptible(struct mutex *lock)
650 int __sched mutex_lock_killable(struct mutex *lock)
656 void __sched mutex_lock_io(struct mutex *lock)
665 int __sched mutex_trylock(struct mutex *lock)
675 void __sched mutex_unlock(struct mutex *lock)