Searched refs:upper_bound (Results 1 – 3 of 3) sorted by relevance
504 if (hash > atomic_read(&nhge->upper_bound)) in nexthop_select_path()697 int upper_bound; in nh_group_rebalance() local700 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_group_rebalance()701 atomic_set(&nhge->upper_bound, upper_bound); in nh_group_rebalance()
811 int upper_bound; in fib_rebalance() local814 upper_bound = -1; in fib_rebalance()817 upper_bound = -1; in fib_rebalance()820 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()824 atomic_set(&nexthop_nh->fib_nh_upper_bound, upper_bound); in fib_rebalance()
4583 int upper_bound = -1; in rt6_upper_bound_set() local4587 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()4590 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()