Searched refs:upper_bound (Results 1 – 3 of 3) sorted by relevance
1163 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()1645 int upper_bound; in nh_res_group_rebalance() local1648 upper_bound = DIV_ROUND_CLOSEST(res_table->num_nh_buckets * w, in nh_res_group_rebalance()1650 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()1651 prev_upper_bound = upper_bound; in nh_res_group_rebalance()1724 int upper_bound; in nh_hthr_group_rebalance() local1727 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()1728 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_rebalance()
822 int upper_bound; in fib_rebalance() local825 upper_bound = -1; in fib_rebalance()828 upper_bound = -1; in fib_rebalance()831 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()835 atomic_set(&nexthop_nh->fib_nh_upper_bound, upper_bound); in fib_rebalance()
4706 int upper_bound = -1; in rt6_upper_bound_set() local4710 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()4713 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()