Searched refs:guest_cid (Results 1 – 3 of 3) sorted by relevance
58 u32 guest_cid; member70 static struct vhost_vsock *vhost_vsock_get(u32 guest_cid) in vhost_vsock_get() argument74 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()536 if (le64_to_cpu(hdr->src_cid) == vsock->guest_cid && in vhost_vsock_handle_tx_kick()671 vsock->guest_cid = 0; /* no CID assigned yet */ in vhost_vsock_dev_open()731 if (vsock->guest_cid) in vhost_vsock_dev_release()760 static int vhost_vsock_set_cid(struct vhost_vsock *vsock, u64 guest_cid) in vhost_vsock_set_cid() argument765 if (guest_cid <= VMADDR_CID_HOST || in vhost_vsock_set_cid()[all …]
64 u32 guest_cid; member91 ret = vsock->guest_cid; in virtio_transport_get_local_cid()250 if (le64_to_cpu(hdr->dst_cid) == vsock->guest_cid) { in virtio_transport_send_pkt()425 __le64 guest_cid; in virtio_vsock_update_guest_cid() local427 vdev->config->get(vdev, offsetof(struct virtio_vsock_config, guest_cid), in virtio_vsock_update_guest_cid()428 &guest_cid, sizeof(guest_cid)); in virtio_vsock_update_guest_cid()429 vsock->guest_cid = le64_to_cpu(guest_cid); in virtio_vsock_update_guest_cid()
45 __le64 guest_cid; member