Home
last modified time | relevance | path

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

/linux-6.1.9/net/llc/
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()
Dllc_core.c41 spin_lock_init(&sap->sk_lock); in llc_sap_alloc()
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()
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-6.1.9/include/net/
Dsock.h398 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 …]
Dllc.h65 spinlock_t sk_lock; member
/linux-6.1.9/net/l2tp/
Dl2tp_ppp.c119 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/
Dsock.c563 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 …]
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-6.1.9/net/rxrpc/
Dsendmsg.c605 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg()
647 __releases(&rx->sk.sk_lock.slock) in rxrpc_do_sendmsg()
Dcall_object.c275 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call()
/linux-6.1.9/net/mptcp/
Dprotocol.h314 #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)
Dprotocol.c1056 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()
Dsubflow.c1798 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/
Dicmp.c108 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/
Dicmp.c204 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock()
217 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
Dtcp_minisocks.c848 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
Dinet_connection_sock.c1193 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
/linux-6.1.9/net/sctp/
Dinput.c555 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
/linux-6.1.9/net/ceph/
Dmessenger.c451 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()
/linux-6.1.9/net/tipc/
Dsocket.c2496 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()