Lines Matching refs:hse

1775 	struct hpp_sort_entry *hse;  in perf_hpp__reset_sort_width()  local
1780 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1781 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
1788 struct hpp_sort_entry *hse; in __sort__hpp_header() local
1791 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1794 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_header()
1803 struct hpp_sort_entry *hse; in __sort__hpp_width() local
1806 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1809 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_width()
1817 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
1820 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1823 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
1825 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
1831 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
1833 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
1834 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
1840 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
1843 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
1844 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
1851 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
1854 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
1855 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
1867 struct hpp_sort_entry *hse; \
1872 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
1873 return hse->se == &sort_ ## key ; \
1901 struct hpp_sort_entry *hse; in hse_free() local
1903 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
1904 free(hse); in hse_free()
1910 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
1912 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
1913 if (hse == NULL) { in __sort_dimension__alloc_hpp()
1918 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
1919 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1920 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
1921 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
1922 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
1923 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
1925 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1926 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
1927 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
1928 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
1929 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
1931 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
1932 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
1933 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
1934 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
1935 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
1936 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
1938 return hse; in __sort_dimension__alloc_hpp()
1965 struct hpp_sort_entry *hse; in hist_entry__filter() local
1973 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
1974 if (hse->se->se_filter == NULL) in hist_entry__filter()
1981 r = hse->se->se_filter(he, type, arg); in hist_entry__filter()
1996 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort() local
1998 if (hse == NULL) in __sort_dimension__add_hpp_sort()
2001 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
2008 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output() local
2010 if (hse == NULL) in __sort_dimension__add_hpp_output()
2013 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2295 struct hpp_sort_entry *hse, *new_hse; in perf_hpp_fmt__dup() local
2297 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2298 new_hse = memdup(hse, sizeof(*hse)); in perf_hpp_fmt__dup()
2888 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
2894 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
2895 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
2948 struct hpp_sort_entry *hse; in sort__setup_elide() local
2954 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
2955 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()