/kernel/linux/linux-5.10/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() 198 !!sk->sk_backlog.tail, !!sk->sk_lock.owned); in llc_seq_core_show()
|
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()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 392 socket_lock_t sk_lock; member 1581 if (sk->sk_lock.owned) { in sock_release_ownership() 1582 sk->sk_lock.owned = 0; in sock_release_ownership() 1585 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in sock_release_ownership() 1598 sk->sk_lock.owned = 0; \ 1599 init_waitqueue_head(&sk->sk_lock.wq); \ 1600 spin_lock_init(&(sk)->sk_lock.slock); \ 1601 debug_check_no_locks_freed((void *)&(sk)->sk_lock, \ 1602 sizeof((sk)->sk_lock)); \ 1603 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \ [all …]
|
D | llc.h | 65 spinlock_t sk_lock; member
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 507 mutex_acquire(&sk->sk_lock.dep_map, 0, 1, _RET_IP_); in __sk_receive_skb() 511 mutex_release(&sk->sk_lock.dep_map, _RET_IP_); in __sk_receive_skb() 2508 __releases(&sk->sk_lock.slock) in __lock_sock() 2509 __acquires(&sk->sk_lock.slock) in __lock_sock() 2514 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, in __lock_sock() 2516 spin_unlock_bh(&sk->sk_lock.slock); in __lock_sock() 2518 spin_lock_bh(&sk->sk_lock.slock); in __lock_sock() 2522 finish_wait(&sk->sk_lock.wq, &wait); in __lock_sock() 2526 __releases(&sk->sk_lock.slock) in __release_sock() 2527 __acquires(&sk->sk_lock.slock) in __release_sock() [all …]
|
D | sock_map.c | 122 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire() 130 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ppp.c | 119 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() 763 lockdep_is_held(&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() [all …]
|
D | l2tp_core.c | 1517 lockdep_set_class_and_name(&sk->sk_lock.slock, &l2tp_socket_class, in l2tp_tunnel_register()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | sendmsg.c | 622 __releases(&rx->sk.sk_lock.slock) in rxrpc_new_client_call_for_sendmsg() 664 __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()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | sock.c | 73 spin_lock_bh(&sk->sk_lock.slock); in rfcomm_sk_state_change() 94 spin_unlock_bh(&sk->sk_lock.slock); in rfcomm_sk_state_change()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | icmp.c | 117 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmpv6_xmit_lock() 129 spin_unlock(&sk->sk_lock.slock); in icmpv6_xmit_unlock()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | icmp.c | 214 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock() 225 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
|
D | tcp_minisocks.c | 831 __releases(&((child)->sk_lock.slock)) in tcp_child_process()
|
D | inet_connection_sock.c | 913 __releases(&sk->sk_lock.slock) in inet_csk_prepare_forced_close()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | protocol.c | 597 if (READ_ONCE(sk->sk_lock.owned)) in move_skbs_to_msk() 600 if (unlikely(!spin_trylock_bh(&sk->sk_lock.slock))) in move_skbs_to_msk() 604 if (!READ_ONCE(sk->sk_lock.owned)) { in move_skbs_to_msk() 618 spin_unlock_bh(&sk->sk_lock.slock); in move_skbs_to_msk()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | input.c | 553 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | socket.c | 2492 if (likely(spin_trylock_bh(&sk->sk_lock.slock))) { in tipc_sk_rcv() 2494 spin_unlock_bh(&sk->sk_lock.slock); in tipc_sk_rcv()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | messenger.c | 472 lockdep_set_class(&sock->sk->sk_lock, &socket_class); in ceph_tcp_connect()
|