| /linux/net/llc/ |
| H A D | llc_proc.c | 35 spin_lock_bh(&sap->sk_lock); in llc_get_sk_idx() 46 spin_unlock_bh(&sap->sk_lock); in llc_get_sk_idx() 96 spin_unlock_bh(&sap->sk_lock); in llc_seq_next() 98 spin_lock_bh(&sap->sk_lock); in llc_seq_next() 102 spin_unlock_bh(&sap->sk_lock); in llc_seq_next() 115 spin_unlock_bh(&sap->sk_lock); in llc_seq_stop()
|
| H A D | llc_conn.c | 709 spin_lock_bh(&sap->sk_lock); in llc_sap_add_socket() 714 spin_unlock_bh(&sap->sk_lock); in llc_sap_add_socket() 729 spin_lock_bh(&sap->sk_lock); 733 spin_unlock_bh(&sap->sk_lock); in llc_sap_remove_socket()
|
| H A D | llc_sap.c | 397 spin_lock_bh(&sap->sk_lock); in llc_sap_mcast() 413 spin_unlock_bh(&sap->sk_lock); in llc_sap_mcast()
|
| H A D | llc_core.c | 35 spin_lock_init(&sap->sk_lock); in llc_sap_alloc()
|
| /linux/include/net/ |
| H A D | sock.h | 249 * @sk_lock: synchronizer 473 socket_lock_t sk_lock; member 1687 * Mark both the sk_lock and the sk_lock.slock as a 1693 sk->sk_lock.owned = 0; \ 1694 init_waitqueue_head(&sk->sk_lock.wq); \ 1695 spin_lock_init(&(sk)->sk_lock.slock); \ 1696 debug_check_no_locks_freed((void *)&(sk)->sk_lock, \ 1697 sizeof((sk)->sk_lock)); \ 1698 lockdep_set_class_and_name(&(sk)->sk_lock [all...] |
| H A D | llc.h | 59 spinlock_t sk_lock; 65 spinlock_t sk_lock; global() member
|
| H A D | af_vsock.h | 169 /* sk_lock held by the caller */
|
| /linux/net/bluetooth/ |
| H A D | af_bluetooth.c | 47 "sk_lock-AF_BLUETOOTH-BTPROTO_L2CAP", 48 "sk_lock-AF_BLUETOOTH-BTPROTO_HCI", 49 "sk_lock-AF_BLUETOOTH-BTPROTO_SCO", 50 "sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM", 51 "sk_lock-AF_BLUETOOTH-BTPROTO_BNEP", 52 "sk_lock-AF_BLUETOOTH-BTPROTO_CMTP", 53 "sk_lock-AF_BLUETOOTH-BTPROTO_HIDP", 54 "sk_lock-AF_BLUETOOTH-BTPROTO_AVDTP", 55 "sk_lock-AF_BLUETOOTH-BTPROTO_ISO",
|
| H A D | l2cap_sock.c | 1501 * establish sk_lock -> conn->lock and invert the established in l2cap_sock_cleanup_listen() 1502 * conn->lock -> chan->lock -> sk_lock order (lockdep deadlock). in l2cap_sock_cleanup_listen()
|
| /linux/net/core/ |
| H A D | sock.c | 245 _sock_locks("sk_lock-") 255 _sock_locks("k-sk_lock-") 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() 2181 * Initialize an sk_lock. in sock_lock_init() 2183 * (We also register the sk_lock with the lock validator.) in sock_lock_init() 3224 __releases(&sk->sk_lock.slock) in __release_sock() 3225 __acquires(&sk->sk_lock.slock) in __release_sock() 3230 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, in __release_sock() 3232 spin_unlock_bh(&sk->sk_lock in __release_sock() [all...] |
| H A D | sock_map.c | 118 __acquires(&sk->sk_lock.slock) in sock_map_sk_acquire() 125 __releases(&sk->sk_lock.slock) in sock_map_sk_release()
|
| /linux/net/l2tp/ |
| H A D | l2tp_ppp.c | 120 struct mutex sk_lock; /* Protects .sk */ 395 mutex_lock(&ps->sk_lock); in pppol2tp_session_close() 397 lockdep_is_held(&ps->sk_lock)); in pppol2tp_session_close() 399 mutex_unlock(&ps->sk_lock); in pppol2tp_session_close() 523 mutex_init(&ps->sk_lock); in pppol2tp_session_init() 745 mutex_lock(&ps->sk_lock); in pppol2tp_connect() 747 lockdep_is_held(&ps->sk_lock)) || in pppol2tp_connect() 749 mutex_unlock(&ps->sk_lock); in pppol2tp_connect() 770 mutex_lock(&ps->sk_lock); in pppol2tp_connect() 773 mutex_unlock(&ps->sk_lock); in pppol2tp_connect() 119 struct mutex sk_lock; /* Protects .sk */ global() member [all...] |
| H A D | l2tp_core.c | 1262 spin_lock_nested(&sk->sk_lock.slock, L2TP_DEPTH_NESTING); in l2tp_xmit_core() 1320 spin_unlock(&sk->sk_lock.slock); in l2tp_xmit_core()
|
| /linux/net/vmw_vsock/ |
| H A D | diag.c | 29 /* Lock order dictates that sk_lock is acquired before in sk_diag_fill() 31 * sk_lock; sk is guaranteed to stay alive since vsock_table_lock is in sk_diag_fill()
|
| H A D | virtio_transport_common.c | 543 /* sk_lock is held by caller so no one else can dequeue. in virtio_transport_stream_do_peek() 598 /* sk_lock is held by caller so no one else can dequeue. in virtio_transport_stream_do_dequeue() 683 /* sk_lock is held by caller so no one else can dequeue. in virtio_transport_seqpacket_do_peek() 745 /* sk_lock is held by caller so no one else can dequeue. in virtio_transport_seqpacket_do_dequeue() 935 /* sk_lock held by the caller */ 1203 /* This function should be called with sk_lock held and SOCK_DONE set */
|
| H A D | virtio_transport.c | 415 /* vmci_transport.c doesn't take sk_lock here either. At least we're in virtio_vsock_reset_sock()
|
| /linux/drivers/net/ovpn/ |
| H A D | tcp.c | 352 spin_lock_nested(&sk->sk_lock.slock, OVPN_TCP_DEPTH_NESTING); in ovpn_tcp_send_skb() 365 spin_unlock(&sk->sk_lock.slock); in ovpn_tcp_send_skb()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_qp.c | 50 "sk_lock-AF_INET-RDMA-RXE-SEND", in rxe_reclassify_send_socket() 57 "sk_lock-AF_INET6-RDMA-RXE-SEND", in rxe_reclassify_send_socket()
|
| /linux/drivers/nvme/host/ |
| H A D | tcp.c | 179 * sk_lock -> mmap_lock (page fault) -> fs locks -> sk_lock 195 "sk_lock-AF_INET-NVME", 201 "sk_lock-AF_INET6-NVME",
|
| /linux/net/mptcp/ |
| H A D | protocol.h | 380 #define mptcp_data_lock(sk) spin_lock_bh(&(sk)->sk_lock.slock) 381 #define mptcp_data_unlock(sk) spin_unlock_bh(&(sk)->sk_lock.slock)
|
| /linux/net/ipv6/ |
| H A 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/net/ipv4/ |
| H A D | icmp.c | 212 if (unlikely(!spin_trylock(&sk->sk_lock.slock))) { in icmp_xmit_lock() 225 spin_unlock(&sk->sk_lock.slock); in icmp_xmit_unlock()
|
| /linux/net/rxrpc/ |
| H A D | call_object.c | 328 __releases(&rx->sk.sk_lock) in rxrpc_new_client_call()
|
| H A D | sendmsg.c | 611 __releases(&rx->sk.sk_lock) in rxrpc_new_client_call_for_sendmsg()
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_cm.c | 75 "sk_lock-AF_INET-RDMA-SIW", in siw_reclassify_socket() 82 "sk_lock-AF_INET6-RDMA-SIW", in siw_reclassify_socket()
|