Lines Matching refs:__spin_lock_t
31 typedef unsigned int __spin_lock_t; typedef
38 extern void __spin_lock_init (__spin_lock_t *__lock);
42 __spin_lock_init (__spin_lock_t *__lock) in __spin_lock_init()
50 extern void __spin_lock_solid (__spin_lock_t *__lock);
54 extern void __spin_lock (__spin_lock_t *__lock);
58 __spin_lock (__spin_lock_t *__lock) in __spin_lock()
65 extern void __spin_unlock (__spin_lock_t *__lock);
69 __spin_unlock (__spin_lock_t *__lock) in __spin_unlock()
76 extern int __spin_try_lock (__spin_lock_t *__lock);
80 __spin_try_lock (__spin_lock_t *__lock) in __spin_try_lock()
87 extern int __spin_lock_locked (__spin_lock_t *__lock);
91 __spin_lock_locked (__spin_lock_t *__lock) in __spin_lock_locked()
93 return (*(volatile __spin_lock_t *)__lock != 0); in __spin_lock_locked()
99 __spin_lock_t __held;
100 __spin_lock_t __lock;
119 __spin_lock ((__spin_lock_t *)__lock); in __mutex_lock()
131 __spin_unlock ((__spin_lock_t *)__lock); in __mutex_unlock()
142 return (__spin_try_lock ((__spin_lock_t *)__lock)); in __mutex_trylock()