Searched refs:vhost_is_little_endian (Results 1 – 1 of 1) sorted by relevance
304 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() function309 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() function318 return __virtio16_to_cpu(vhost_is_little_endian(vq), val); in vhost16_to_cpu()323 return __cpu_to_virtio16(vhost_is_little_endian(vq), val); in cpu_to_vhost16()328 return __virtio32_to_cpu(vhost_is_little_endian(vq), val); in vhost32_to_cpu()333 return __cpu_to_virtio32(vhost_is_little_endian(vq), val); in cpu_to_vhost32()338 return __virtio64_to_cpu(vhost_is_little_endian(vq), val); in vhost64_to_cpu()343 return __cpu_to_virtio64(vhost_is_little_endian(vq), val); in cpu_to_vhost64()