Home
last modified time | relevance | path

Searched refs:max_vcpu (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/perf/
Dbuiltin-kvm.c172 for (j = 0; j < event->max_vcpu; ++j) { in clear_events_cache_stats()
188 int old_max_vcpu = event->max_vcpu; in kvm_event_expand()
191 if (vcpu_id < event->max_vcpu) in kvm_event_expand()
194 while (event->max_vcpu <= vcpu_id) in kvm_event_expand()
195 event->max_vcpu += DEFAULT_VCPU_NUM; in kvm_event_expand()
199 event->max_vcpu * sizeof(*event->vcpu)); in kvm_event_expand()
207 (event->max_vcpu - old_max_vcpu) * sizeof(*event->vcpu)); in kvm_event_expand()
462 if (vcpu >= event->max_vcpu) \
/Linux-v5.10/tools/perf/util/
Dkvm-stat.h36 int max_vcpu; member