Lines Matching refs:runstate_delta
86 static struct vcpu_runstate_info *runstate_delta; in xen_manage_runstate_time() local
92 if (unlikely(runstate_delta)) in xen_manage_runstate_time()
96 runstate_delta = kmalloc_array(num_possible_cpus(), in xen_manage_runstate_time()
97 sizeof(*runstate_delta), in xen_manage_runstate_time()
99 if (unlikely(!runstate_delta)) { in xen_manage_runstate_time()
107 memcpy(runstate_delta[cpu].time, state.time, in xen_manage_runstate_time()
108 sizeof(runstate_delta[cpu].time)); in xen_manage_runstate_time()
114 if (unlikely(!runstate_delta)) { in xen_manage_runstate_time()
123 runstate_delta[cpu].time[i]; in xen_manage_runstate_time()
132 if (action != -1 && runstate_delta) { in xen_manage_runstate_time()
133 kfree(runstate_delta); in xen_manage_runstate_time()
134 runstate_delta = NULL; in xen_manage_runstate_time()