Searched refs:vhost16_to_cpu (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/vhost/ |
| D | net.c | 726 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp() 727 vhost16_to_cpu(vq, gso->csum_offset) + 2 > in vhost_net_build_xdp() 728 vhost16_to_cpu(vq, gso->hdr_len)) { in vhost_net_build_xdp() 730 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp() 731 vhost16_to_cpu(vq, gso->csum_offset) + 2); in vhost_net_build_xdp() 733 if (vhost16_to_cpu(vq, gso->hdr_len) > len) in vhost_net_build_xdp()
|
| D | vhost.c | 2031 vq->last_used_idx = vhost16_to_cpu(vq, last_used_idx); in vhost_vq_init_access() 2098 next = vhost16_to_cpu(vq, READ_ONCE(desc->next)); in next_desc() 2229 vq->avail_idx = vhost16_to_cpu(vq, avail_idx); in vhost_get_vq_desc() 2258 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc() 2472 return vring_need_event(vhost16_to_cpu(vq, event), new, old); in vhost_notify() 2516 vq->avail_idx = vhost16_to_cpu(vq, avail_idx); in vhost_vq_avail_empty() 2556 return vhost16_to_cpu(vq, avail_idx) != vq->avail_idx; in vhost_enable_notify()
|
| D | vhost.h | 269 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu() function
|