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