Home
last modified time | relevance | path

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

/linux-6.15/net/ipv6/
H A Dinet6_hashtables.c159 int score, hiscore = 0; in inet6_lhash2_lookup() local
163 if (score > hiscore) { in inet6_lhash2_lookup()
170 hiscore = score; in inet6_lhash2_lookup()
H A Daddrconf.c1720 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr() local
1754 minihiscore = ipv6_get_saddr_eval(net, hiscore, dst, i); in __ipv6_dev_get_saddr()
1772 swap(hiscore, score); in __ipv6_dev_get_saddr()
1776 score->ifa = hiscore->ifa; in __ipv6_dev_get_saddr()
1812 struct ipv6_saddr_score scores[2], *hiscore; in ipv6_dev_get_saddr() local
1896 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()
1897 if (!hiscore->ifa) in ipv6_dev_get_saddr()
1900 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr()
/linux-6.15/net/ipv4/
H A Dinet_hashtables.c386 int score, hiscore = 0; in inet_lhash2_lookup() local
390 if (score > hiscore) { in inet_lhash2_lookup()
397 hiscore = score; in inet_lhash2_lookup()