Searched refs:vsock (Results 1 – 14 of 14) sorted by relevance
/linux/net/vmw_vsock/ |
A D | virtio_transport.c | 75 if (!vsock) { in virtio_transport_get_local_cid() 173 if (!vsock) { in virtio_transport_send_pkt() 209 if (!vsock) { in virtio_transport_cancel_pkt() 282 if (vsock->rx_buf_nr > vsock->rx_buf_max_nr) in virtio_vsock_rx_fill() 283 vsock->rx_buf_max_nr = vsock->rx_buf_nr; in virtio_vsock_rx_fill() 427 if (!vsock) in virtio_vsock_event_done() 436 if (!vsock) in virtio_vsock_tx_done() 445 if (!vsock) in virtio_vsock_rx_done() 507 if (vsock) in virtio_transport_seqpacket_allow() 562 if (vsock->rx_buf_nr < vsock->rx_buf_max_nr / 2) in virtio_transport_rx_work() [all …]
|
A D | vsock_loopback.c | 35 spin_lock_bh(&vsock->pkt_list_lock); in vsock_loopback_send_pkt() 37 spin_unlock_bh(&vsock->pkt_list_lock); in vsock_loopback_send_pkt() 39 queue_work(vsock->workqueue, &vsock->pkt_work); in vsock_loopback_send_pkt() 50 spin_lock_bh(&vsock->pkt_list_lock); in vsock_loopback_cancel_pkt() 56 spin_unlock_bh(&vsock->pkt_list_lock); in vsock_loopback_cancel_pkt() 122 struct vsock_loopback *vsock = in vsock_loopback_work() local 126 spin_lock_bh(&vsock->pkt_list_lock); in vsock_loopback_work() 147 if (!vsock->workqueue) in vsock_loopback_init() 151 INIT_LIST_HEAD(&vsock->pkt_list); in vsock_loopback_init() 162 destroy_workqueue(vsock->workqueue); in vsock_loopback_init() [all …]
|
A D | Makefile | 2 obj-$(CONFIG_VSOCKETS) += vsock.o 10 vsock-y += af_vsock.o af_vsock_tap.o vsock_addr.o
|
A D | vmci_transport.c | 515 static bool vmci_transport_is_trusted(struct vsock_sock *vsock, u32 peer_cid) in vmci_transport_is_trusted() argument 517 return vsock->trusted || in vmci_transport_is_trusted() 518 vmci_is_context_owner(peer_cid, vsock->owner->uid); in vmci_transport_is_trusted() 525 static bool vmci_transport_allow_dgram(struct vsock_sock *vsock, u32 peer_cid) in vmci_transport_allow_dgram() argument 530 if (vsock->cached_peer != peer_cid) { in vmci_transport_allow_dgram() 531 vsock->cached_peer = peer_cid; in vmci_transport_allow_dgram() 532 if (!vmci_transport_is_trusted(vsock, peer_cid) && in vmci_transport_allow_dgram() 535 vsock->cached_peer_allow_dgram = false; in vmci_transport_allow_dgram() 537 vsock->cached_peer_allow_dgram = true; in vmci_transport_allow_dgram() 541 return vsock->cached_peer_allow_dgram; in vmci_transport_allow_dgram()
|
A D | Kconfig | 17 will be called vsock. If unsure, say N.
|
/linux/drivers/vhost/ |
A D | vsock.c | 83 return vsock; in vhost_vsock_get() 290 if (!vsock) { in vhost_transport_send_pkt() 303 vhost_work_queue(&vsock->dev, &vsock->send_pkt_work); in vhost_transport_send_pkt() 322 if (!vsock) in vhost_transport_cancel_pkt() 485 if (vsock) in vhost_transport_seqpacket_allow() 611 vhost_work_queue(&vsock->dev, &vsock->send_pkt_work); in vhost_vsock_start() 658 kvfree(vsock); in vhost_vsock_free() 670 vsock = kvmalloc(sizeof(*vsock), GFP_KERNEL | __GFP_RETRY_MAYFAIL); in vhost_vsock_dev_open() 671 if (!vsock) in vhost_vsock_dev_open() 689 vhost_dev_init(&vsock->dev, vqs, ARRAY_SIZE(vsock->vqs), in vhost_vsock_dev_open() [all …]
|
A D | Kconfig | 51 tristate "vhost virtio-vsock driver" 59 virtio_transport.ko driver loaded to use the virtio-vsock device.
|
A D | Makefile | 9 vhost_vsock-y := vsock.o
|
/linux/Documentation/translations/zh_CN/virt/ |
A D | ne_overview.rst | 57 enclave通过本地通信通道与主虚拟机进行通信,使用virtio-vsock[5]。主虚拟机有 58 virtio-pci vsock模拟设备,而飞地虚拟机有virtio-mmio vsock模拟设备。vsock 60 virtio-vsock设备获得中断。virtio-mmio设备被放置在典型的4 GiB以下的内存中。 76 连接到主虚拟机的vsock CID和一个预定义的端口--9000,以发送一个心跳值--0xb7。这 87 [5] https://man7.org/linux/man-pages/man7/vsock.7.html
|
/linux/Documentation/virt/ |
A D | ne_overview.rst | 58 using virtio-vsock [5]. The primary VM has virtio-pci vsock emulated device, 59 while the enclave VM has a virtio-mmio vsock emulated device. The vsock device 61 APIC and IOAPIC - to get interrupts from virtio-vsock device. The virtio-mmio 83 init process in the enclave connects to the vsock CID of the primary VM and a 97 [5] https://man7.org/linux/man-pages/man7/vsock.7.html
|
/linux/include/trace/events/ |
A D | vsock_virtio_transport_common.h | 3 #define TRACE_SYSTEM vsock
|
/linux/drivers/net/ |
A D | Kconfig | 441 tristate "Virtual vsock monitoring device" 444 This option enables a monitoring net device for vsock sockets. It is 445 mostly intended for developers or support to debug vsock issues. If
|
/linux/Documentation/admin-guide/ |
A D | devices.txt | 377 241 = /dev/vhost-vsock Host kernel driver for virtio vsock
|
/linux/ |
A D | MAINTAINERS | 20104 F: drivers/vhost/vsock.c 20331 F: tools/testing/vsock/
|
Completed in 45 milliseconds