Lines Matching refs:max_cpu_num

293 	int max_cpu_num;  member
2466 for (i = 0; i < topo.max_cpu_num + 1; ++i) { in free_fd_percpu()
2511 for (i = 0; i <= topo.max_cpu_num; ++i) { in free_all_buffers()
2573 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) in set_node_data()
2579 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) { in set_node_data()
2592 for (cpux = cpu; cpux <= topo.max_cpu_num; cpux++) { in set_node_data()
2603 if (cpu_count >= topo.max_cpu_num) in set_node_data()
2615 for (i = 0; i <= topo.max_cpu_num; i++) { in get_physical_node_id()
2634 int offset = topo.max_cpu_num + 1; in get_thread_siblings()
2638 thiscpu->put_ids = CPU_ALLOC((topo.max_cpu_num + 1)); in get_thread_siblings()
2644 size = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in get_thread_siblings()
2770 topo.max_cpu_num = 0; in set_max_cpu_num()
2775 topo.max_cpu_num += BITMASK_SIZE; in set_max_cpu_num()
2777 topo.max_cpu_num--; /* 0 based */ in set_max_cpu_num()
2826 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts()
2827 warn("/proc/interrupts: cpu%d: > %d", cpu_number, topo.max_cpu_num); in snapshot_proc_interrupts()
4954 fprintf(outf, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num); in topology_probe()
4956 cpus = calloc(1, (topo.max_cpu_num + 1) * sizeof(struct cpu_topology)); in topology_probe()
4963 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
4966 cpu_present_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
4982 cpu_affinity_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
4985 cpu_affinity_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
4994 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
5067 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
5170 fd_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_fd_percpu()
5180 irqs_per_cpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_irq_buffers()
5182 err(-1, "calloc %d", topo.max_cpu_num + 1); in allocate_irq_buffers()