| /linux/net/vmw_vsock/ |
| H A D | virtio_transport_common.c | 41 virtio_transport_get_ops(struct vsock_sock *vsk) in virtio_transport_get_ops() 221 struct vsock_sock *vsk; in virtio_transport_alloc_skb() local 299 static int virtio_transport_send_pkt_info(struct vsock_sock *vsk, in virtio_transport_send_pkt_info() 668 static int virtio_transport_send_credit_update(struct vsock_sock *vsk) in virtio_transport_send_credit_update() 680 virtio_transport_stream_do_peek(struct vsock_sock *vsk, in virtio_transport_stream_do_peek() 726 virtio_transport_stream_do_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_do_dequeue() 809 virtio_transport_seqpacket_do_peek(struct vsock_sock *vsk, in virtio_transport_seqpacket_do_peek() 866 static int virtio_transport_seqpacket_do_dequeue(struct vsock_sock *vsk, in virtio_transport_seqpacket_do_dequeue() 945 virtio_transport_stream_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_dequeue() 957 virtio_transport_seqpacket_dequeue(struct vsock_sock *vsk, in virtio_transport_seqpacket_dequeue() [all …]
|
| H A D | vmci_transport_notify.c | 15 #define PKT_FIELD(vsk, field_name) (vmci_trans(vsk)->notify.pkt.field_name) argument 17 static bool vmci_transport_notify_waiting_write(struct vsock_sock *vsk) in vmci_transport_notify_waiting_write() 86 static bool vmci_transport_notify_waiting_read(struct vsock_sock *vsk) in vmci_transport_notify_waiting_read() 112 struct vsock_sock *vsk; in vmci_transport_handle_waiting_read() local 142 struct vsock_sock *vsk; in vmci_transport_handle_waiting_write() local 171 struct vsock_sock *vsk; in vmci_transport_handle_read() local 183 struct vsock_sock *vsk; in send_waiting_read() local 225 struct vsock_sock *vsk; in send_waiting_write() local 261 struct vsock_sock *vsk; in vmci_transport_send_read_notification() local 307 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_handle_wrote() local [all …]
|
| H A D | hyperv_transport.c | 95 struct vsock_sock *vsk; member 250 struct vsock_sock *vsk = vsock_sk(sk); in hvs_channel_cb() local 261 static void hvs_do_close_lock_held(struct vsock_sock *vsk, in hvs_do_close_lock_held() 441 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init() 457 static int hvs_connect(struct vsock_sock *vsk) in hvs_connect() 485 static int hvs_shutdown(struct vsock_sock *vsk, int mode) in hvs_shutdown() 496 struct vsock_sock *vsk = in hvs_close_timeout() local 511 static bool hvs_close_lock_held(struct vsock_sock *vsk) in hvs_close_lock_held() 533 static void hvs_release(struct vsock_sock *vsk) in hvs_release() 542 static void hvs_destruct(struct vsock_sock *vsk) in hvs_destruct() [all …]
|
| H A D | af_vsock.c | 238 #define vsock_connected_sockets_vsk(vsk) \ argument 249 static int vsock_auto_bind(struct vsock_sock *vsk) in vsock_auto_bind() 272 struct vsock_sock *vsk) in __vsock_insert_bound() 279 struct vsock_sock *vsk) in __vsock_insert_connected() 285 static void __vsock_remove_bound(struct vsock_sock *vsk) in __vsock_remove_bound() 291 static void __vsock_remove_connected(struct vsock_sock *vsk) in __vsock_remove_connected() 300 struct vsock_sock *vsk; in __vsock_find_bound_socket_net() local 323 struct vsock_sock *vsk; in __vsock_find_connected_socket_net() local 339 static void vsock_insert_unbound(struct vsock_sock *vsk) in vsock_insert_unbound() 346 void vsock_insert_connected(struct vsock_sock *vsk) in vsock_insert_connected() [all …]
|
| H A D | vmci_transport.c | 286 struct vsock_sock *vsk; in vmci_transport_send_control_pkt() local 319 struct vsock_sock *vsk; in vmci_transport_send_reset() local 450 static int vmci_transport_shutdown(struct vsock_sock *vsk, int mode) in vmci_transport_shutdown() 616 struct vsock_sock *vsk; in vmci_transport_recv_dgram_cb() local 649 static bool vmci_transport_stream_allow(struct vsock_sock *vsk, u32 cid, in vmci_transport_stream_allow() 681 struct vsock_sock *vsk; in vmci_transport_recv_stream_cb() local 827 struct vsock_sock *vsk; in vmci_transport_handle_detach() local 1308 struct vsock_sock *vsk; in vmci_transport_recv_connecting_client() local 1408 struct vsock_sock *vsk; in vmci_transport_recv_connecting_client_negotiate() local 1529 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_recv_connecting_client_invalid() local [all …]
|
| H A D | vmci_transport_notify_qstate.c | 15 #define PKT_FIELD(vsk, field_name) \ argument 18 static bool vmci_transport_notify_waiting_write(struct vsock_sock *vsk) in vmci_transport_notify_waiting_write() 92 struct vsock_sock *vsk = vsock_sk(sk); in vsock_block_update_write_window() local 102 struct vsock_sock *vsk; in vmci_transport_send_read_notification() local 142 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_socket_init() local 150 static void vmci_transport_notify_pkt_socket_destruct(struct vsock_sock *vsk) in vmci_transport_notify_pkt_socket_destruct() 162 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_in() local 184 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_out() local 206 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_recv_init() local 260 struct vsock_sock *vsk; in vmci_transport_notify_pkt_recv_post_dequeue() local [all …]
|
| H A D | vsock_bpf.c | 27 struct vsock_sock *vsk = vsock_sk(sk); in vsock_has_data() local 80 struct vsock_sock *vsk; in vsock_bpf_recvmsg() local 152 struct vsock_sock *vsk; in vsock_bpf_update_proto() local
|
| H A D | diag.c | 17 struct vsock_sock *vsk = vsock_sk(sk); in sk_diag_fill() local 51 struct vsock_sock *vsk; in vsock_diag_dump() local
|
| H A D | virtio_transport.c | 280 virtio_transport_cancel_pkt(struct vsock_sock *vsk) in virtio_transport_cancel_pkt() 543 bool virtio_transport_stream_allow(struct vsock_sock *vsk, u32 cid, u32 port) in virtio_transport_stream_allow() 551 static bool virtio_transport_has_remote_cid(struct vsock_sock *vsk, u32 cid) in virtio_transport_has_remote_cid() 614 virtio_transport_seqpacket_allow(struct vsock_sock *vsk, u32 remote_cid) in virtio_transport_seqpacket_allow()
|
| /linux/drivers/vhost/ |
| H A D | vsock.c | 94 static bool vhost_transport_has_remote_cid(struct vsock_sock *vsk, u32 cid) in vhost_transport_has_remote_cid() 332 vhost_transport_cancel_pkt(struct vsock_sock *vsk) in vhost_transport_cancel_pkt() 445 vhost_transport_stream_allow(struct vsock_sock *vsk, u32 cid, u32 port) in vhost_transport_stream_allow() 505 static bool vhost_transport_seqpacket_allow(struct vsock_sock *vsk, in vhost_transport_seqpacket_allow() 752 struct vsock_sock *vsk = vsock_sk(sk); in vhost_vsock_reset_orphans() local
|
| /linux/include/net/ |
| H A D | af_vsock.h | 206 static inline bool __vsock_in_bound_table(struct vsock_sock *vsk) in __vsock_in_bound_table() 212 static inline bool __vsock_in_connected_table(struct vsock_sock *vsk) in __vsock_in_connected_table() 284 static inline bool vsock_net_mode_global(struct vsock_sock *vsk) in vsock_net_mode_global()
|