Home
last modified time | relevance | path

Searched refs:sock_lock (Results 1 – 9 of 9) sorted by relevance

/linux/fs/dlm/
H A Dlowcomms.c79 struct rw_semaphore sock_lock; member
284 init_rwsem(&con->sock_lock); in dlm_con_init()
558 down_read(&con->sock_lock); in dlm_lowcomms_connect_node()
564 up_read(&con->sock_lock); in dlm_lowcomms_connect_node()
741 down_write(&con->sock_lock); in stop_connection_io()
747 up_write(&con->sock_lock); in stop_connection_io()
761 down_write(&con->sock_lock); in close_connection()
763 up_write(&con->sock_lock); in close_connection()
794 up_write(&con->sock_lock); in close_connection()
805 down_read(&con->sock_lock); in shutdown_connection()
[all …]
/linux/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod.c37 static DEFINE_MUTEX(sock_lock);
785 mutex_lock(&sock_lock); in bpf_kfunc_init_sock()
817 mutex_unlock(&sock_lock); in bpf_kfunc_init_sock()
824 mutex_lock(&sock_lock); in bpf_kfunc_close_sock()
831 mutex_unlock(&sock_lock); in bpf_kfunc_close_sock()
841 mutex_lock(&sock_lock); in bpf_kfunc_call_kernel_connect()
852 mutex_unlock(&sock_lock); in bpf_kfunc_call_kernel_connect()
864 mutex_lock(&sock_lock); in bpf_kfunc_call_kernel_bind()
874 mutex_unlock(&sock_lock); in bpf_kfunc_call_kernel_bind()
883 mutex_lock(&sock_lock); in bpf_kfunc_call_kernel_listen()
[all …]
/linux/drivers/scsi/
H A Discsi_tcp.c598 mutex_init(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_create()
658 mutex_lock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_release_conn()
660 mutex_unlock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_release_conn()
735 mutex_lock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_bind()
738 mutex_unlock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_bind()
774 mutex_lock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_set_param()
776 mutex_unlock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_set_param()
780 mutex_unlock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_set_param()
820 mutex_lock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_get_param()
834 mutex_unlock(&tcp_sw_conn->sock_lock); in iscsi_sw_tcp_conn_get_param()
[all …]
H A Discsi_tcp.h32 struct mutex sock_lock; member
/linux/drivers/net/vxlan/
H A Dvxlan_vnifilter.c47 spin_lock(&vn->sock_lock); in vxlan_vs_add_del_vninode()
71 spin_unlock(&vn->sock_lock); in vxlan_vs_add_del_vninode()
86 spin_lock(&vn->sock_lock); in vxlan_vs_add_vnigrp()
97 spin_unlock(&vn->sock_lock); in vxlan_vs_add_vnigrp()
109 spin_lock(&vn->sock_lock); in vxlan_vs_del_vnigrp()
116 spin_unlock(&vn->sock_lock); in vxlan_vs_del_vnigrp()
H A Dvxlan_core.c1516 spin_lock(&vn->sock_lock); in __vxlan_sock_release_prep()
1522 spin_unlock(&vn->sock_lock); in __vxlan_sock_release_prep()
2881 spin_lock(&vn->sock_lock); in vxlan_vs_del_dev()
2886 spin_unlock(&vn->sock_lock); in vxlan_vs_del_dev()
2896 spin_lock(&vn->sock_lock); in vxlan_vs_add_dev()
2898 spin_unlock(&vn->sock_lock); in vxlan_vs_add_dev()
3326 spin_lock(&vn->sock_lock); in vxlan_offload_rx_ports()
3342 spin_unlock(&vn->sock_lock); in vxlan_offload_rx_ports()
3597 spin_lock(&vn->sock_lock); in vxlan_socket_create()
3603 spin_unlock(&vn->sock_lock); in vxlan_socket_create()
[all …]
H A Dvxlan_private.h23 spinlock_t sock_lock; member
/linux/include/linux/soc/qcom/
H A Dqmi.h218 struct mutex sock_lock; member
/linux/arch/um/drivers/
H A Dvirtio_uml.c55 spinlock_t sock_lock; member
249 spin_lock_irqsave(&vu_dev->sock_lock, flags); in vhost_user_send()
269 spin_unlock_irqrestore(&vu_dev->sock_lock, flags); in vhost_user_send()
1242 spin_lock_init(&vu_dev->sock_lock); in virtio_uml_probe()