Searched refs:vhost16_to_cpu (Results 1 – 3 of 3) sorted by relevance
| /drivers/vhost/ |
| A D | net.c | 718 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp() 719 vhost16_to_cpu(vq, gso->csum_offset) + 2 > in vhost_net_build_xdp() 720 vhost16_to_cpu(vq, gso->hdr_len)) { in vhost_net_build_xdp() 722 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp() 723 vhost16_to_cpu(vq, gso->csum_offset) + 2); in vhost_net_build_xdp() 725 if (vhost16_to_cpu(vq, gso->hdr_len) > len) { in vhost_net_build_xdp()
|
| A D | vhost.h | 341 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu() function
|
| A D | vhost.c | 1537 vq->avail_idx = vhost16_to_cpu(vq, idx); in vhost_get_avail_idx() 2632 vq->last_used_idx = vhost16_to_cpu(vq, last_used_idx); in vhost_vq_init_access() 2698 next = vhost16_to_cpu(vq, READ_ONCE(desc->next)); in next_desc() 2836 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc() 3119 return vring_need_event(vhost16_to_cpu(vq, event), new, old); in vhost_notify()
|
Completed in 13 milliseconds