Lines Matching refs:sk_lock

526 		mutex_acquire(&sk->sk_lock.dep_map, 0, 1, _RET_IP_);  in __sk_receive_skb()
530 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in __sk_receive_skb()
2653 __releases(&sk->sk_lock.slock) in __lock_sock()
2654 __acquires(&sk->sk_lock.slock) in __lock_sock()
2659 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, in __lock_sock()
2661 spin_unlock_bh(&sk->sk_lock.slock); in __lock_sock()
2663 spin_lock_bh(&sk->sk_lock.slock); in __lock_sock()
2667 finish_wait(&sk->sk_lock.wq, &wait); in __lock_sock()
2671 __releases(&sk->sk_lock.slock) in __release_sock()
2672 __acquires(&sk->sk_lock.slock) in __release_sock()
2679 spin_unlock_bh(&sk->sk_lock.slock); in __release_sock()
2693 spin_lock_bh(&sk->sk_lock.slock); in __release_sock()
2705 spin_lock_bh(&sk->sk_lock.slock); in __sk_flush_backlog()
2707 spin_unlock_bh(&sk->sk_lock.slock); in __sk_flush_backlog()
3203 mutex_acquire(&sk->sk_lock.dep_map, subclass, 0, _RET_IP_); in lock_sock_nested()
3206 spin_lock_bh(&sk->sk_lock.slock); in lock_sock_nested()
3207 if (sk->sk_lock.owned) in lock_sock_nested()
3209 sk->sk_lock.owned = 1; in lock_sock_nested()
3210 spin_unlock_bh(&sk->sk_lock.slock); in lock_sock_nested()
3216 spin_lock_bh(&sk->sk_lock.slock); in release_sock()
3227 if (waitqueue_active(&sk->sk_lock.wq)) in release_sock()
3228 wake_up(&sk->sk_lock.wq); in release_sock()
3229 spin_unlock_bh(&sk->sk_lock.slock); in release_sock()
3233 bool __lock_sock_fast(struct sock *sk) __acquires(&sk->sk_lock.slock) in __lock_sock_fast()
3236 spin_lock_bh(&sk->sk_lock.slock); in __lock_sock_fast()
3238 if (!sk->sk_lock.owned) { in __lock_sock_fast()
3258 sk->sk_lock.owned = 1; in __lock_sock_fast()
3259 __acquire(&sk->sk_lock.slock); in __lock_sock_fast()
3260 spin_unlock_bh(&sk->sk_lock.slock); in __lock_sock_fast()