Lines Matching refs:dst_states
145 struct xen_processor_px *dst_states = NULL; in xen_copy_pss_data() local
151 dst_states = kcalloc(_pr->performance->state_count, in xen_copy_pss_data()
153 if (!dst_states) in xen_copy_pss_data()
159 memcpy(&(dst_states[i]), &(_pr->performance->states[i]), in xen_copy_pss_data()
162 return dst_states; in xen_copy_pss_data()
220 struct xen_processor_px *dst_states = NULL; in push_pxx_to_hypervisor() local
231 dst_states = xen_copy_pss_data(_pr, dst_perf); in push_pxx_to_hypervisor()
232 if (!IS_ERR_OR_NULL(dst_states)) { in push_pxx_to_hypervisor()
233 set_xen_guest_handle(dst_perf->states, dst_states); in push_pxx_to_hypervisor()
269 if (!IS_ERR_OR_NULL(dst_states)) in push_pxx_to_hypervisor()
270 kfree(dst_states); in push_pxx_to_hypervisor()