Searched refs:slock (Results 1 – 7 of 7) sorted by relevance
27 #define arch_spin_is_locked(x) ((x)->slock == 0)31 lock->slock = 0; in arch_spin_lock()37 char oldval = lock->slock; in arch_spin_trylock()39 lock->slock = 0; in arch_spin_trylock()48 lock->slock = 1; in arch_spin_unlock()
19 #define spin_lock_init(slock) \ argument23 rt_mutex_base_init(&(slock)->lock); \24 __rt_spin_lock_init(slock, #slock, &__key, false); \27 #define local_spin_lock_init(slock) \ argument31 rt_mutex_base_init(&(slock)->lock); \32 __rt_spin_lock_init(slock, #slock, &__key, true); \
18 volatile unsigned int slock; member
197 spinlock_t slock; member
100 spinlock_t slock; member
99 spinlock_t slock; member1717 spin_lock_init(&(sk)->sk_lock.slock); \1720 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \1728 lockdep_is_held(&sk->sk_lock.slock); in lockdep_sock_is_held()1743 #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock))1745 spin_lock_nested(&((__sk)->sk_lock.slock), \1747 #define bh_unlock_sock(__sk) spin_unlock(&((__sk)->sk_lock.slock))1749 bool __lock_sock_fast(struct sock *sk) __acquires(&sk->sk_lock.slock);1789 __releases(&sk->sk_lock.slock) in unlock_sock_fast()1793 __release(&sk->sk_lock.slock); in unlock_sock_fast()[all …]
125 spinlock_t slock; member