Lines Matching refs:hse

1950 	struct hpp_sort_entry *hse;  in perf_hpp__reset_sort_width()  local
1955 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1956 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
1963 struct hpp_sort_entry *hse; in __sort__hpp_header() local
1966 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1969 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_header()
1978 struct hpp_sort_entry *hse; in __sort__hpp_width() local
1981 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1984 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_width()
1992 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
1995 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1998 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
2000 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
2006 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
2008 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
2009 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
2015 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
2018 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
2019 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
2026 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
2029 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
2030 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
2042 struct hpp_sort_entry *hse; \
2047 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
2048 return hse->se == &sort_ ## key ; \
2076 struct hpp_sort_entry *hse; in hse_free() local
2078 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
2079 free(hse); in hse_free()
2085 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
2087 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
2088 if (hse == NULL) { in __sort_dimension__alloc_hpp()
2093 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
2094 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
2095 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
2096 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
2097 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
2098 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
2100 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
2101 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
2102 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
2103 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
2104 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
2106 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
2107 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
2108 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
2109 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
2110 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
2111 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
2113 return hse; in __sort_dimension__alloc_hpp()
2140 struct hpp_sort_entry *hse; in hist_entry__filter() local
2148 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
2149 if (hse->se->se_filter == NULL) in hist_entry__filter()
2156 r = hse->se->se_filter(he, type, arg); in hist_entry__filter()
2171 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort() local
2173 if (hse == NULL) in __sort_dimension__add_hpp_sort()
2176 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2183 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output() local
2185 if (hse == NULL) in __sort_dimension__add_hpp_output()
2188 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2470 struct hpp_sort_entry *hse, *new_hse; in perf_hpp_fmt__dup() local
2472 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2473 new_hse = memdup(hse, sizeof(*hse)); in perf_hpp_fmt__dup()
3081 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
3087 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
3088 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
3141 struct hpp_sort_entry *hse; in sort__setup_elide() local
3147 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
3148 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()