Lines Matching refs:vio_le
230 #define vio_le() virtio_legacy_is_little_endian() macro
2103 if (virtio_net_hdr_from_skb(skb, (struct virtio_net_hdr *)&vnet_hdr, vio_le(), true, 0)) in packet_rcv_vnet()
2374 vio_le(), true, 0)) { in tpacket_rcv()
2541 (__virtio16_to_cpu(vio_le(), vnet_hdr->csum_start) + in __packet_snd_vnet_parse()
2542 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2 > in __packet_snd_vnet_parse()
2543 __virtio16_to_cpu(vio_le(), vnet_hdr->hdr_len))) in __packet_snd_vnet_parse()
2544 vnet_hdr->hdr_len = __cpu_to_virtio16(vio_le(), in __packet_snd_vnet_parse()
2545 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_start) + in __packet_snd_vnet_parse()
2546 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2); in __packet_snd_vnet_parse()
2548 if (__virtio16_to_cpu(vio_le(), vnet_hdr->hdr_len) > len) in __packet_snd_vnet_parse()
2832 copylen = __virtio16_to_cpu(vio_le(), in tpacket_snd()
2871 if (virtio_net_hdr_to_skb(skb, vnet_hdr, vio_le())) { in tpacket_snd()
3028 linear = __virtio16_to_cpu(vio_le(), vnet_hdr.hdr_len); in packet_snd()
3080 err = virtio_net_hdr_to_skb(skb, &vnet_hdr, vio_le()); in packet_snd()