Searched refs:resources_per_cpu (Results 1 – 1 of 1) sorted by relevance
493 unsigned int *resources_per_cpu, min_index = ~0; in drbd_calc_cpu_mask() local495 resources_per_cpu = kcalloc(nr_cpu_ids, sizeof(*resources_per_cpu), in drbd_calc_cpu_mask()497 if (resources_per_cpu) { in drbd_calc_cpu_mask()504 resources_per_cpu[cpu]++; in drbd_calc_cpu_mask()508 if (resources_per_cpu[cpu] < min) { in drbd_calc_cpu_mask()509 min = resources_per_cpu[cpu]; in drbd_calc_cpu_mask()513 kfree(resources_per_cpu); in drbd_calc_cpu_mask()