Searched refs:vsock_sock (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/include/net/ |
D | af_vsock.h | 25 #define vsock_sk(__sk) ((struct vsock_sock *)__sk) 28 struct vsock_sock { struct 78 s64 vsock_connectible_has_data(struct vsock_sock *vsk); argument 79 s64 vsock_stream_has_data(struct vsock_sock *vsk); 80 s64 vsock_stream_has_space(struct vsock_sock *vsk); 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 *); [all …]
|
/linux-6.12.1/include/linux/ |
D | virtio_vsock.h | 127 struct vsock_sock *vsk; 149 struct vsock_sock *vsk; 176 virtio_transport_stream_dequeue(struct vsock_sock *vsk, 181 virtio_transport_dgram_dequeue(struct vsock_sock *vsk, 186 virtio_transport_seqpacket_enqueue(struct vsock_sock *vsk, 190 virtio_transport_seqpacket_dequeue(struct vsock_sock *vsk, 193 s64 virtio_transport_stream_has_data(struct vsock_sock *vsk); 194 s64 virtio_transport_stream_has_space(struct vsock_sock *vsk); 195 u32 virtio_transport_seqpacket_has_data(struct vsock_sock *vsk); 197 ssize_t virtio_transport_unsent_bytes(struct vsock_sock *vsk); [all …]
|
/linux-6.12.1/net/vmw_vsock/ |
D | hyperv_transport.c | 95 struct vsock_sock *vsk; 158 static bool hvs_check_transport(struct vsock_sock *vsk); 250 struct vsock_sock *vsk = vsock_sk(sk); in hvs_channel_cb() 261 static void hvs_do_close_lock_held(struct vsock_sock *vsk, in hvs_do_close_lock_held() 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() 486 static int hvs_shutdown(struct vsock_sock *vsk, int mode) in hvs_shutdown() 497 struct vsock_sock *vsk = in hvs_close_timeout() 498 container_of(work, struct vsock_sock, close_work.work); in hvs_close_timeout() [all …]
|
D | virtio_transport_common.c | 30 virtio_transport_get_ops(struct vsock_sock *vsk) in virtio_transport_get_ops() 71 static int virtio_transport_init_zcopy_skb(struct vsock_sock *vsk, in virtio_transport_init_zcopy_skb() 253 struct vsock_sock *vsk; in virtio_transport_alloc_skb() 325 static int virtio_transport_send_pkt_info(struct vsock_sock *vsk, in virtio_transport_send_pkt_info() 472 struct vsock_sock *vs = vsock_sk(s); in virtio_transport_consume_skb_sent() 518 static int virtio_transport_send_credit_update(struct vsock_sock *vsk) in virtio_transport_send_credit_update() 529 virtio_transport_stream_do_peek(struct vsock_sock *vsk, in virtio_transport_stream_do_peek() 576 virtio_transport_stream_do_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_do_dequeue() 657 virtio_transport_seqpacket_do_peek(struct vsock_sock *vsk, in virtio_transport_seqpacket_do_peek() 714 static int virtio_transport_seqpacket_do_dequeue(struct vsock_sock *vsk, in virtio_transport_seqpacket_do_dequeue() [all …]
|
D | vmci_transport_notify.c | 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() 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() [all …]
|
D | af_vsock.c | 125 .obj_size = sizeof(struct vsock_sock), 188 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() 256 struct vsock_sock *vsk; in __vsock_find_connected_socket() 269 static void vsock_insert_unbound(struct vsock_sock *vsk) in vsock_insert_unbound() 276 void vsock_insert_connected(struct vsock_sock *vsk) in vsock_insert_connected() [all …]
|
D | vmci_transport_notify_qstate.c | 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() 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() 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() 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() [all …]
|
D | vmci_transport.c | 60 static bool vmci_check_transport(struct vsock_sock *vsk); 286 struct vsock_sock *vsk; in vmci_transport_send_control_pkt() 319 struct vsock_sock *vsk; in vmci_transport_send_reset() 450 static int vmci_transport_shutdown(struct vsock_sock *vsk, int mode) in vmci_transport_shutdown() 482 struct vsock_sock *vlistener; in vmci_transport_get_pending() 483 struct vsock_sock *vpending; in vmci_transport_get_pending() 517 static bool vmci_transport_is_trusted(struct vsock_sock *vsock, u32 peer_cid) in vmci_transport_is_trusted() 527 static bool vmci_transport_allow_dgram(struct vsock_sock *vsock, u32 peer_cid) in vmci_transport_allow_dgram() 616 struct vsock_sock *vsk; in vmci_transport_recv_dgram_cb() 677 struct vsock_sock *vsk; in vmci_transport_recv_stream_cb() [all …]
|
D | vsock_bpf.c | 27 struct vsock_sock *vsk = vsock_sk(sk); in vsock_has_data() 143 struct vsock_sock *vsk; in vsock_bpf_update_proto()
|
D | diag.c | 17 struct vsock_sock *vsk = vsock_sk(sk); in sk_diag_fill() 51 struct vsock_sock *vsk; in vsock_diag_dump()
|
D | vmci_transport_notify.h | 40 void (*socket_destruct) (struct vsock_sock *vsk);
|
D | vsock_loopback.c | 40 static int vsock_loopback_cancel_pkt(struct vsock_sock *vsk) in vsock_loopback_cancel_pkt()
|
D | virtio_transport.c | 277 virtio_transport_cancel_pkt(struct vsock_sock *vsk) in virtio_transport_cancel_pkt()
|
/linux-6.12.1/drivers/vhost/ |
D | vsock.c | 299 vhost_transport_cancel_pkt(struct vsock_sock *vsk) in vhost_transport_cancel_pkt() 702 struct vsock_sock *vsk = vsock_sk(sk); in vhost_vsock_reset_orphans()
|