Home
last modified time | relevance | path

Searched refs:good_linear (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/
Dtap.c625 int good_linear = SKB_MAX_HEAD(TAP_RESERVE); in tap_get_user() local
671 if (copylen > good_linear) in tap_get_user()
672 copylen = good_linear; in tap_get_user()
685 if (linear > good_linear) in tap_get_user()
686 linear = good_linear; in tap_get_user()
Dtun.c1752 int good_linear; in tun_get_user() local
1795 good_linear = SKB_MAX_HEAD(align); in tun_get_user()
1805 if (copylen > good_linear) in tun_get_user()
1806 copylen = good_linear; in tun_get_user()
1828 if (tun16_to_cpu(tun, gso.hdr_len) > good_linear) in tun_get_user()
1829 linear = good_linear; in tun_get_user()