Searched refs:MAX_NR_CPUS (Results 1 – 12 of 12) sorted by relevance
28 #ifndef MAX_NR_CPUS29 #define MAX_NR_CPUS 1024 macro
30 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
50 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
86 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
61 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
692 typedef struct { DECLARE_BITMAP(bits, MAX_NR_CPUS); } cpumask_t;712 MAX_NR_CPUS) in scan_thread_topology()727 MAX_NR_CPUS) in scan_core_topology()744 if (c >= MAX_NR_CPUS) { in str_to_bitmap()791 topology_map = malloc(sizeof(int) * MAX_NR_CPUS); in svg_build_topology_map()797 for (i = 0; i < MAX_NR_CPUS; i++) in svg_build_topology_map()
75 max_entries = new_max + MAX_NR_CPUS / 2; in cpu_map__read()86 max_entries += MAX_NR_CPUS; in cpu_map__read()168 max_entries += MAX_NR_CPUS; in cpu_map__new()
210 memset(counter->per_pkg_mask, 0, MAX_NR_CPUS); in zero_per_pkg()229 mask = zalloc(MAX_NR_CPUS); in check_per_pkg()
2462 if (cpu < 0 || cpu >= MAX_NR_CPUS || !machine->current_tid) in machine__get_current_tid()2479 machine->current_tid = calloc(MAX_NR_CPUS, sizeof(pid_t)); in machine__set_current_tid()2482 for (i = 0; i < MAX_NR_CPUS; i++) in machine__set_current_tid()2486 if (cpu >= MAX_NR_CPUS) { in machine__set_current_tid()
2080 if (cpu >= MAX_NR_CPUS) { in perf_session__cpu_bitmap()
28 #define MAX_NR_CPUS 1024 macro121 static int inner_lru_map_fds[MAX_NR_CPUS]; in do_test_lru()132 assert(cpu < MAX_NR_CPUS); in do_test_lru()
14 #define MAX_NR_CPUS 1024 macro50 .max_entries = MAX_NR_CPUS,