Searched refs:__cpu_to_virtio16 (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/include/linux/ |
D | virtio_net.h | 107 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()
|
D | virtio_byteorder.h | 24 static inline __virtio16 __cpu_to_virtio16(bool little_endian, u16 val) in __cpu_to_virtio16() function
|
D | vringh.h | 229 return __cpu_to_virtio16(vringh_is_little_endian(vrh), val); in cpu_to_vringh16()
|
D | virtio_config.h | 267 return __cpu_to_virtio16(virtio_is_little_endian(vdev), val); in cpu_to_virtio16()
|
/Linux-v5.4/tools/virtio/linux/ |
D | virtio_config.h | 71 return __cpu_to_virtio16(virtio_is_little_endian(vdev), val); in cpu_to_virtio16()
|
/Linux-v5.4/drivers/vhost/ |
D | vhost.h | 276 return __cpu_to_virtio16(vhost_is_little_endian(vq), val); in cpu_to_vhost16()
|
/Linux-v5.4/drivers/net/ |
D | tap.c | 93 return __cpu_to_virtio16(tap_is_little_endian(q), val); in cpu_to_tap16()
|
D | tun.c | 400 return __cpu_to_virtio16(tun_is_little_endian(tun), val); in cpu_to_tun16()
|
/Linux-v5.4/net/packet/ |
D | af_packet.c | 2429 vnet_hdr->hdr_len = __cpu_to_virtio16(vio_le(), in __packet_snd_vnet_parse()
|