Lines Matching refs:hiscore_idx
1643 int hiscore_idx) in __ipv6_dev_get_saddr() argument
1645 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr()
1698 hiscore_idx = 1 - hiscore_idx; in __ipv6_dev_get_saddr()
1708 return hiscore_idx; in __ipv6_dev_get_saddr()
1716 int hiscore_idx) in ipv6_get_saddr_master() argument
1722 hiscore_idx = __ipv6_dev_get_saddr(net, dst, idev, in ipv6_get_saddr_master()
1723 scores, hiscore_idx); in ipv6_get_saddr_master()
1727 hiscore_idx = __ipv6_dev_get_saddr(net, dst, idev, in ipv6_get_saddr_master()
1728 scores, hiscore_idx); in ipv6_get_saddr_master()
1730 return hiscore_idx; in ipv6_get_saddr_master()
1743 int hiscore_idx = 0; in ipv6_dev_get_saddr() local
1753 scores[hiscore_idx].rule = -1; in ipv6_dev_get_saddr()
1754 scores[hiscore_idx].ifa = NULL; in ipv6_dev_get_saddr()
1785 hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx); in ipv6_dev_get_saddr()
1798 hiscore_idx = ipv6_get_saddr_master(net, dst_dev, in ipv6_dev_get_saddr()
1800 scores, hiscore_idx); in ipv6_dev_get_saddr()
1802 if (scores[hiscore_idx].ifa) in ipv6_dev_get_saddr()
1815 hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx); in ipv6_dev_get_saddr()
1820 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()