Searched refs:new_cpu (Results 1 – 5 of 5) sorted by relevance
/drivers/irqchip/ |
D | irq-bcm6345-l1.c | 199 unsigned int new_cpu; in bcm6345_l1_set_affinity() local 207 new_cpu = cpumask_any_and(&valid, cpu_online_mask); in bcm6345_l1_set_affinity() 208 if (new_cpu >= nr_cpu_ids) in bcm6345_l1_set_affinity() 211 dest = cpumask_of(new_cpu); in bcm6345_l1_set_affinity() 214 if (old_cpu != new_cpu) { in bcm6345_l1_set_affinity() 226 irq_data_update_effective_affinity(d, cpumask_of(new_cpu)); in bcm6345_l1_set_affinity()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1098 int cpu, new_cpu; in kfd_queue_work() local 1100 cpu = new_cpu = smp_processor_id(); in kfd_queue_work() 1102 new_cpu = cpumask_next(new_cpu, cpu_online_mask) % nr_cpu_ids; in kfd_queue_work() 1103 if (cpu_to_node(new_cpu) == numa_node_id()) in kfd_queue_work() 1105 } while (cpu != new_cpu); in kfd_queue_work() 1107 queue_work_on(new_cpu, wq, work); in kfd_queue_work()
|
/drivers/hv/ |
D | hyperv_vmbus.h | 441 unsigned int new_cpu) in hv_update_alloced_cpus() argument 443 hv_set_alloced_cpu(new_cpu); in hv_update_alloced_cpus()
|
/drivers/perf/ |
D | thunderx2_pmu.c | 937 int new_cpu; in tx2_uncore_pmu_offline_cpu() local 952 new_cpu = cpumask_any_and( in tx2_uncore_pmu_offline_cpu() 956 tx2_pmu->cpu = new_cpu; in tx2_uncore_pmu_offline_cpu() 957 if (new_cpu >= nr_cpu_ids) in tx2_uncore_pmu_offline_cpu() 959 perf_pmu_migrate_context(&tx2_pmu->pmu, cpu, new_cpu); in tx2_uncore_pmu_offline_cpu()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 12205 int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; in lpfc_cpu_affinity_check() local 12273 new_cpu = start_cpu; in lpfc_cpu_affinity_check() 12275 new_cpup = &phba->sli4_hba.cpu_map[new_cpu]; in lpfc_cpu_affinity_check() 12280 new_cpu = cpumask_next( in lpfc_cpu_affinity_check() 12281 new_cpu, cpu_present_mask); in lpfc_cpu_affinity_check() 12282 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12283 new_cpu = first_cpu; in lpfc_cpu_affinity_check() 12295 start_cpu = cpumask_next(new_cpu, cpu_present_mask); in lpfc_cpu_affinity_check() 12303 cpu, cpup->eq, new_cpu, in lpfc_cpu_affinity_check() 12324 new_cpu = start_cpu; in lpfc_cpu_affinity_check() [all …]
|