Lines Matching refs:fib_nhs
64 for (nhsel=0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
67 for (nhsel=0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nexthop_nh++, nhsel++)
209 unsigned int val = fi->fib_nhs;
234 if (fi->fib_nhs != nfi->fib_nhs)
242 (nfi->fib_nhs == 0 || nh_comp(fi, nfi) == 0))
289 if (fi->fib_nhs) {
290 /* Also handles the special case fib_nhs == 1 */
299 payload += nla_total_size(fi->fib_nhs * nhsize);
737 fi->fib_nhs = nhs;
904 if (nhsel < fi->fib_nhs) {
981 if (fi->fib_nhs == 1) {
993 if (fi->fib_nhs > 1) {
1075 BUG_ON(!fi->fib_nhs);
1096 dead = fi->fib_nhs;
1101 if (dead == fi->fib_nhs) {
1138 BUG_ON(!fi->fib_nhs);