Lines Matching refs:hiscore_idx
1654 int hiscore_idx) in __ipv6_dev_get_saddr() argument
1656 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr()
1709 hiscore_idx = 1 - hiscore_idx; in __ipv6_dev_get_saddr()
1719 return hiscore_idx; in __ipv6_dev_get_saddr()
1727 int hiscore_idx) in ipv6_get_saddr_master() argument
1733 hiscore_idx = __ipv6_dev_get_saddr(net, dst, idev, in ipv6_get_saddr_master()
1734 scores, hiscore_idx); in ipv6_get_saddr_master()
1738 hiscore_idx = __ipv6_dev_get_saddr(net, dst, idev, in ipv6_get_saddr_master()
1739 scores, hiscore_idx); in ipv6_get_saddr_master()
1741 return hiscore_idx; in ipv6_get_saddr_master()
1754 int hiscore_idx = 0; in ipv6_dev_get_saddr() local
1764 scores[hiscore_idx].rule = -1; in ipv6_dev_get_saddr()
1765 scores[hiscore_idx].ifa = NULL; in ipv6_dev_get_saddr()
1796 hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx); in ipv6_dev_get_saddr()
1809 hiscore_idx = ipv6_get_saddr_master(net, dst_dev, in ipv6_dev_get_saddr()
1811 scores, hiscore_idx); in ipv6_dev_get_saddr()
1813 if (scores[hiscore_idx].ifa) in ipv6_dev_get_saddr()
1826 hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx); in ipv6_dev_get_saddr()
1831 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()