Lines Matching refs:hiscore_idx
1717 int hiscore_idx) in __ipv6_dev_get_saddr() argument
1719 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr()
1772 hiscore_idx = 1 - hiscore_idx; in __ipv6_dev_get_saddr()
1782 return hiscore_idx; in __ipv6_dev_get_saddr()
1790 int hiscore_idx) in ipv6_get_saddr_master() argument
1796 hiscore_idx = __ipv6_dev_get_saddr(net, dst, idev, in ipv6_get_saddr_master()
1797 scores, hiscore_idx); in ipv6_get_saddr_master()
1801 hiscore_idx = __ipv6_dev_get_saddr(net, dst, idev, in ipv6_get_saddr_master()
1802 scores, hiscore_idx); in ipv6_get_saddr_master()
1804 return hiscore_idx; in ipv6_get_saddr_master()
1817 int hiscore_idx = 0; in ipv6_dev_get_saddr() local
1827 scores[hiscore_idx].rule = -1; in ipv6_dev_get_saddr()
1828 scores[hiscore_idx].ifa = NULL; in ipv6_dev_get_saddr()
1859 hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx); in ipv6_dev_get_saddr()
1872 hiscore_idx = ipv6_get_saddr_master(net, dst_dev, in ipv6_dev_get_saddr()
1874 scores, hiscore_idx); in ipv6_dev_get_saddr()
1876 if (scores[hiscore_idx].ifa && in ipv6_dev_get_saddr()
1877 scores[hiscore_idx].scopedist >= 0) in ipv6_dev_get_saddr()
1890 hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx); in ipv6_dev_get_saddr()
1895 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()