Home
last modified time | relevance | path

Searched refs:hv_vp_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/x86/hyperv/
Dhv_init.c35 u32 *hv_vp_index; variable
36 EXPORT_SYMBOL_GPL(hv_vp_index);
85 hv_vp_index[smp_processor_id()] = msr_vp_index; in hv_cpu_init()
168 .target_vp = hv_vp_index[smp_processor_id()] in set_hv_tscchange_cb()
224 if (re_ctrl.target_vp == hv_vp_index[cpu]) { in hv_cpu_die()
233 re_ctrl.target_vp = hv_vp_index[new_cpu]; in hv_cpu_die()
350 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hyperv_init()
352 if (!hv_vp_index) in hyperv_init()
356 hv_vp_index[i] = VP_INVAL; in hyperv_init()
412 kfree(hv_vp_index); in hyperv_init()
[all …]
/Linux-v5.10/include/asm-generic/
Dmshyperv.h111 extern u32 *hv_vp_index;
130 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()