Searched refs:tap16_to_cpu (Results 1 – 1 of 1) sorted by relevance
88 static inline u16 tap16_to_cpu(struct tap_queue *q, __virtio16 val) in tap16_to_cpu() function667 tap16_to_cpu(q, vnet_hdr.csum_start) + in tap_get_user()668 tap16_to_cpu(q, vnet_hdr.csum_offset) + 2 > in tap_get_user()669 tap16_to_cpu(q, vnet_hdr.hdr_len)) in tap_get_user()671 tap16_to_cpu(q, vnet_hdr.csum_start) + in tap_get_user()672 tap16_to_cpu(q, vnet_hdr.csum_offset) + 2); in tap_get_user()674 if (tap16_to_cpu(q, vnet_hdr.hdr_len) > len) in tap_get_user()686 tap16_to_cpu(q, vnet_hdr.hdr_len) : GOODCOPY_LEN; in tap_get_user()700 linear = tap16_to_cpu(q, vnet_hdr.hdr_len); in tap_get_user()