Searched refs:dst_states (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | xen-acpi-processor.c | 138 struct xen_processor_px *dst_states = NULL; in xen_copy_pss_data() local 144 dst_states = kcalloc(_pr->performance->state_count, in xen_copy_pss_data() 146 if (!dst_states) in xen_copy_pss_data() 152 memcpy(&(dst_states[i]), &(_pr->performance->states[i]), in xen_copy_pss_data() 155 return dst_states; in xen_copy_pss_data() 213 struct xen_processor_px *dst_states = NULL; in push_pxx_to_hypervisor() local 224 dst_states = xen_copy_pss_data(_pr, dst_perf); in push_pxx_to_hypervisor() 225 if (!IS_ERR_OR_NULL(dst_states)) { in push_pxx_to_hypervisor() 226 set_xen_guest_handle(dst_perf->states, dst_states); in push_pxx_to_hypervisor() 262 if (!IS_ERR_OR_NULL(dst_states)) in push_pxx_to_hypervisor() [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | xen-acpi-processor.c | 139 struct xen_processor_px *dst_states = NULL; in xen_copy_pss_data() local 145 dst_states = kcalloc(_pr->performance->state_count, in xen_copy_pss_data() 147 if (!dst_states) in xen_copy_pss_data() 153 memcpy(&(dst_states[i]), &(_pr->performance->states[i]), in xen_copy_pss_data() 156 return dst_states; in xen_copy_pss_data() 214 struct xen_processor_px *dst_states = NULL; in push_pxx_to_hypervisor() local 225 dst_states = xen_copy_pss_data(_pr, dst_perf); in push_pxx_to_hypervisor() 226 if (!IS_ERR_OR_NULL(dst_states)) { in push_pxx_to_hypervisor() 227 set_xen_guest_handle(dst_perf->states, dst_states); in push_pxx_to_hypervisor() 263 if (!IS_ERR_OR_NULL(dst_states)) in push_pxx_to_hypervisor() [all...] |
Completed in 2 milliseconds