Lines Matching refs:max_cpu_num

419 	int max_cpu_num;  member
2716 for (i = 0; i < topo.max_cpu_num + 1; ++i) { in free_fd_percpu()
2761 for (i = 0; i <= topo.max_cpu_num; ++i) { in free_all_buffers()
2822 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) in set_node_data()
2828 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) { in set_node_data()
2841 for (cpux = cpu; cpux <= topo.max_cpu_num; cpux++) { in set_node_data()
2851 if (cpu_count >= topo.max_cpu_num) in set_node_data()
2863 for (i = 0; i <= topo.max_cpu_num; i++) { in get_physical_node_id()
2881 int offset = topo.max_cpu_num + 1; in get_thread_siblings()
2885 thiscpu->put_ids = CPU_ALLOC((topo.max_cpu_num + 1)); in get_thread_siblings()
2891 size = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in get_thread_siblings()
3017 topo.max_cpu_num = 0; in set_max_cpu_num()
3019 topo.max_cpu_num += BITMASK_SIZE; in set_max_cpu_num()
3021 topo.max_cpu_num--; /* 0 based */ in set_max_cpu_num()
3071 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts()
3072 warn("/proc/interrupts: cpu%d: > %d", cpu_number, topo.max_cpu_num); in snapshot_proc_interrupts()
3398 per_cpu_msr_sum = calloc(topo.max_cpu_num + 1, sizeof(struct msr_sum_array)); in msr_sum_record()
5260 fd_instr_count_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in linux_perf_init()
5625 fprintf(outf, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num); in topology_probe()
5627 cpus = calloc(1, (topo.max_cpu_num + 1) * sizeof(struct cpu_topology)); in topology_probe()
5634 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
5637 cpu_present_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
5653 cpu_affinity_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
5656 cpu_affinity_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
5665 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
5735 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
5831 fd_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_fd_percpu()
5842 irqs_per_cpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_irq_buffers()
5844 err(-1, "calloc %d", topo.max_cpu_num + 1); in allocate_irq_buffers()