Lines Matching refs:mutex
499 void __mutex_rt_init(struct mutex *mutex, const char *name, in __mutex_rt_init() argument
502 debug_check_no_locks_freed((void *)mutex, sizeof(*mutex)); in __mutex_rt_init()
503 lockdep_init_map_wait(&mutex->dep_map, name, key, 0, LD_WAIT_SLEEP); in __mutex_rt_init()
507 static __always_inline int __mutex_lock_common(struct mutex *lock, in __mutex_lock_common()
526 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested()
532 void __sched _mutex_lock_nest_lock(struct mutex *lock, in _mutex_lock_nest_lock()
539 int __sched mutex_lock_interruptible_nested(struct mutex *lock, in mutex_lock_interruptible_nested()
546 int __sched mutex_lock_killable_nested(struct mutex *lock, in mutex_lock_killable_nested()
553 void __sched mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_io_nested()
567 void __sched mutex_lock(struct mutex *lock) in mutex_lock()
573 int __sched mutex_lock_interruptible(struct mutex *lock) in mutex_lock_interruptible()
579 int __sched mutex_lock_killable(struct mutex *lock) in mutex_lock_killable()
585 void __sched mutex_lock_io(struct mutex *lock) in mutex_lock_io()
595 int __sched mutex_trylock(struct mutex *lock) in mutex_trylock()
610 void __sched mutex_unlock(struct mutex *lock) in mutex_unlock()