Lines Matching refs:fib_nhs
66 nhsel < (fi)->fib_nhs; \
72 nhsel < (fi)->fib_nhs; \
297 unsigned int val = fi->fib_nhs; in fib_info_hashfn()
321 if (fi->fib_nhs != nfi->fib_nhs) in fib_find_info()
331 (nfi->fib_nhs == 0 || nh_comp(fi, nfi) == 0)) in fib_find_info()
377 if (fi->fib_nhs) { in fib_nlmsg_size()
399 payload += nla_total_size((fi->fib_nhs * nhsize) + in fib_nlmsg_size()
565 if (fi->fib_nhs < 2) in fib_rebalance()
1105 fi->fib_nhs = nhs; in fib_create_info()
1231 if (linkdown == fi->fib_nhs) in fib_create_info()
1330 if (fi->fib_nhs == 1) { in fib_dump_info()
1359 if (fi->fib_nhs > 1) { in fib_dump_info()
1545 BUG_ON(!fi->fib_nhs); in fib_sync_down_dev()
1571 dead = fi->fib_nhs; in fib_sync_down_dev()
1576 if (dead == fi->fib_nhs) { in fib_sync_down_dev()
1701 BUG_ON(!fi->fib_nhs); in fib_sync_up()
1787 if (res->fi->fib_nhs > 1) { in fib_select_path()