Lines Matching refs:target_cpu
263 return sprintf(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show()
553 channel->offermsg.child_relid, channel->target_cpu); in channel_vp_mapping_show()
564 cur_sc->target_cpu); in channel_vp_mapping_show()
1782 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1787 u32 target_cpu, origin_cpu; in target_cpu_store() local
1793 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store()
1797 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
1800 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ))) in target_cpu_store()
1806 if (!cpu_online(target_cpu)) { in target_cpu_store()
1844 origin_cpu = channel->target_cpu; in target_cpu_store()
1845 if (target_cpu == origin_cpu) in target_cpu_store()
1849 hv_cpu_number_to_vp_number(target_cpu))) { in target_cpu_store()
1869 channel->target_cpu = target_cpu; in target_cpu_store()
1873 hv_update_allocated_cpus(origin_cpu, target_cpu); in target_cpu_store()
1878 origin_cpu, target_cpu); in target_cpu_store()