Searched refs:resources_per_cpu (Results 1 – 1 of 1) sorted by relevance
483 unsigned int *resources_per_cpu, min_index = ~0; in drbd_calc_cpu_mask() local485 resources_per_cpu = kcalloc(nr_cpu_ids, sizeof(*resources_per_cpu), in drbd_calc_cpu_mask()487 if (resources_per_cpu) { in drbd_calc_cpu_mask()494 resources_per_cpu[cpu]++; in drbd_calc_cpu_mask()498 if (resources_per_cpu[cpu] < min) { in drbd_calc_cpu_mask()499 min = resources_per_cpu[cpu]; in drbd_calc_cpu_mask()503 kfree(resources_per_cpu); in drbd_calc_cpu_mask()