Home
last modified time | relevance | path

Searched refs:hiscore (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/ipv6/
Dinet6_hashtables.c143 int score, hiscore = 0; in inet6_lhash2_lookup() local
148 if (score > hiscore) { in inet6_lhash2_lookup()
155 hiscore = score; in inet6_lhash2_lookup()
Daddrconf.c1645 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr() local
1679 minihiscore = ipv6_get_saddr_eval(net, hiscore, dst, i); in __ipv6_dev_get_saddr()
1697 swap(hiscore, score); in __ipv6_dev_get_saddr()
1701 score->ifa = hiscore->ifa; in __ipv6_dev_get_saddr()
1737 struct ipv6_saddr_score scores[2], *hiscore; in ipv6_dev_get_saddr() local
1820 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()
1821 if (!hiscore->ifa) in ipv6_dev_get_saddr()
1824 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c299 int score, hiscore = 0; in inet_lhash2_lookup() local
304 if (score > hiscore) { in inet_lhash2_lookup()
311 hiscore = score; in inet_lhash2_lookup()