• Home
  • Raw
  • Download

Lines Matching refs:hse

1746 	struct hpp_sort_entry *hse;  in perf_hpp__reset_sort_width()  local
1751 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1752 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
1759 struct hpp_sort_entry *hse; in __sort__hpp_header() local
1762 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1765 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_header()
1774 struct hpp_sort_entry *hse; in __sort__hpp_width() local
1777 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1780 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_width()
1788 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
1791 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1794 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
1796 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
1802 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
1804 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
1805 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
1811 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
1814 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
1815 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
1822 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
1825 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
1826 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
1838 struct hpp_sort_entry *hse; \
1843 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
1844 return hse->se == &sort_ ## key ; \
1872 struct hpp_sort_entry *hse; in hse_free() local
1874 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
1875 free(hse); in hse_free()
1881 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
1883 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
1884 if (hse == NULL) { in __sort_dimension__alloc_hpp()
1889 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
1890 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1891 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
1892 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
1893 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
1894 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
1896 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1897 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
1898 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
1899 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
1900 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
1902 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
1903 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
1904 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
1905 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
1906 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
1907 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
1909 return hse; in __sort_dimension__alloc_hpp()
1936 struct hpp_sort_entry *hse; in hist_entry__filter() local
1944 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
1945 if (hse->se->se_filter == NULL) in hist_entry__filter()
1952 r = hse->se->se_filter(he, type, arg); in hist_entry__filter()
1967 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort() local
1969 if (hse == NULL) in __sort_dimension__add_hpp_sort()
1972 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
1979 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output() local
1981 if (hse == NULL) in __sort_dimension__add_hpp_output()
1984 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2266 struct hpp_sort_entry *hse, *new_hse; in perf_hpp_fmt__dup() local
2268 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2269 new_hse = memdup(hse, sizeof(*hse)); in perf_hpp_fmt__dup()
2859 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
2865 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
2866 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
2919 struct hpp_sort_entry *hse; in sort__setup_elide() local
2925 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
2926 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()