Searched refs:cpu_to_vhost16 (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/vhost/ |
D | vhost.c | 1762 if (vhost_put_user(vq, cpu_to_vhost16(vq, vq->used_flags), in vhost_update_used_flags() 1781 if (vhost_put_user(vq, cpu_to_vhost16(vq, vq->avail_idx), in vhost_update_avail_event() 1888 if (!(desc->flags & cpu_to_vhost16(vq, VRING_DESC_F_NEXT))) in next_desc() 1952 if (unlikely(desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_INDIRECT))) { in get_indirect() 1958 if (desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_WRITE)) in get_indirect() 2088 if (desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_INDIRECT)) { in vhost_get_vq_desc() 2101 if (desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_WRITE)) in vhost_get_vq_desc() 2228 if (vhost_put_user(vq, cpu_to_vhost16(vq, vq->last_used_idx), in vhost_add_used_n() 2265 return !(flags & cpu_to_vhost16(vq, VRING_AVAIL_F_NO_INTERRUPT)); in vhost_notify()
|
D | vhost.h | 268 static inline __virtio16 cpu_to_vhost16(struct vhost_virtqueue *vq, u16 val) in cpu_to_vhost16() function
|
D | net.c | 1015 num_buffers = cpu_to_vhost16(vq, headcount); in handle_rx()
|