Lines Matching full:hse

2634 	struct hpp_sort_entry *hse;  in perf_hpp__reset_sort_width()  local
2639 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
2640 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
2647 struct hpp_sort_entry *hse; in __sort__hpp_header() local
2650 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
2653 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_header()
2662 struct hpp_sort_entry *hse; in __sort__hpp_width() local
2665 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
2668 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_width()
2676 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
2679 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
2682 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
2684 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
2690 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
2692 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
2693 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
2699 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
2702 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
2703 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
2710 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
2713 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
2714 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
2726 struct hpp_sort_entry *hse; \
2731 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
2732 return hse->se == &sort_ ## key ; \
2768 struct hpp_sort_entry *hse; in hse_free() local
2770 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
2771 free(hse); in hse_free()
2776 struct hpp_sort_entry *hse; in hse_init() local
2781 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_init()
2783 if (hse->se->se_init) in hse_init()
2784 hse->se->se_init(he); in hse_init()
2790 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
2792 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
2793 if (hse == NULL) { in __sort_dimension__alloc_hpp()
2798 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
2799 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
2800 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
2801 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
2802 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
2803 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
2805 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
2806 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
2807 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
2808 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
2809 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
2810 hse->hpp.init = hse_init; in __sort_dimension__alloc_hpp()
2812 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
2813 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
2814 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
2815 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
2816 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
2817 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
2819 return hse; in __sort_dimension__alloc_hpp()
2846 struct hpp_sort_entry *hse; in hist_entry__filter() local
2854 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
2855 if (hse->se->se_filter == NULL) in hist_entry__filter()
2862 r = hse->se->se_filter(he, type, arg); in hist_entry__filter()
2877 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort() local
2879 if (hse == NULL) in __sort_dimension__add_hpp_sort()
2882 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2889 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output() local
2891 if (hse == NULL) in __sort_dimension__add_hpp_output()
2894 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
3196 struct hpp_sort_entry *hse, *new_hse; in perf_hpp_fmt__dup() local
3198 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
3199 new_hse = memdup(hse, sizeof(*hse)); in perf_hpp_fmt__dup()
3909 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
3915 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
3916 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
3973 struct hpp_sort_entry *hse; in sort__setup_elide() local
3979 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
3980 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()