Searched refs:__virtio16_to_cpu (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.6/include/linux/ |
D | virtio_net.h | 93 u32 start = __virtio16_to_cpu(little_endian, hdr->csum_start); in virtio_net_hdr_to_skb() 94 u32 off = __virtio16_to_cpu(little_endian, hdr->csum_offset); in virtio_net_hdr_to_skb() 150 u16 gso_size = __virtio16_to_cpu(little_endian, hdr->gso_size); in virtio_net_hdr_to_skb()
|
D | virtio_byteorder.h | 16 static inline u16 __virtio16_to_cpu(bool little_endian, __virtio16 val) in __virtio16_to_cpu() function
|
D | vringh.h | 264 return __virtio16_to_cpu(vringh_is_little_endian(vrh), val); in vringh16_to_cpu()
|
D | virtio_config.h | 344 return __virtio16_to_cpu(virtio_is_little_endian(vdev), val); in virtio16_to_cpu()
|
/Linux-v6.6/drivers/vdpa/pds/ |
D | debugfs.c | 212 __virtio16_to_cpu(true, vc.max_virtqueue_pairs)); in config_show() 213 seq_printf(seq, "mtu: %d\n", __virtio16_to_cpu(true, vc.mtu)); in config_show() 222 __virtio16_to_cpu(true, vc.status)); in config_show()
|
/Linux-v6.6/tools/virtio/linux/ |
D | virtio_config.h | 71 return __virtio16_to_cpu(virtio_is_little_endian(vdev), val); in virtio16_to_cpu()
|
/Linux-v6.6/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.h | 93 return __virtio16_to_cpu(vdpasim_is_little_endian(vdpasim), val); in vdpasim16_to_cpu()
|
/Linux-v6.6/drivers/vhost/ |
D | vhost.h | 316 return __virtio16_to_cpu(vhost_is_little_endian(vq), val); in vhost16_to_cpu()
|
/Linux-v6.6/drivers/vdpa/ |
D | vdpa.c | 882 val_u16 = __virtio16_to_cpu(true, config->max_virtqueue_pairs); in vdpa_dev_net_mq_config_fill() 895 val_u16 = __virtio16_to_cpu(true, config->mtu); in vdpa_dev_net_mtu_config_fill() 918 val_u16 = __virtio16_to_cpu(true, config->status); in vdpa_dev_net_status_config_fill()
|
/Linux-v6.6/net/packet/ |
D | af_packet.c | 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() 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() 3028 linear = __virtio16_to_cpu(vio_le(), vnet_hdr.hdr_len); in packet_snd()
|
/Linux-v6.6/drivers/vdpa/alibaba/ |
D | eni_vdpa.c | 451 num = 2 * __virtio16_to_cpu(virtio_legacy_is_little_endian(), in eni_vdpa_get_num_queues()
|
/Linux-v6.6/drivers/net/ |
D | tap.c | 90 return __virtio16_to_cpu(tap_is_little_endian(q), val); in tap16_to_cpu()
|
D | tun.c | 355 return __virtio16_to_cpu(tun_is_little_endian(tun), val); in tun16_to_cpu()
|
/Linux-v6.6/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 673 __virtio16_to_cpu(virtio_legacy_is_little_endian(), in mlxbf_tmfifo_rxtx_header()
|
/Linux-v6.6/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 170 return __virtio16_to_cpu(mlx5_vdpa_is_little_endian(mvdev), val); in mlx5vdpa16_to_cpu()
|