Searched refs:vhost_is_little_endian (Results 1 – 1 of 1) sorted by relevance
282 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() function287 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() function296 return __virtio16_to_cpu(vhost_is_little_endian(vq), val); in vhost16_to_cpu()301 return __cpu_to_virtio16(vhost_is_little_endian(vq), val); in cpu_to_vhost16()306 return __virtio32_to_cpu(vhost_is_little_endian(vq), val); in vhost32_to_cpu()311 return __cpu_to_virtio32(vhost_is_little_endian(vq), val); in cpu_to_vhost32()316 return __virtio64_to_cpu(vhost_is_little_endian(vq), val); in vhost64_to_cpu()321 return __cpu_to_virtio64(vhost_is_little_endian(vq), val); in cpu_to_vhost64()