Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dtap.c640 int good_linear = SKB_MAX_HEAD(TAP_RESERVE); in tap_get_user() local
687 if (copylen > good_linear) in tap_get_user()
688 copylen = good_linear; in tap_get_user()
701 if (linear > good_linear) in tap_get_user()
702 linear = good_linear; in tap_get_user()
H A Dtun.c1757 int good_linear; in tun_get_user() local
1801 good_linear = SKB_MAX_HEAD(align); in tun_get_user()
1811 if (copylen > good_linear) in tun_get_user()
1812 copylen = good_linear; in tun_get_user()
1833 if (tun16_to_cpu(tun, gso.hdr_len) > good_linear) in tun_get_user()
1834 linear = good_linear; in tun_get_user()
1849 linear = min_t(size_t, good_linear, copylen); in tun_get_user()