Lines Matching defs:slock
99 spinlock_t slock;
105 * the slock as a lock variant (in addition to
106 * the slock itself):
1614 * Mark both the sk_lock and the sk_lock.slock as a
1621 spin_lock_init(&(sk)->sk_lock.slock); \
1624 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \
1633 lockdep_is_held(&sk->sk_lock.slock);
1648 #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock))
1650 spin_lock_nested(&((__sk)->sk_lock.slock), \
1652 #define bh_unlock_sock(__sk) spin_unlock(&((__sk)->sk_lock.slock))
1668 spin_unlock_bh(&sk->sk_lock.slock);
1715 return !sk->sk_lock.owned && !spin_is_locked(&sk->sk_lock.slock);