Searched refs:vhost16_to_cpu (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/vhost/ |
D | vhost.c | 1825 vq->last_used_idx = vhost16_to_cpu(vq, last_used_idx); in vhost_vq_init_access() 1892 next = vhost16_to_cpu(vq, READ_ONCE(desc->next)); in next_desc() 2023 vq->avail_idx = vhost16_to_cpu(vq, avail_idx); in vhost_get_vq_desc() 2053 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc() 2279 return vring_need_event(vhost16_to_cpu(vq, event), new, old); in vhost_notify() 2323 vq->avail_idx = vhost16_to_cpu(vq, avail_idx); in vhost_vq_avail_empty() 2363 return vhost16_to_cpu(vq, avail_idx) != vq->avail_idx; in vhost_enable_notify()
|
D | vhost.h | 263 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu() function
|