Lines Matching full:he
95 struct hist_entry *he);
118 struct hist_entry *he) in ev_name_entry() argument
120 int width = fmt_width(fmt, hpp, he->hists); in ev_name_entry()
122 return scnprintf(hpp->buf, hpp->size, "%*s", width, he->kvm_info->name); in ev_name_entry()
142 event_left = container_of(left, struct kvm_event, he); \
143 event_right = container_of(right, struct kvm_event, he); \
159 struct hist_entry *he) \
162 int width = fmt_width(fmt, hpp, he->hists); \
165 event = container_of(he, struct kvm_event, he); \
209 struct hist_entry *he) in ev_entry_mean() argument
212 int width = fmt_width(fmt, hpp, he->hists); in ev_entry_mean()
215 event = container_of(he, struct kvm_event, he); in ev_entry_mean()
241 static int ev_percent_##metric(struct hist_entry *he) \
246 event = container_of(he, struct kvm_event, he); \
258 struct hist_entry *he) in EV_METRIC_PERCENT()
260 int width = fmt_width(fmt, hpp, he->hists); in EV_METRIC_PERCENT()
264 per = ev_percent_time(he); in EV_METRIC_PERCENT()
291 struct hist_entry *he) in ev_entry_count_precent() argument
293 int width = fmt_width(fmt, hpp, he->hists); in ev_entry_count_precent()
297 per = ev_percent_count(he); in ev_entry_count_precent()
522 struct hist_entry *he = rb_entry(nd, struct hist_entry, in kvm_browser__update_nr_entries() local
525 if (!he->filtered) in kvm_browser__update_nr_entries()
652 struct hist_entry *he; in clear_events_cache_stats() local
654 he = rb_entry(nd, struct hist_entry, rb_node_in); in clear_events_cache_stats()
655 event = container_of(he, struct kvm_event, he); in clear_events_cache_stats()
704 return &kvm_ev->he; in kvm_he_zalloc()
707 static void kvm_he_free(void *he) in kvm_he_free() argument
711 kvm_ev = container_of(he, struct kvm_event, he); in kvm_he_free()
725 struct hist_entry *he; in find_create_kvm_event() local
737 he = hists__add_entry_ops(&kvm_hists.hists, &kvm_ev_entry_ops, in find_create_kvm_event()
739 if (he == NULL) { in find_create_kvm_event()
745 event = container_of(he, struct kvm_event, he); in find_create_kvm_event()
988 static int filter_cb(struct hist_entry *he, void *arg __maybe_unused) in filter_cb() argument
993 event = container_of(he, struct kvm_event, he); in filter_cb()
996 he->filtered = 1; in filter_cb()
998 he->filtered = 0; in filter_cb()
1075 struct hist_entry *he; in print_result() local
1078 he = rb_entry(nd, struct hist_entry, rb_node); in print_result()
1079 if (he->filtered) in print_result()
1082 event = container_of(he, struct kvm_event, he); in print_result()