Searched refs:upper_bound (Results 1 – 3 of 3) sorted by relevance
1177 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_fdb()1207 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()1670 int upper_bound; in nh_res_group_rebalance() local1673 upper_bound = DIV_ROUND_CLOSEST(res_table->num_nh_buckets * w, in nh_res_group_rebalance()1675 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()1676 prev_upper_bound = upper_bound; in nh_res_group_rebalance()1749 int upper_bound; in nh_hthr_group_rebalance() local1752 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()1753 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_rebalance()
824 int upper_bound; in fib_rebalance() local827 upper_bound = -1; in fib_rebalance()830 upper_bound = -1; in fib_rebalance()833 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()837 atomic_set(&nexthop_nh->fib_nh_upper_bound, upper_bound); in fib_rebalance()
4690 int upper_bound = -1; in rt6_upper_bound_set() local4694 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()4697 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()