Home
last modified time | relevance | path

Searched refs:vsock_sock (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/include/net/
H A Daf_vsock.h28 struct vsock_sock { struct
111 int (*init)(struct vsock_sock *, struct vsock_sock *);
112 void (*destruct)(struct vsock_sock *);
113 void (*release)(struct vsock_sock *);
116 int (*cancel_pkt)(struct vsock_sock *vsk);
119 int (*connect)(struct vsock_sock *);
135 s64 (*stream_has_data)(struct vsock_sock *);
137 u64 (*stream_rcvhiwat)(struct vsock_sock *);
160 int (*notify_send_init)(struct vsock_sock *,
173 int (*shutdown)(struct vsock_sock *, int);
[all …]
/openbmc/linux/include/linux/
H A Dvirtio_vsock.h126 struct vsock_sock *vsk;
147 struct vsock_sock *vsk;
165 virtio_transport_stream_dequeue(struct vsock_sock *vsk,
170 virtio_transport_dgram_dequeue(struct vsock_sock *vsk,
187 struct vsock_sock *psk);
189 virtio_transport_notify_poll_in(struct vsock_sock *vsk,
219 int virtio_transport_dgram_bind(struct vsock_sock *vsk,
223 int virtio_transport_connect(struct vsock_sock *vsk);
227 void virtio_transport_release(struct vsock_sock *vsk);
230 virtio_transport_stream_enqueue(struct vsock_sock *vsk,
[all …]
/openbmc/linux/net/vmw_vsock/
H A Dhyperv_transport.c95 struct vsock_sock *vsk;
250 struct vsock_sock *vsk = vsock_sk(sk); in hvs_channel_cb()
302 struct vsock_sock *vnew = NULL; in hvs_open_connection()
442 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init()
458 static int hvs_connect(struct vsock_sock *vsk) in hvs_connect()
497 struct vsock_sock *vsk = in hvs_close_timeout()
534 static void hvs_release(struct vsock_sock *vsk) in hvs_release()
543 static void hvs_destruct(struct vsock_sock *vsk) in hvs_destruct()
566 static int hvs_dgram_enqueue(struct vsock_sock *vsk, in hvs_dgram_enqueue()
792 int hvs_notify_send_init(struct vsock_sock *vsk, in hvs_notify_send_init()
[all …]
H A Dvirtio_transport_common.c30 virtio_transport_get_ops(struct vsock_sock *vsk) in virtio_transport_get_ops()
710 struct vsock_sock *psk) in virtio_transport_do_socket_init()
869 int virtio_transport_connect(struct vsock_sock *vsk) in virtio_transport_connect()
1031 struct vsock_sock *vsk = in virtio_transport_close_timeout()
1103 struct vsock_sock *vsk = vsock_sk(sk); in virtio_transport_recv_connecting()
1198 struct vsock_sock *vsk = vsock_sk(sk); in virtio_transport_recv_connected()
1249 struct vsock_sock *vsk = vsock_sk(sk); in virtio_transport_recv_disconnecting()
1275 struct vsock_sock *vsk = vsock_sk(sk); in virtio_transport_space_update()
1302 struct vsock_sock *vsk = vsock_sk(sk); in virtio_transport_recv_listen()
1303 struct vsock_sock *vchild; in virtio_transport_recv_listen()
[all …]
H A Dvmci_transport_notify.c112 struct vsock_sock *vsk; in vmci_transport_handle_waiting_read()
142 struct vsock_sock *vsk; in vmci_transport_handle_waiting_write()
171 struct vsock_sock *vsk; in vmci_transport_handle_read()
183 struct vsock_sock *vsk; in send_waiting_read()
225 struct vsock_sock *vsk; in send_waiting_write()
261 struct vsock_sock *vsk; in vmci_transport_send_read_notification()
307 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_handle_wrote()
315 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_socket_init()
341 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_in()
480 struct vsock_sock *vsk; in vmci_transport_notify_pkt_recv_post_dequeue()
[all …]
H A Daf_vsock.c237 struct vsock_sock *vsk; in __vsock_find_bound_socket()
255 struct vsock_sock *vsk; in __vsock_find_connected_socket()
350 struct vsock_sock *vsk; in vsock_for_each_connected_socket()
439 int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk) in vsock_assign_transport()
582 struct vsock_sock *vsk; in vsock_pending_work()
735 struct vsock_sock *psk; in __vsock_create()
736 struct vsock_sock *vsk; in __vsock_create()
933 struct vsock_sock *vsk; in vsock_getname()
1027 struct vsock_sock *vsk; in vsock_poll()
1152 struct vsock_sock *vsk; in vsock_dgram_sendmsg()
[all …]
H A Dvmci_transport_notify_qstate.c18 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()
102 struct vsock_sock *vsk; in vmci_transport_send_read_notification()
142 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_socket_init()
162 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_in()
184 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_out()
206 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_recv_init()
260 struct vsock_sock *vsk; in vmci_transport_notify_pkt_recv_post_dequeue()
309 struct vsock_sock *vsk; in vmci_transport_notify_pkt_send_post_enqueue()
368 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_process_request()
[all …]
H A Dvmci_transport.c286 struct vsock_sock *vsk; in vmci_transport_send_control_pkt()
319 struct vsock_sock *vsk; in vmci_transport_send_reset()
616 struct vsock_sock *vsk; in vmci_transport_recv_dgram_cb()
677 struct vsock_sock *vsk; in vmci_transport_recv_stream_cb()
805 struct vsock_sock *vsk; in vmci_transport_handle_detach()
1280 struct vsock_sock *vsk; in vmci_transport_recv_connecting_client()
1380 struct vsock_sock *vsk; in vmci_transport_recv_connecting_client_negotiate()
1521 struct vsock_sock *vsk; in vmci_transport_recv_connected()
1695 struct vsock_sock *vsk, in vmci_transport_dgram_enqueue()
1829 struct vsock_sock *vsk, in vmci_transport_stream_dequeue()
[all …]
H A Ddiag.c17 struct vsock_sock *vsk = vsock_sk(sk); in sk_diag_fill()
51 struct vsock_sock *vsk; in vsock_diag_dump()
H A Dvsock_bpf.c27 struct vsock_sock *vsk = vsock_sk(sk); in vsock_has_data()
143 struct vsock_sock *vsk; in vsock_bpf_update_proto()
H A Dvmci_transport_notify.h40 void (*socket_destruct) (struct vsock_sock *vsk);
H A Dvsock_loopback.c40 static int vsock_loopback_cancel_pkt(struct vsock_sock *vsk) in vsock_loopback_cancel_pkt()
H A Dvirtio_transport.c191 virtio_transport_cancel_pkt(struct vsock_sock *vsk) in virtio_transport_cancel_pkt()
/openbmc/linux/drivers/vhost/
H A Dvsock.c295 vhost_transport_cancel_pkt(struct vsock_sock *vsk) in vhost_transport_cancel_pkt()
689 struct vsock_sock *vsk = vsock_sk(sk); in vhost_vsock_reset_orphans()