Lines Matching refs:target_cpu
202 return sysfs_emit(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show()
487 channel->target_cpu); in channel_vp_mapping_show()
494 cur_sc->target_cpu); in channel_vp_mapping_show()
1612 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1617 u32 target_cpu, origin_cpu; in target_cpu_store() local
1623 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store()
1627 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
1630 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ))) in target_cpu_store()
1636 if (!cpu_online(target_cpu)) { in target_cpu_store()
1674 origin_cpu = channel->target_cpu; in target_cpu_store()
1675 if (target_cpu == origin_cpu) in target_cpu_store()
1679 hv_cpu_number_to_vp_number(target_cpu))) { in target_cpu_store()
1699 channel->target_cpu = target_cpu; in target_cpu_store()
1703 hv_update_allocated_cpus(origin_cpu, target_cpu); in target_cpu_store()
1708 origin_cpu, target_cpu); in target_cpu_store()