Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hv/
Dhv_common.c42 u32 *hv_vp_index; variable
43 EXPORT_SYMBOL_GPL(hv_vp_index);
62 kfree(hv_vp_index); in hv_common_free()
63 hv_vp_index = NULL; in hv_common_free()
103 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hv_common_init()
105 if (!hv_vp_index) { in hv_common_init()
111 hv_vp_index[i] = VP_INVAL; in hv_common_init()
144 hv_vp_index[cpu] = msr_vp_index; in hv_common_cpu_init()
/linux-6.1.9/arch/x86/hyperv/
Dhv_init.c180 if (!hv_vp_index) in set_hv_tscchange_cb()
188 re_ctrl.target_vp = hv_vp_index[get_cpu()]; in set_hv_tscchange_cb()
248 if (re_ctrl.target_vp == hv_vp_index[cpu]) { in hv_cpu_die()
257 re_ctrl.target_vp = hv_vp_index[new_cpu]; in hv_cpu_die()
/linux-6.1.9/include/asm-generic/
Dmshyperv.h175 extern u32 *hv_vp_index;
205 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()