Searched refs:resources_per_cpu (Results 1 – 1 of 1) sorted by relevance
502 unsigned int *resources_per_cpu, min_index = ~0; in drbd_calc_cpu_mask() local504 resources_per_cpu = kcalloc(nr_cpu_ids, sizeof(*resources_per_cpu), in drbd_calc_cpu_mask()506 if (resources_per_cpu) { in drbd_calc_cpu_mask()513 resources_per_cpu[cpu]++; in drbd_calc_cpu_mask()517 if (resources_per_cpu[cpu] < min) { in drbd_calc_cpu_mask()518 min = resources_per_cpu[cpu]; in drbd_calc_cpu_mask()522 kfree(resources_per_cpu); in drbd_calc_cpu_mask()