Lines Matching refs:used
31 * contributors may be used to endorse or promote products derived
78 cpumask_clear(&set->used);
85 if (cpumask_equal(&set->mask, &set->used)) {
87 * We've used up all the CPUs, bump up the generation
88 * and reset the 'used' map
91 cpumask_clear(&set->used);
97 if (cpumask_empty(&set->used) && set->gen) {
99 cpumask_copy(&set->used, &set->mask);
114 cpumask_andnot(diff, &set->mask, &set->used);
120 cpumask_set_cpu(cpu, &set->used);
130 cpumask_clear_cpu(cpu, &set->used);
174 cpumask_clear(&node_affinity.proc.used);
361 * Non-interrupt CPUs are used first, then interrupt CPUs.
386 cpumask_andnot(available_cpus, &set->mask, &set->used);
390 &entry->def_intr.used);
402 cpumask_set_cpu(cpu, &set->used);
650 * If this is the first time this NUMA node's affinity is used,
769 * Free device completion vector CPUs to be used by future
810 * the old cpu if it is not used by any other IRQ
814 cpumask_set_cpu(cpu, &set->used);
826 cpumask_clear_cpu(old_cpu, &set->used);
997 cpumask_andnot(&set->used, &set->used, &msix->mask);
1057 * Mark the pre-set CPU as used. This is atomic so we don't
1061 cpumask_set_cpu(cpu, &set->used);
1106 * If we've used all available HW threads, clear the mask and start
1112 * If NUMA node has CPUs used by interrupt handlers, include them in the
1119 &entry->def_intr.used));
1122 &entry->rcv_intr.used));
1125 hfi1_cdbg(PROC, "CPUs used by interrupts: %*pbl",
1132 * physical cores should be used.
1143 * loop as the used mask gets reset when
1144 * (set->mask == set->used) before this loop.
1146 cpumask_andnot(diff, hw_thread_mask, &set->used);
1160 cpumask_andnot(available_mask, available_mask, &set->used);
1167 * handlers are used.
1177 * used for process assignments using the same method as
1186 cpumask_andnot(available_mask, hw_thread_mask, &set->used);
1208 cpumask_set_cpu(cpu, &set->used);