Home
last modified time | relevance | path

Searched refs:hv_vp_index (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/hyperv/
H A Dhv_init.c38 u32 *hv_vp_index; variable
39 EXPORT_SYMBOL_GPL(hv_vp_index); variable
88 hv_vp_index[smp_processor_id()] = msr_vp_index; in hv_cpu_init()
179 if (!hv_vp_index) in set_hv_tscchange_cb()
187 re_ctrl.target_vp = hv_vp_index[get_cpu()]; in set_hv_tscchange_cb()
233 if (re_ctrl.target_vp == hv_vp_index[cpu]) { in hv_cpu_die()
242 re_ctrl.target_vp = hv_vp_index[new_cpu]; in hv_cpu_die()
378 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hyperv_init()
380 if (!hv_vp_index) in hyperv_init()
[all...]
/kernel/linux/linux-6.6/drivers/hv/
H A Dhv_common.c49 u32 *hv_vp_index; variable
50 EXPORT_SYMBOL_GPL(hv_vp_index); variable
79 kfree(hv_vp_index); in hv_common_free()
80 hv_vp_index = NULL; in hv_common_free()
338 hv_vp_index = kmalloc_array(num_possible_cpus(), sizeof(*hv_vp_index), in hv_common_init()
340 if (!hv_vp_index) { in hv_common_init()
346 hv_vp_index[i] = VP_INVAL; in hv_common_init()
415 hv_vp_index[cpu] = msr_vp_index; in hv_common_cpu_init()
/kernel/linux/linux-5.10/include/asm-generic/
H A Dmshyperv.h111 extern u32 *hv_vp_index;
114 /* Sentinel value for an uninitialized entry in hv_vp_index array */
130 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()
/kernel/linux/linux-6.6/arch/x86/hyperv/
H A Dhv_init.c201 if (!hv_vp_index) in set_hv_tscchange_cb()
209 re_ctrl.target_vp = hv_vp_index[get_cpu()]; in set_hv_tscchange_cb()
269 if (re_ctrl.target_vp == hv_vp_index[cpu]) { in hv_cpu_die()
278 re_ctrl.target_vp = hv_vp_index[new_cpu]; in hv_cpu_die()
/kernel/linux/linux-6.6/include/asm-generic/
H A Dmshyperv.h186 extern u32 *hv_vp_index;
191 /* Sentinel value for an uninitialized entry in hv_vp_index array */
216 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()

Completed in 4 milliseconds