Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/
Dnexthop.c504 if (hash > atomic_read(&nhge->upper_bound)) in nexthop_select_path()
697 int upper_bound; in nh_group_rebalance() local
700 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()
Dfib_semantics.c811 int upper_bound; in fib_rebalance() local
814 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()
/net/ipv6/
Droute.c4583 int upper_bound = -1; in rt6_upper_bound_set() local
4587 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()