Home
last modified time | relevance | path

Searched refs:sk_lock (Results 1 – 21 of 21) sorted by relevance

/linux/net/llc/
A Dllc_proc.c41 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()
A Dllc_conn.c703 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()
A Dllc_core.c41 spin_lock_init(&sap->sk_lock); in llc_sap_alloc()
A Dllc_sap.c399 spin_lock_bh(&sap->sk_lock); in llc_sap_mcast()
415 spin_unlock_bh(&sap->sk_lock); in llc_sap_mcast()
/linux/include/net/
A Dsock.h394 socket_lock_t sk_lock; member
1608 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 …]
A Dllc.h65 spinlock_t sk_lock; member
/linux/net/core/
A Dsock.c2735 __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 …]
A Dsock_map.c117 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire()
125 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
/linux/net/l2tp/
A Dl2tp_ppp.c119 struct mutex sk_lock; /* Protects .sk */ member
453 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 …]
A Dl2tp_core.c1514 lockdep_set_class_and_name(&sk->sk_lock.slock, &l2tp_socket_class, in l2tp_tunnel_register()
/linux/net/rxrpc/
A Dsendmsg.c578 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg()
620 __releases(&rx->sk.sk_lock.slock) in rxrpc_do_sendmsg()
A Dcall_object.c255 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call()
/linux/net/mptcp/
A Dprotocol.h275 #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)
A Dprotocol.c973 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()
/linux/net/ipv6/
A Dicmp.c118 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmpv6_xmit_lock()
130 spin_unlock(&sk->sk_lock.slock); in icmpv6_xmit_unlock()
/linux/net/ipv4/
A Dicmp.c214 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock()
225 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
A Dtcp_minisocks.c827 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
A Dinet_connection_sock.c1028 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
/linux/net/sctp/
A Dinput.c553 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
/linux/net/tipc/
A Dsocket.c2495 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()
/linux/net/ceph/
A Dmessenger.c451 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()

Completed in 69 milliseconds