Searched refs:sk_lock (Results 1 – 22 of 22) sorted by relevance
41 spin_lock_bh(&sap->sk_lock); in llc_get_sk_idx()52 spin_unlock_bh(&sap->sk_lock); in llc_get_sk_idx()102 spin_unlock_bh(&sap->sk_lock); in llc_seq_next()104 spin_lock_bh(&sap->sk_lock); in llc_seq_next()108 spin_unlock_bh(&sap->sk_lock); in llc_seq_next()121 spin_unlock_bh(&sap->sk_lock); in llc_seq_stop()
41 spin_lock_init(&sap->sk_lock); in llc_sap_alloc()
403 spin_lock_bh(&sap->sk_lock); in llc_sap_mcast()419 spin_unlock_bh(&sap->sk_lock); in llc_sap_mcast()
715 spin_lock_bh(&sap->sk_lock); in llc_sap_add_socket()720 spin_unlock_bh(&sap->sk_lock); in llc_sap_add_socket()735 spin_lock_bh(&sap->sk_lock); in llc_sap_remove_socket()739 spin_unlock_bh(&sap->sk_lock); in llc_sap_remove_socket()
444 socket_lock_t sk_lock; member1591 sk->sk_lock.owned = 0; \1595 sizeof((sk)->sk_lock)); \1603 return lockdep_is_held(&sk->sk_lock) || in lockdep_sock_is_held()1665 __releases(&sk->sk_lock.slock) in unlock_sock_fast()1669 __release(&sk->sk_lock.slock); in unlock_sock_fast()1672 spin_unlock_bh(&sk->sk_lock.slock); in unlock_sock_fast()1712 return sk->sk_lock.owned; in sock_owned_by_user()1717 return sk->sk_lock.owned; in sock_owned_by_user_nocheck()1723 sk->sk_lock.owned = 0; in sock_release_ownership()[all …]
65 spinlock_t sk_lock; member
119 struct mutex sk_lock; /* Protects .sk */ member405 mutex_lock(&ps->sk_lock); in pppol2tp_session_close()407 lockdep_is_held(&ps->sk_lock)); in pppol2tp_session_close()409 mutex_unlock(&ps->sk_lock); in pppol2tp_session_close()532 mutex_init(&ps->sk_lock); in pppol2tp_session_init()754 mutex_lock(&ps->sk_lock); in pppol2tp_connect()758 mutex_unlock(&ps->sk_lock); in pppol2tp_connect()779 mutex_lock(&ps->sk_lock); in pppol2tp_connect()782 mutex_unlock(&ps->sk_lock); in pppol2tp_connect()812 mutex_unlock(&ps->sk_lock); in pppol2tp_connect()[all …]
1259 spin_lock_nested(&sk->sk_lock.slock, L2TP_DEPTH_NESTING); in l2tp_xmit_core()1312 spin_unlock(&sk->sk_lock.slock); in l2tp_xmit_core()
3039 __releases(&sk->sk_lock.slock) in __lock_sock()3040 __acquires(&sk->sk_lock.slock) in __lock_sock()3057 __releases(&sk->sk_lock.slock) in __release_sock()3058 __acquires(&sk->sk_lock.slock) in __release_sock()3091 spin_lock_bh(&sk->sk_lock.slock); in __sk_flush_backlog()3614 spin_lock_bh(&sk->sk_lock.slock); in lock_sock_nested()3617 sk->sk_lock.owned = 1; in lock_sock_nested()3624 spin_lock_bh(&sk->sk_lock.slock); in release_sock()3634 wake_up(&sk->sk_lock.wq); in release_sock()3664 sk->sk_lock.owned = 1; in __lock_sock_fast()[all …]
118 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire()125 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
559 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg()609 __releases(&rx->sk.sk_lock.slock) in rxrpc_do_sendmsg()
326 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call()
108 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmpv6_xmit_lock()122 spin_unlock(&sk->sk_lock.slock); in icmpv6_xmit_unlock()
208 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock()221 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
920 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
1320 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
349 #define mptcp_data_lock(sk) spin_lock_bh(&(sk)->sk_lock.slock)350 #define mptcp_data_unlock(sk) spin_unlock_bh(&(sk)->sk_lock.slock)
1072 lockdep_assert_held_once(&sk->sk_lock.slock); in __mptcp_clean_una_wakeup()3453 __must_hold(&sk->sk_lock.slock) in mptcp_release_cb()3475 spin_unlock_bh(&sk->sk_lock.slock); in mptcp_release_cb()3485 spin_lock_bh(&sk->sk_lock.slock); in mptcp_release_cb()
1934 mutex_release(&listener_sk->sk_lock.dep_map, _RET_IP_); in mptcp_subflow_queue_clean()1936 mutex_acquire(&listener_sk->sk_lock.dep_map, 0, 0, _RET_IP_); in mptcp_subflow_queue_clean()
542 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
2494 if (likely(spin_trylock_bh(&sk->sk_lock.slock))) { in tipc_sk_rcv()2496 spin_unlock_bh(&sk->sk_lock.slock); in tipc_sk_rcv()
456 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()