• Home
  • Raw
  • Download

Lines Matching refs:mutex

42 __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key)  in __mutex_init()
75 static inline struct task_struct *__mutex_owner(struct mutex *lock) in __mutex_owner()
85 bool mutex_is_locked(struct mutex *lock) in mutex_is_locked()
92 mutex_trylock_recursive(struct mutex *lock) in mutex_trylock_recursive()
109 static inline struct task_struct *__mutex_trylock_or_owner(struct mutex *lock) in __mutex_trylock_or_owner()
152 static inline bool __mutex_trylock(struct mutex *lock) in __mutex_trylock()
168 static __always_inline bool __mutex_trylock_fast(struct mutex *lock) in __mutex_trylock_fast()
181 static __always_inline bool __mutex_unlock_fast(struct mutex *lock) in __mutex_unlock_fast()
192 static inline void __mutex_set_flag(struct mutex *lock, unsigned long flag) in __mutex_set_flag()
197 static inline void __mutex_clear_flag(struct mutex *lock, unsigned long flag) in __mutex_clear_flag()
202 static inline bool __mutex_waiter_is_first(struct mutex *lock, struct mutex_waiter *waiter) in __mutex_waiter_is_first()
212 __mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, in __mutex_add_waiter()
226 __mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter) in __mutex_remove_waiter()
241 static void __mutex_handoff(struct mutex *lock, struct task_struct *task) in __mutex_handoff()
273 static void __sched __mutex_lock_slowpath(struct mutex *lock);
296 void __sched mutex_lock(struct mutex *lock) in mutex_lock()
384 __ww_mutex_die(struct mutex *lock, struct mutex_waiter *waiter, in __ww_mutex_die()
406 static bool __ww_mutex_wound(struct mutex *lock, in __ww_mutex_wound()
461 __ww_mutex_check_waiters(struct mutex *lock, struct ww_acquire_ctx *ww_ctx) in __ww_mutex_check_waiters()
519 bool ww_mutex_spin_on_owner(struct mutex *lock, struct ww_acquire_ctx *ww_ctx, in ww_mutex_spin_on_owner()
567 bool mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner, in mutex_spin_on_owner()
613 static inline int mutex_can_spin_on_owner(struct mutex *lock) in mutex_can_spin_on_owner()
663 mutex_optimistic_spin(struct mutex *lock, struct ww_acquire_ctx *ww_ctx, in mutex_optimistic_spin()
741 mutex_optimistic_spin(struct mutex *lock, struct ww_acquire_ctx *ww_ctx, in mutex_optimistic_spin()
748 static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigned long ip);
761 void __sched mutex_unlock(struct mutex *lock) in mutex_unlock()
806 __ww_mutex_kill(struct mutex *lock, struct ww_acquire_ctx *ww_ctx) in __ww_mutex_kill()
835 __ww_mutex_check_kill(struct mutex *lock, struct mutex_waiter *waiter, in __ww_mutex_check_kill()
883 struct mutex *lock, in __ww_mutex_add_waiter()
956 __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock_common()
1131 __mutex_lock(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock()
1138 __ww_mutex_lock(struct mutex *lock, long state, unsigned int subclass, in __ww_mutex_lock()
1147 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested()
1155 _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest) in _mutex_lock_nest_lock()
1162 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested()
1169 mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_interruptible_nested()
1176 mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_io_nested()
1253 static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigned long ip) in __mutex_unlock_slowpath()
1322 __mutex_lock_killable_slowpath(struct mutex *lock);
1325 __mutex_lock_interruptible_slowpath(struct mutex *lock);
1339 int __sched mutex_lock_interruptible(struct mutex *lock) in mutex_lock_interruptible()
1363 int __sched mutex_lock_killable(struct mutex *lock) in mutex_lock_killable()
1384 void __sched mutex_lock_io(struct mutex *lock) in mutex_lock_io()
1395 __mutex_lock_slowpath(struct mutex *lock) in __mutex_lock_slowpath()
1401 __mutex_lock_killable_slowpath(struct mutex *lock) in __mutex_lock_killable_slowpath()
1407 __mutex_lock_interruptible_slowpath(struct mutex *lock) in __mutex_lock_interruptible_slowpath()
1443 int __sched mutex_trylock(struct mutex *lock) in mutex_trylock()
1501 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) in atomic_dec_and_mutex_lock()