Searched refs:sk_lock (Results 1 – 21 of 21) 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()198 !!sk->sk_backlog.tail, !!sk->sk_lock.owned); in llc_seq_core_show()
703 spin_lock_bh(&sap->sk_lock); in llc_sap_add_socket()708 spin_unlock_bh(&sap->sk_lock); in llc_sap_add_socket()723 spin_lock_bh(&sap->sk_lock); in llc_sap_remove_socket()727 spin_unlock_bh(&sap->sk_lock); in llc_sap_remove_socket()
41 spin_lock_init(&sap->sk_lock); in llc_sap_alloc()
399 spin_lock_bh(&sap->sk_lock); in llc_sap_mcast()415 spin_unlock_bh(&sap->sk_lock); in llc_sap_mcast()
394 socket_lock_t sk_lock; member1608 if (sk->sk_lock.owned) { in sock_release_ownership()1609 sk->sk_lock.owned = 0; in sock_release_ownership()1625 sk->sk_lock.owned = 0; \1629 sizeof((sk)->sk_lock)); \1699 __releases(&sk->sk_lock.slock) in unlock_sock_fast()1703 __release(&sk->sk_lock.slock); in unlock_sock_fast()1706 spin_unlock_bh(&sk->sk_lock.slock); in unlock_sock_fast()1734 return sk->sk_lock.owned; in sock_owned_by_user()1739 return sk->sk_lock.owned; in sock_owned_by_user_nocheck()[all …]
65 spinlock_t sk_lock; member
2735 __releases(&sk->sk_lock.slock) in __lock_sock()2736 __acquires(&sk->sk_lock.slock) in __lock_sock()2753 __releases(&sk->sk_lock.slock) in __release_sock()2754 __acquires(&sk->sk_lock.slock) in __release_sock()2787 spin_lock_bh(&sk->sk_lock.slock); in __sk_flush_backlog()3289 if (sk->sk_lock.owned) in lock_sock_nested()3291 sk->sk_lock.owned = 1; in lock_sock_nested()3310 wake_up(&sk->sk_lock.wq); in release_sock()3320 if (!sk->sk_lock.owned) { in __lock_sock_fast()3340 sk->sk_lock.owned = 1; in __lock_sock_fast()[all …]
117 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire()125 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
119 struct mutex sk_lock; /* Protects .sk */ member453 mutex_lock(&ps->sk_lock); in pppol2tp_release()455 lockdep_is_held(&ps->sk_lock)); in pppol2tp_release()457 mutex_unlock(&ps->sk_lock); in pppol2tp_release()550 mutex_init(&ps->sk_lock); in pppol2tp_session_init()761 mutex_lock(&ps->sk_lock); in pppol2tp_connect()765 mutex_unlock(&ps->sk_lock); in pppol2tp_connect()784 mutex_lock(&ps->sk_lock); in pppol2tp_connect()787 mutex_unlock(&ps->sk_lock); in pppol2tp_connect()817 mutex_unlock(&ps->sk_lock); in pppol2tp_connect()[all …]
1514 lockdep_set_class_and_name(&sk->sk_lock.slock, &l2tp_socket_class, in l2tp_tunnel_register()
578 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg()620 __releases(&rx->sk.sk_lock.slock) in rxrpc_do_sendmsg()
255 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call()
275 #define mptcp_data_lock(sk) spin_lock_bh(&(sk)->sk_lock.slock)276 #define mptcp_data_unlock(sk) spin_unlock_bh(&(sk)->sk_lock.slock)
973 lockdep_assert_held_once(&sk->sk_lock.slock); in __mptcp_mem_reclaim_partial()1072 lockdep_assert_held_once(&sk->sk_lock.slock); in __mptcp_clean_una_wakeup()2976 spin_unlock_bh(&sk->sk_lock.slock); in mptcp_release_cb()2983 spin_lock_bh(&sk->sk_lock.slock); in mptcp_release_cb()
118 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmpv6_xmit_lock()130 spin_unlock(&sk->sk_lock.slock); in icmpv6_xmit_unlock()
214 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock()225 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
827 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
1028 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
553 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
2495 if (likely(spin_trylock_bh(&sk->sk_lock.slock))) { in tipc_sk_rcv()2497 spin_unlock_bh(&sk->sk_lock.slock); in tipc_sk_rcv()
451 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()
Completed in 69 milliseconds