Lines Matching defs:num_hops
111 size_t num_hops;
129 num_hops = 0;
150 num_hops++;
159 path->path_length = num_hops;
163 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL);
175 for (i = 0; i < num_hops; i++) {
245 size_t num_hops;
268 num_hops = i / 2;
270 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL);
281 for (i = 0; i < num_hops; i++) {
322 if (i == num_hops - 1)
342 path->path_length = num_hops;