Lines Matching refs:nexthops
49 struct nsim_fib_entry nexthops;
155 entry = &fib_data->nexthops;
183 entry = &fib_data->nexthops;
785 /* If not all the nexthops are deleted, then only reduce the nexthop
1163 if (!atomic64_add_unless(&data->nexthops.num, 1,
1164 data->nexthops.max)) {
1166 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported nexthops");
1170 if (WARN_ON(occ > atomic64_read(&data->nexthops.num)))
1172 atomic64_sub(occ, &data->nexthops.num);
1178 atomic64_sub(i, &data->nexthops.num);