Lines Matching refs:runstate_delta
87 static struct vcpu_runstate_info *runstate_delta; in xen_manage_runstate_time() local
93 if (unlikely(runstate_delta)) in xen_manage_runstate_time()
97 runstate_delta = kmalloc_array(num_possible_cpus(), in xen_manage_runstate_time()
98 sizeof(*runstate_delta), in xen_manage_runstate_time()
100 if (unlikely(!runstate_delta)) { in xen_manage_runstate_time()
108 memcpy(runstate_delta[cpu].time, state.time, in xen_manage_runstate_time()
109 sizeof(runstate_delta[cpu].time)); in xen_manage_runstate_time()
115 if (unlikely(!runstate_delta)) { in xen_manage_runstate_time()
124 runstate_delta[cpu].time[i]; in xen_manage_runstate_time()
133 if (action != -1 && runstate_delta) { in xen_manage_runstate_time()
134 kfree(runstate_delta); in xen_manage_runstate_time()
135 runstate_delta = NULL; in xen_manage_runstate_time()