Searched refs:sk_lock (Results 1 – 21 of 21) sorted by relevance
/linux-6.1.9/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_conn.c | 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()
|
D | llc_sap.c | 399 spin_lock_bh(&sap->sk_lock); in llc_sap_mcast() 415 spin_unlock_bh(&sap->sk_lock); in llc_sap_mcast()
|
/linux-6.1.9/include/net/ |
D | sock.h | 398 socket_lock_t sk_lock; member 1701 sk->sk_lock.owned = 0; \ 1702 init_waitqueue_head(&sk->sk_lock.wq); \ 1703 spin_lock_init(&(sk)->sk_lock.slock); \ 1704 debug_check_no_locks_freed((void *)&(sk)->sk_lock, \ 1705 sizeof((sk)->sk_lock)); \ 1706 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \ 1708 lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \ 1713 return lockdep_is_held(&sk->sk_lock) || in lockdep_sock_is_held() 1714 lockdep_is_held(&sk->sk_lock.slock); in lockdep_sock_is_held() [all …]
|
D | llc.h | 65 spinlock_t sk_lock; member
|
/linux-6.1.9/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() 760 mutex_lock(&ps->sk_lock); in pppol2tp_connect() 762 lockdep_is_held(&ps->sk_lock)) || in pppol2tp_connect() 764 mutex_unlock(&ps->sk_lock); in pppol2tp_connect() 783 mutex_lock(&ps->sk_lock); in pppol2tp_connect() 786 mutex_unlock(&ps->sk_lock); in pppol2tp_connect() [all …]
|
/linux-6.1.9/net/core/ |
D | sock.c | 563 mutex_acquire(&sk->sk_lock.dep_map, 0, 1, _RET_IP_); in __sk_receive_skb() 567 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in __sk_receive_skb() 2873 __releases(&sk->sk_lock.slock) in __lock_sock() 2874 __acquires(&sk->sk_lock.slock) in __lock_sock() 2879 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, in __lock_sock() 2881 spin_unlock_bh(&sk->sk_lock.slock); in __lock_sock() 2883 spin_lock_bh(&sk->sk_lock.slock); in __lock_sock() 2887 finish_wait(&sk->sk_lock.wq, &wait); in __lock_sock() 2891 __releases(&sk->sk_lock.slock) in __release_sock() 2892 __acquires(&sk->sk_lock.slock) in __release_sock() [all …]
|
D | sock_map.c | 117 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire() 125 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
|
/linux-6.1.9/net/rxrpc/ |
D | sendmsg.c | 605 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg() 647 __releases(&rx->sk.sk_lock.slock) in rxrpc_do_sendmsg()
|
D | call_object.c | 275 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call()
|
/linux-6.1.9/net/mptcp/ |
D | protocol.h | 314 #define mptcp_data_lock(sk) spin_lock_bh(&(sk)->sk_lock.slock) 315 #define mptcp_data_unlock(sk) spin_unlock_bh(&(sk)->sk_lock.slock)
|
D | protocol.c | 1056 lockdep_assert_held_once(&sk->sk_lock.slock); in __mptcp_clean_una_wakeup() 3250 __must_hold(&sk->sk_lock.slock) in mptcp_release_cb() 3269 spin_unlock_bh(&sk->sk_lock.slock); in mptcp_release_cb() 3278 spin_lock_bh(&sk->sk_lock.slock); in mptcp_release_cb()
|
D | subflow.c | 1798 mutex_release(&listener_sk->sk_lock.dep_map, _RET_IP_); in mptcp_subflow_queue_clean() 1800 mutex_acquire(&listener_sk->sk_lock.dep_map, in mptcp_subflow_queue_clean()
|
/linux-6.1.9/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.1.9/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 | 848 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
|
D | inet_connection_sock.c | 1193 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
|
/linux-6.1.9/net/sctp/ |
D | input.c | 555 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
|
/linux-6.1.9/net/ceph/ |
D | messenger.c | 451 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()
|
/linux-6.1.9/net/tipc/ |
D | socket.c | 2496 if (likely(spin_trylock_bh(&sk->sk_lock.slock))) { in tipc_sk_rcv() 2498 spin_unlock_bh(&sk->sk_lock.slock); in tipc_sk_rcv()
|