Lines Matching refs:max_cpu_num

286 	int max_cpu_num;  member
2380 for (i = 0; i < topo.max_cpu_num + 1; ++i) { in free_fd_percpu()
2425 for (i = 0; i <= topo.max_cpu_num; ++i) { in free_all_buffers()
2478 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) in set_node_data()
2484 for (cpu = 0; cpu <= topo.max_cpu_num; ++cpu) { in set_node_data()
2497 for (cpux = cpu; cpux <= topo.max_cpu_num; cpux++) { in set_node_data()
2508 if (cpu_count >= topo.max_cpu_num) in set_node_data()
2520 for (i = 0; i <= topo.max_cpu_num; i++) { in get_physical_node_id()
2539 int offset = topo.max_cpu_num + 1; in get_thread_siblings()
2543 thiscpu->put_ids = CPU_ALLOC((topo.max_cpu_num + 1)); in get_thread_siblings()
2549 size = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in get_thread_siblings()
2674 topo.max_cpu_num = 0; in set_max_cpu_num()
2679 topo.max_cpu_num += BITMASK_SIZE; in set_max_cpu_num()
2681 topo.max_cpu_num--; /* 0 based */ in set_max_cpu_num()
2730 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts()
2731 warn("/proc/interrupts: cpu%d: > %d", cpu_number, topo.max_cpu_num); in snapshot_proc_interrupts()
4761 fprintf(outf, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num); in topology_probe()
4763 cpus = calloc(1, (topo.max_cpu_num + 1) * sizeof(struct cpu_topology)); in topology_probe()
4770 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
4773 cpu_present_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
4789 cpu_affinity_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
4792 cpu_affinity_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
4801 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
4862 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()
4963 fd_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_fd_percpu()
4973 irqs_per_cpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_irq_buffers()
4975 err(-1, "calloc %d", topo.max_cpu_num + 1); in allocate_irq_buffers()