Searched refs:last_cpu (Results 1 – 3 of 3) sorted by relevance
545 int last_cpu = cpu_map__cpu(map, map->nr - 1); in cpu_map__snprint_mask() local550 bitmap = zalloc(last_cpu / 8 + 1); in cpu_map__snprint_mask()561 for (cpu = last_cpu / 4 * 4; cpu >= 0; cpu -= 4) { in cpu_map__snprint_mask()
304 int last_cpu; in set_tracing_cpumask() local306 last_cpu = cpu_map__cpu(cpumap, cpumap->nr - 1); in set_tracing_cpumask()307 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask()308 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
144 unsigned int first_cpu, last_cpu; in parallel_test() local168 find_cpus(&first_cpu, &last_cpu); in parallel_test()169 printf("Using CPUS %u and %u\n", first_cpu, last_cpu); in parallel_test()