Home
last modified time | relevance | path

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

/linux/drivers/vhost/
H A Dvsock.c60 u32 guest_cid; member
72 static struct vhost_vsock *vhost_vsock_get(u32 guest_cid) in vhost_vsock_get() argument
76 hash_for_each_possible_rcu(vhost_vsock_hash, vsock, hash, guest_cid, in vhost_vsock_get()
78 u32 other_cid = vsock->guest_cid; in vhost_vsock_get()
84 if (other_cid == guest_cid) in vhost_vsock_get()
540 if (le64_to_cpu(hdr->src_cid) == vsock->guest_cid && in vhost_vsock_handle_tx_kick()
675 vsock->guest_cid = 0; /* no CID assigned yet */ in vhost_vsock_dev_open()
741 if (vsock->guest_cid) in vhost_vsock_dev_release()
770 static int vhost_vsock_set_cid(struct vhost_vsock *vsock, u64 guest_cid) in vhost_vsock_set_cid() argument
775 if (guest_cid <= VMADDR_CID_HOST || in vhost_vsock_set_cid()
[all …]
/linux/include/uapi/linux/
H A Dvirtio_vsock.h45 __le64 guest_cid; member