Searched refs:sk_lock (Results 1 – 21 of 21) sorted by relevance
/linux-6.6.21/net/llc/ |
D | llc_proc.c | 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()
|
D | llc_core.c | 41 spin_lock_init(&sap->sk_lock); in llc_sap_alloc()
|
D | llc_sap.c | 403 spin_lock_bh(&sap->sk_lock); in llc_sap_mcast() 419 spin_unlock_bh(&sap->sk_lock); in llc_sap_mcast()
|
D | llc_conn.c | 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()
|
/linux-6.6.21/include/net/ |
D | sock.h | 402 socket_lock_t sk_lock; member 1700 sk->sk_lock.owned = 0; \ 1701 init_waitqueue_head(&sk->sk_lock.wq); \ 1702 spin_lock_init(&(sk)->sk_lock.slock); \ 1703 debug_check_no_locks_freed((void *)&(sk)->sk_lock, \ 1704 sizeof((sk)->sk_lock)); \ 1705 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \ 1707 lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \ 1712 return lockdep_is_held(&sk->sk_lock) || in lockdep_sock_is_held() 1713 lockdep_is_held(&sk->sk_lock.slock); in lockdep_sock_is_held() [all …]
|
D | llc.h | 65 spinlock_t sk_lock; member
|
/linux-6.6.21/net/l2tp/ |
D | l2tp_ppp.c | 119 struct mutex sk_lock; /* Protects .sk */ member 452 mutex_lock(&ps->sk_lock); in pppol2tp_release() 454 lockdep_is_held(&ps->sk_lock)); in pppol2tp_release() 456 mutex_unlock(&ps->sk_lock); in pppol2tp_release() 549 mutex_init(&ps->sk_lock); in pppol2tp_session_init() 770 mutex_lock(&ps->sk_lock); in pppol2tp_connect() 772 lockdep_is_held(&ps->sk_lock)) || in pppol2tp_connect() 774 mutex_unlock(&ps->sk_lock); in pppol2tp_connect() 793 mutex_lock(&ps->sk_lock); in pppol2tp_connect() 796 mutex_unlock(&ps->sk_lock); in pppol2tp_connect() [all …]
|
/linux-6.6.21/net/core/ |
D | sock.c | 570 mutex_acquire(&sk->sk_lock.dep_map, 0, 1, _RET_IP_); in __sk_receive_skb() 574 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in __sk_receive_skb() 2959 __releases(&sk->sk_lock.slock) in __lock_sock() 2960 __acquires(&sk->sk_lock.slock) in __lock_sock() 2965 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, in __lock_sock() 2967 spin_unlock_bh(&sk->sk_lock.slock); in __lock_sock() 2969 spin_lock_bh(&sk->sk_lock.slock); in __lock_sock() 2973 finish_wait(&sk->sk_lock.wq, &wait); in __lock_sock() 2977 __releases(&sk->sk_lock.slock) in __release_sock() 2978 __acquires(&sk->sk_lock.slock) in __release_sock() [all …]
|
D | sock_map.c | 115 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire() 122 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
|
/linux-6.6.21/net/rxrpc/ |
D | sendmsg.c | 571 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg() 612 __releases(&rx->sk.sk_lock.slock) in rxrpc_do_sendmsg()
|
D | call_object.c | 341 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call()
|
/linux-6.6.21/net/ipv6/ |
D | icmp.c | 108 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmpv6_xmit_lock() 122 spin_unlock(&sk->sk_lock.slock); in icmpv6_xmit_unlock()
|
/linux-6.6.21/net/mptcp/ |
D | protocol.h | 333 #define mptcp_data_lock(sk) spin_lock_bh(&(sk)->sk_lock.slock) 334 #define mptcp_data_unlock(sk) spin_unlock_bh(&(sk)->sk_lock.slock)
|
D | protocol.c | 1064 lockdep_assert_held_once(&sk->sk_lock.slock); in __mptcp_clean_una_wakeup() 3435 __must_hold(&sk->sk_lock.slock) in mptcp_release_cb() 3457 spin_unlock_bh(&sk->sk_lock.slock); in mptcp_release_cb() 3467 spin_lock_bh(&sk->sk_lock.slock); in mptcp_release_cb()
|
D | subflow.c | 1835 mutex_release(&listener_sk->sk_lock.dep_map, _RET_IP_); in mptcp_subflow_queue_clean() 1837 mutex_acquire(&listener_sk->sk_lock.dep_map, 0, 0, _RET_IP_); in mptcp_subflow_queue_clean()
|
/linux-6.6.21/net/ipv4/ |
D | icmp.c | 204 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock() 217 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
|
D | tcp_minisocks.c | 869 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
|
D | inet_connection_sock.c | 1218 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
|
/linux-6.6.21/net/sctp/ |
D | input.c | 542 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
|
/linux-6.6.21/net/tipc/ |
D | socket.c | 2499 if (likely(spin_trylock_bh(&sk->sk_lock.slock))) { in tipc_sk_rcv() 2501 spin_unlock_bh(&sk->sk_lock.slock); in tipc_sk_rcv()
|
/linux-6.6.21/net/ceph/ |
D | messenger.c | 456 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()
|