Searched refs:vsock_sock (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/include/net/ |
D | af_vsock.h | 32 #define vsock_sk(__sk) ((struct vsock_sock *)__sk) 35 struct vsock_sock { struct 79 s64 vsock_stream_has_data(struct vsock_sock *vsk); argument 80 s64 vsock_stream_has_space(struct vsock_sock *vsk); 101 int (*init)(struct vsock_sock *, struct vsock_sock *); 102 void (*destruct)(struct vsock_sock *); 103 void (*release)(struct vsock_sock *); 106 int (*cancel_pkt)(struct vsock_sock *vsk); 109 int (*connect)(struct vsock_sock *); 112 int (*dgram_bind)(struct vsock_sock *, struct sockaddr_vm *); [all …]
|
/Linux-v4.19/include/linux/ |
D | virtio_vsock.h | 26 struct vsock_sock *vsk; 53 struct vsock_sock *vsk; 62 struct vsock_sock *vsk; 80 virtio_transport_stream_dequeue(struct vsock_sock *vsk, 85 virtio_transport_dgram_dequeue(struct vsock_sock *vsk, 89 s64 virtio_transport_stream_has_data(struct vsock_sock *vsk); 90 s64 virtio_transport_stream_has_space(struct vsock_sock *vsk); 92 int virtio_transport_do_socket_init(struct vsock_sock *vsk, 93 struct vsock_sock *psk); 94 u64 virtio_transport_get_buffer_size(struct vsock_sock *vsk); [all …]
|
/Linux-v4.19/net/vmw_vsock/ |
D | hyperv_transport.c | 95 struct vsock_sock *vsk; 294 struct vsock_sock *vsk = vsock_sk(sk); in hvs_channel_cb() 311 struct vsock_sock *vsk = vsock_sk(sk); in hvs_close_connection() 331 struct vsock_sock *vnew; in hvs_open_connection() 425 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init() 439 static int hvs_connect(struct vsock_sock *vsk) in hvs_connect() 455 static int hvs_shutdown(struct vsock_sock *vsk, int mode) in hvs_shutdown() 482 static void hvs_release(struct vsock_sock *vsk) in hvs_release() 501 static void hvs_destruct(struct vsock_sock *vsk) in hvs_destruct() 512 static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr) in hvs_dgram_bind() [all …]
|
D | virtio_transport_common.c | 149 static int virtio_transport_send_pkt_info(struct vsock_sock *vsk, in virtio_transport_send_pkt_info() 238 static int virtio_transport_send_credit_update(struct vsock_sock *vsk, in virtio_transport_send_credit_update() 252 virtio_transport_stream_do_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_do_dequeue() 304 virtio_transport_stream_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_dequeue() 316 virtio_transport_dgram_dequeue(struct vsock_sock *vsk, in virtio_transport_dgram_dequeue() 324 s64 virtio_transport_stream_has_data(struct vsock_sock *vsk) in virtio_transport_stream_has_data() 337 static s64 virtio_transport_has_space(struct vsock_sock *vsk) in virtio_transport_has_space() 349 s64 virtio_transport_stream_has_space(struct vsock_sock *vsk) in virtio_transport_stream_has_space() 362 int virtio_transport_do_socket_init(struct vsock_sock *vsk, in virtio_transport_do_socket_init() 363 struct vsock_sock *psk) in virtio_transport_do_socket_init() [all …]
|
D | vmci_transport_notify.c | 25 static bool vmci_transport_notify_waiting_write(struct vsock_sock *vsk) in vmci_transport_notify_waiting_write() 94 static bool vmci_transport_notify_waiting_read(struct vsock_sock *vsk) in vmci_transport_notify_waiting_read() 120 struct vsock_sock *vsk; in vmci_transport_handle_waiting_read() 150 struct vsock_sock *vsk; in vmci_transport_handle_waiting_write() 179 struct vsock_sock *vsk; in vmci_transport_handle_read() 191 struct vsock_sock *vsk; in send_waiting_read() 233 struct vsock_sock *vsk; in send_waiting_write() 269 struct vsock_sock *vsk; in vmci_transport_send_read_notification() 315 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_handle_wrote() 323 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_socket_init() [all …]
|
D | af_vsock.c | 128 .obj_size = sizeof(struct vsock_sock), 187 static int vsock_auto_bind(struct vsock_sock *vsk) in vsock_auto_bind() 211 struct vsock_sock *vsk) in __vsock_insert_bound() 218 struct vsock_sock *vsk) in __vsock_insert_connected() 224 static void __vsock_remove_bound(struct vsock_sock *vsk) in __vsock_remove_bound() 230 static void __vsock_remove_connected(struct vsock_sock *vsk) in __vsock_remove_connected() 238 struct vsock_sock *vsk; in __vsock_find_bound_socket() 250 struct vsock_sock *vsk; in __vsock_find_connected_socket() 263 static void vsock_insert_unbound(struct vsock_sock *vsk) in vsock_insert_unbound() 270 void vsock_insert_connected(struct vsock_sock *vsk) in vsock_insert_connected() [all …]
|
D | vmci_transport_notify_qstate.c | 26 static bool vmci_transport_notify_waiting_write(struct vsock_sock *vsk) in vmci_transport_notify_waiting_write() 100 struct vsock_sock *vsk = vsock_sk(sk); in vsock_block_update_write_window() 110 struct vsock_sock *vsk; in vmci_transport_send_read_notification() 150 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_socket_init() 158 static void vmci_transport_notify_pkt_socket_destruct(struct vsock_sock *vsk) in vmci_transport_notify_pkt_socket_destruct() 170 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_in() 192 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_out() 214 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_recv_init() 268 struct vsock_sock *vsk; in vmci_transport_notify_pkt_recv_post_dequeue() 317 struct vsock_sock *vsk; in vmci_transport_notify_pkt_send_post_enqueue() [all …]
|
D | vmci_transport.c | 276 struct vsock_sock *vsk; in vmci_transport_send_control_pkt() 431 static int vmci_transport_shutdown(struct vsock_sock *vsk, int mode) in vmci_transport_shutdown() 463 struct vsock_sock *vlistener; in vmci_transport_get_pending() 464 struct vsock_sock *vpending; in vmci_transport_get_pending() 498 static bool vmci_transport_is_trusted(struct vsock_sock *vsock, u32 peer_cid) in vmci_transport_is_trusted() 508 static bool vmci_transport_allow_dgram(struct vsock_sock *vsock, u32 peer_cid) in vmci_transport_allow_dgram() 598 struct vsock_sock *vsk; in vmci_transport_recv_dgram_cb() 659 struct vsock_sock *vsk; in vmci_transport_recv_stream_cb() 787 struct vsock_sock *vsk; in vmci_transport_handle_detach() 925 struct vsock_sock *vpending; in vmci_transport_recv_listen() [all …]
|
D | diag.c | 25 struct vsock_sock *vsk = vsock_sk(sk); in sk_diag_fill() 59 struct vsock_sock *vsk; in vsock_diag_dump()
|
D | vmci_transport_notify.h | 49 void (*socket_destruct) (struct vsock_sock *vsk);
|
D | virtio_transport.c | 219 virtio_transport_cancel_pkt(struct vsock_sock *vsk) in virtio_transport_cancel_pkt()
|
/Linux-v4.19/drivers/vhost/ |
D | vsock.c | 232 vhost_transport_cancel_pkt(struct vsock_sock *vsk) in vhost_transport_cancel_pkt() 559 struct vsock_sock *vsk = vsock_sk(sk); in vhost_vsock_reset_orphans()
|