Lines Matching refs:used
36 cpumask_clear(&set->used);
43 if (cpumask_equal(&set->mask, &set->used)) {
45 * We've used up all the CPUs, bump up the generation
46 * and reset the 'used' map
49 cpumask_clear(&set->used);
55 if (cpumask_empty(&set->used) && set->gen) {
57 cpumask_copy(&set->used, &set->mask);
72 cpumask_andnot(diff, &set->mask, &set->used);
78 cpumask_set_cpu(cpu, &set->used);
88 cpumask_clear_cpu(cpu, &set->used);
132 cpumask_clear(&node_affinity.proc.used);
317 * Non-interrupt CPUs are used first, then interrupt CPUs.
342 cpumask_andnot(available_cpus, &set->mask, &set->used);
346 &entry->def_intr.used);
358 cpumask_set_cpu(cpu, &set->used);
606 * If this is the first time this NUMA node's affinity is used,
725 * Free device completion vector CPUs to be used by future
766 * the old cpu if it is not used by any other IRQ
770 cpumask_set_cpu(cpu, &set->used);
782 cpumask_clear_cpu(old_cpu, &set->used);
953 cpumask_andnot(&set->used, &set->used, &msix->mask);
1013 * Mark the pre-set CPU as used. This is atomic so we don't
1017 cpumask_set_cpu(cpu, &set->used);
1062 * If we've used all available HW threads, clear the mask and start
1068 * If NUMA node has CPUs used by interrupt handlers, include them in the
1075 &entry->def_intr.used));
1078 &entry->rcv_intr.used));
1081 hfi1_cdbg(PROC, "CPUs used by interrupts: %*pbl",
1088 * physical cores should be used.
1099 * loop as the used mask gets reset when
1100 * (set->mask == set->used) before this loop.
1102 cpumask_andnot(diff, hw_thread_mask, &set->used);
1116 cpumask_andnot(available_mask, available_mask, &set->used);
1123 * handlers are used.
1133 * used for process assignments using the same method as
1142 cpumask_andnot(available_mask, hw_thread_mask, &set->used);
1164 cpumask_set_cpu(cpu, &set->used);