Lines Matching refs:dst_states
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()
263 kfree(dst_states); in push_pxx_to_hypervisor()