Lines Matching refs:nr_cpus
31 static int nr_cpus;
222 if (next_to_try == nr_cpus)
225 while (next_to_try < nr_cpus) {
318 nr_cpus * lru_size);
334 unsigned long long key, value[nr_cpus];
346 map_fd = create_map(map_type, map_flags, 900 * nr_cpus);
388 unsigned long long key, value[nr_cpus];
398 map_fd = create_map(map_type, map_flags, 1000 * nr_cpus);
426 unsigned long long key, value[nr_cpus];
475 nr_cpus * (1000 + 200));
509 nr_cpus = bpf_num_possible_cpus();
510 assert(nr_cpus != -1);
511 printf("nr_cpus:%d\n\n", nr_cpus);
513 nr_tasks = min(nr_tasks, nr_cpus);