Home
last modified time | relevance | path

Searched refs:__cpu_to_virtio16 (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/include/linux/
Dvirtio_net.h107 hdr->hdr_len = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
109 hdr->gso_size = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
124 hdr->csum_start = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
126 hdr->csum_offset = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
Dvirtio_byteorder.h24 static inline __virtio16 __cpu_to_virtio16(bool little_endian, u16 val) in __cpu_to_virtio16() function
Dvringh.h229 return __cpu_to_virtio16(vringh_is_little_endian(vrh), val); in cpu_to_vringh16()
Dvirtio_config.h267 return __cpu_to_virtio16(virtio_is_little_endian(vdev), val); in cpu_to_virtio16()
/Linux-v5.4/tools/virtio/linux/
Dvirtio_config.h71 return __cpu_to_virtio16(virtio_is_little_endian(vdev), val); in cpu_to_virtio16()
/Linux-v5.4/drivers/vhost/
Dvhost.h276 return __cpu_to_virtio16(vhost_is_little_endian(vq), val); in cpu_to_vhost16()
/Linux-v5.4/drivers/net/
Dtap.c93 return __cpu_to_virtio16(tap_is_little_endian(q), val); in cpu_to_tap16()
Dtun.c400 return __cpu_to_virtio16(tun_is_little_endian(tun), val); in cpu_to_tun16()
/Linux-v5.4/net/packet/
Daf_packet.c2429 vnet_hdr->hdr_len = __cpu_to_virtio16(vio_le(), in __packet_snd_vnet_parse()