Home
last modified time | relevance | path

Searched refs:guest_cid (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dvsock.c53 u32 guest_cid; member
64 static struct vhost_vsock *vhost_vsock_get(u32 guest_cid) in vhost_vsock_get() argument
68 hash_for_each_possible_rcu(vhost_vsock_hash, vsock, hash, guest_cid) { in vhost_vsock_get()
69 u32 other_cid = vsock->guest_cid; in vhost_vsock_get()
75 if (other_cid == guest_cid) in vhost_vsock_get()
489 if (le64_to_cpu(pkt->hdr.src_cid) == vsock->guest_cid && in vhost_vsock_handle_tx_kick()
626 vsock->guest_cid = 0; /* no CID assigned yet */ in vhost_vsock_dev_open()
691 if (vsock->guest_cid) in vhost_vsock_dev_release()
728 static int vhost_vsock_set_cid(struct vhost_vsock *vsock, u64 guest_cid) in vhost_vsock_set_cid() argument
733 if (guest_cid <= VMADDR_CID_HOST || in vhost_vsock_set_cid()
[all …]
/OK3568_Linux_fs/kernel/net/vmw_vsock/
H A Dvirtio_transport.c64 u32 guest_cid; member
79 ret = vsock->guest_cid; in virtio_transport_get_local_cid()
178 if (le64_to_cpu(pkt->hdr.dst_cid) == vsock->guest_cid) { in virtio_transport_send_pkt()
372 __le64 guest_cid; in virtio_vsock_update_guest_cid() local
374 vdev->config->get(vdev, offsetof(struct virtio_vsock_config, guest_cid), in virtio_vsock_update_guest_cid()
375 &guest_cid, sizeof(guest_cid)); in virtio_vsock_update_guest_cid()
376 vsock->guest_cid = le64_to_cpu(guest_cid); in virtio_vsock_update_guest_cid()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dvirtio_vsock.h42 __le64 guest_cid; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dvirtio_vsock.h42 __le64 guest_cid; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dvirtio_vsock.h42 __le64 guest_cid; member