Home
last modified time | relevance | path

Searched refs:guest_cid (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/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()
729 static int vhost_vsock_set_cid(struct vhost_vsock *vsock, u64 guest_cid) in vhost_vsock_set_cid() argument
734 if (guest_cid < in vhost_vsock_set_cid()
796 u64 guest_cid; vhost_vsock_dev_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/vhost/
H A Dvsock.c58 u32 guest_cid; member
70 static struct vhost_vsock *vhost_vsock_get(u32 guest_cid) in vhost_vsock_get() argument
74 hash_for_each_possible_rcu(vhost_vsock_hash, vsock, hash, guest_cid) { in vhost_vsock_get()
75 u32 other_cid = vsock->guest_cid; in vhost_vsock_get()
81 if (other_cid == guest_cid) in vhost_vsock_get()
523 if (le64_to_cpu(hdr->src_cid) == vsock->guest_cid && in vhost_vsock_handle_tx_kick()
658 vsock->guest_cid = 0; /* no CID assigned yet */ in vhost_vsock_dev_open()
717 if (vsock->guest_cid) in vhost_vsock_dev_release()
746 static int vhost_vsock_set_cid(struct vhost_vsock *vsock, u64 guest_cid) in vhost_vsock_set_cid() argument
751 if (guest_cid < in vhost_vsock_set_cid()
824 u64 guest_cid; vhost_vsock_dev_ioctl() local
[all...]
/kernel/linux/linux-5.10/net/vmw_vsock/
H A Dvirtio_transport.c65 u32 guest_cid; member
80 ret = vsock->guest_cid; in virtio_transport_get_local_cid()
179 if (le64_to_cpu(pkt->hdr.dst_cid) == vsock->guest_cid) { in virtio_transport_send_pkt()
373 __le64 guest_cid; in virtio_vsock_update_guest_cid() local
375 vdev->config->get(vdev, offsetof(struct virtio_vsock_config, guest_cid), in virtio_vsock_update_guest_cid()
376 &guest_cid, sizeof(guest_cid)); in virtio_vsock_update_guest_cid()
377 vsock->guest_cid = le64_to_cpu(guest_cid); in virtio_vsock_update_guest_cid()
/kernel/linux/linux-6.6/net/vmw_vsock/
H A Dvirtio_transport.c64 u32 guest_cid; member
80 ret = vsock->guest_cid; in virtio_transport_get_local_cid()
172 if (le64_to_cpu(hdr->dst_cid) == vsock->guest_cid) { in virtio_transport_send_pkt()
338 __le64 guest_cid; in virtio_vsock_update_guest_cid() local
340 vdev->config->get(vdev, offsetof(struct virtio_vsock_config, guest_cid), in virtio_vsock_update_guest_cid()
341 &guest_cid, sizeof(guest_cid)); in virtio_vsock_update_guest_cid()
342 vsock->guest_cid = le64_to_cpu(guest_cid); in virtio_vsock_update_guest_cid()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dvirtio_vsock.h42 __le64 guest_cid; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dvirtio_vsock.h12 __le64 guest_cid; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dvirtio_vsock.h25 __le64 guest_cid; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dvirtio_vsock.h25 __le64 guest_cid; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_vsock.h45 __le64 guest_cid; member

Completed in 6 milliseconds