Home
last modified time | relevance | path

Searched refs:slock (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dspinlock_up.h27 #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()
Dspinlock_rt.h19 #define spin_lock_init(slock) \ argument
23 rt_mutex_base_init(&(slock)->lock); \
24 __rt_spin_lock_init(slock, #slock, &__key, false); \
27 #define local_spin_lock_init(slock) \ argument
31 rt_mutex_base_init(&(slock)->lock); \
32 __rt_spin_lock_init(slock, #slock, &__key, true); \
Dspinlock_types_up.h18 volatile unsigned int slock; member
Dpm_domain.h197 spinlock_t slock; member
/include/media/
Ddvb_vb2.h100 spinlock_t slock; member
/include/net/
Dsock.h99 spinlock_t slock; member
1717 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 …]
/include/media/drv-intf/
Dsaa7146.h125 spinlock_t slock; member