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

/linux-master/include/uapi/linux/
H A Dvirtio_vsock.h45 __le64 guest_cid; member in struct:virtio_vsock_config
/linux-master/drivers/vhost/
H A Dvsock.c58 u32 guest_cid; member in struct:vhost_vsock
70 static struct vhost_vsock *vhost_vsock_get(u32 guest_cid) argument
74 hash_for_each_possible_rcu(vhost_vsock_hash, vsock, hash, guest_cid) {
75 u32 other_cid = vsock->guest_cid;
81 if (other_cid == guest_cid)
534 if (le64_to_cpu(hdr->src_cid) == vsock->guest_cid &&
669 vsock->guest_cid = 0; /* no CID assigned yet */
728 if (vsock->guest_cid)
757 static int vhost_vsock_set_cid(struct vhost_vsock *vsock, u64 guest_cid) argument
762 if (guest_cid <
835 u64 guest_cid; local
[all...]
/linux-master/net/vmw_vsock/
H A Dvirtio_transport.c64 u32 guest_cid; member in struct:virtio_vsock
91 ret = vsock->guest_cid;
215 if (le64_to_cpu(hdr->dst_cid) == vsock->guest_cid) {
381 __le64 guest_cid; local
383 vdev->config->get(vdev, offsetof(struct virtio_vsock_config, guest_cid),
384 &guest_cid, sizeof(guest_cid));
385 vsock->guest_cid = le64_to_cpu(guest_cid);

Completed in 126 milliseconds