Home
last modified time | relevance | path

Searched refs:tap16_to_cpu (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/
H A Dtap.c86 static inline u16 tap16_to_cpu(struct tap_queue *q, __virtio16 val) in tap16_to_cpu() function
649 tap16_to_cpu(q, vnet_hdr.csum_start) + in tap_get_user()
650 tap16_to_cpu(q, vnet_hdr.csum_offset) + 2 > in tap_get_user()
651 tap16_to_cpu(q, vnet_hdr.hdr_len)) in tap_get_user()
653 tap16_to_cpu(q, vnet_hdr.csum_start) + in tap_get_user()
654 tap16_to_cpu(q, vnet_hdr.csum_offset) + 2); in tap_get_user()
656 if (tap16_to_cpu(q, vnet_hdr.hdr_len) > len) in tap_get_user()
668 tap16_to_cpu(q, vnet_hdr.hdr_len) : GOODCOPY_LEN; in tap_get_user()
682 linear = tap16_to_cpu(q, vnet_hdr.hdr_len); in tap_get_user()
/kernel/linux/linux-6.6/drivers/net/
H A Dtap.c88 static inline u16 tap16_to_cpu(struct tap_queue *q, __virtio16 val) in tap16_to_cpu() function
667 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()

Completed in 4 milliseconds