Lines Matching refs:target_cpu
202 return sprintf(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show()
492 channel->offermsg.child_relid, channel->target_cpu); in channel_vp_mapping_show()
503 cur_sc->target_cpu); in channel_vp_mapping_show()
1594 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1599 u32 target_cpu, origin_cpu; in target_cpu_store() local
1605 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store()
1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
1612 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ))) in target_cpu_store()
1618 if (!cpu_online(target_cpu)) { in target_cpu_store()
1656 origin_cpu = channel->target_cpu; in target_cpu_store()
1657 if (target_cpu == origin_cpu) in target_cpu_store()
1661 hv_cpu_number_to_vp_number(target_cpu))) { in target_cpu_store()
1681 channel->target_cpu = target_cpu; in target_cpu_store()
1685 hv_update_allocated_cpus(origin_cpu, target_cpu); in target_cpu_store()
1690 origin_cpu, target_cpu); in target_cpu_store()