Lines Matching defs:num_hops
109 size_t num_hops;
127 num_hops = 0;
148 num_hops++;
157 path->path_length = num_hops;
160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL);
169 for (i = 0; i < num_hops; i++) {
235 size_t num_hops;
258 num_hops = i / 2;
260 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL);
269 for (i = 0; i < num_hops; i++) {
310 if (i == num_hops - 1)
330 path->path_length = num_hops;