Lines Matching refs:remaining
457 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining)
461 while (rtnh_ok(rtnh, remaining)) {
463 rtnh = rtnh_next(rtnh, &remaining);
467 return remaining > 0 ? 0 : nhs;
471 int remaining, struct fib_config *cfg)
476 if (!rtnh_ok(rtnh, remaining))
498 rtnh = rtnh_next(rtnh, &remaining);
510 int remaining;
528 remaining = cfg->fc_mp_len;
533 if (!rtnh_ok(rtnh, remaining))
553 rtnh = rtnh_next(rtnh, &remaining);
852 int remaining;
854 nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) {