/openbmc/linux/net/vmw_vsock/ |
H A D | virtio_transport_common.c | 33 virtio_transport_get_ops(struct vsock_sock *vsk) in virtio_transport_get_ops() 202 static int virtio_transport_send_pkt_info(struct vsock_sock *vsk, in virtio_transport_send_pkt_info() 340 static int virtio_transport_send_credit_update(struct vsock_sock *vsk) in virtio_transport_send_credit_update() 351 virtio_transport_stream_do_peek(struct vsock_sock *vsk, in virtio_transport_stream_do_peek() 397 virtio_transport_stream_do_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_do_dequeue() 476 virtio_transport_seqpacket_do_peek(struct vsock_sock *vsk, in virtio_transport_seqpacket_do_peek() 532 static int virtio_transport_seqpacket_do_dequeue(struct vsock_sock *vsk, in virtio_transport_seqpacket_do_dequeue() 609 virtio_transport_stream_dequeue(struct vsock_sock *vsk, in virtio_transport_stream_dequeue() 621 virtio_transport_seqpacket_dequeue(struct vsock_sock *vsk, in virtio_transport_seqpacket_dequeue() 633 virtio_transport_seqpacket_enqueue(struct vsock_sock *vsk, in virtio_transport_seqpacket_enqueue() [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 | af_vsock.c | 178 #define vsock_connected_sockets_vsk(vsk) \ argument 189 static int vsock_auto_bind(struct vsock_sock *vsk) in vsock_auto_bind() 212 struct vsock_sock *vsk) in __vsock_insert_bound() 219 struct vsock_sock *vsk) in __vsock_insert_connected() 225 static void __vsock_remove_bound(struct vsock_sock *vsk) in __vsock_remove_bound() 231 static void __vsock_remove_connected(struct vsock_sock *vsk) in __vsock_remove_connected() 239 struct vsock_sock *vsk; in __vsock_find_bound_socket() local 257 struct vsock_sock *vsk; in __vsock_find_connected_socket() local 270 static void vsock_insert_unbound(struct vsock_sock *vsk) in vsock_insert_unbound() 277 void vsock_insert_connected(struct vsock_sock *vsk) in vsock_insert_connected() [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() 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() local 512 static bool hvs_close_lock_held(struct vsock_sock *vsk) in hvs_close_lock_held() 534 static void hvs_release(struct vsock_sock *vsk) in hvs_release() 543 static void hvs_destruct(struct vsock_sock *vsk) in hvs_destruct() [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 | 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 677 struct vsock_sock *vsk; in vmci_transport_recv_stream_cb() local 805 struct vsock_sock *vsk; in vmci_transport_handle_detach() local 1280 struct vsock_sock *vsk; in vmci_transport_recv_connecting_client() local 1380 struct vsock_sock *vsk; in vmci_transport_recv_connecting_client_negotiate() local 1501 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_recv_connecting_client_invalid() local 1521 struct vsock_sock *vsk; in vmci_transport_recv_connected() 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 | vsock_loopback.c | 40 static int vsock_loopback_cancel_pkt(struct vsock_sock *vsk) in vsock_loopback_cancel_pkt()
|
H A D | virtio_transport.c | 191 virtio_transport_cancel_pkt(struct vsock_sock *vsk) in virtio_transport_cancel_pkt()
|
/openbmc/linux/include/linux/ |
H A D | virtio_vsock.h | 126 struct vsock_sock *vsk; member 147 struct vsock_sock *vsk; member
|
/openbmc/linux/include/net/ |
H A D | af_vsock.h | 193 static inline bool __vsock_in_bound_table(struct vsock_sock *vsk) in __vsock_in_bound_table() 199 static inline bool __vsock_in_connected_table(struct vsock_sock *vsk) in __vsock_in_connected_table()
|
/openbmc/linux/drivers/vhost/ |
H A D | vsock.c | 295 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() local
|