Lines Matching refs:hse

1642 	struct hpp_sort_entry *hse;  in perf_hpp__reset_sort_width()  local
1647 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1648 hists__new_col_len(hists, hse->se->se_width_idx, strlen(fmt->name)); in perf_hpp__reset_sort_width()
1655 struct hpp_sort_entry *hse; in __sort__hpp_header() local
1658 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1661 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_header()
1670 struct hpp_sort_entry *hse; in __sort__hpp_width() local
1673 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1676 len = hists__col_len(hists, hse->se->se_width_idx); in __sort__hpp_width()
1684 struct hpp_sort_entry *hse; in __sort__hpp_entry() local
1687 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry()
1690 len = hists__col_len(he->hists, hse->se->se_width_idx); in __sort__hpp_entry()
1692 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
1698 struct hpp_sort_entry *hse; in __sort__hpp_cmp() local
1700 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp()
1701 return hse->se->se_cmp(a, b); in __sort__hpp_cmp()
1707 struct hpp_sort_entry *hse; in __sort__hpp_collapse() local
1710 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse()
1711 collapse_fn = hse->se->se_collapse ?: hse->se->se_cmp; in __sort__hpp_collapse()
1718 struct hpp_sort_entry *hse; in __sort__hpp_sort() local
1721 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_sort()
1722 sort_fn = hse->se->se_sort ?: hse->se->se_cmp; in __sort__hpp_sort()
1734 struct hpp_sort_entry *hse; \
1739 hse = container_of(fmt, struct hpp_sort_entry, hpp); \
1740 return hse->se == &sort_ ## key ; \
1768 struct hpp_sort_entry *hse; in hse_free() local
1770 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_free()
1771 free(hse); in hse_free()
1777 struct hpp_sort_entry *hse; in __sort_dimension__alloc_hpp() local
1779 hse = malloc(sizeof(*hse)); in __sort_dimension__alloc_hpp()
1780 if (hse == NULL) { in __sort_dimension__alloc_hpp()
1785 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
1786 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1787 hse->hpp.header = __sort__hpp_header; in __sort_dimension__alloc_hpp()
1788 hse->hpp.width = __sort__hpp_width; in __sort_dimension__alloc_hpp()
1789 hse->hpp.entry = __sort__hpp_entry; in __sort_dimension__alloc_hpp()
1790 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
1792 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1793 hse->hpp.collapse = __sort__hpp_collapse; in __sort_dimension__alloc_hpp()
1794 hse->hpp.sort = __sort__hpp_sort; in __sort_dimension__alloc_hpp()
1795 hse->hpp.equal = __sort__hpp_equal; in __sort_dimension__alloc_hpp()
1796 hse->hpp.free = hse_free; in __sort_dimension__alloc_hpp()
1798 INIT_LIST_HEAD(&hse->hpp.list); in __sort_dimension__alloc_hpp()
1799 INIT_LIST_HEAD(&hse->hpp.sort_list); in __sort_dimension__alloc_hpp()
1800 hse->hpp.elide = false; in __sort_dimension__alloc_hpp()
1801 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
1802 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
1803 hse->hpp.level = level; in __sort_dimension__alloc_hpp()
1805 return hse; in __sort_dimension__alloc_hpp()
1832 struct hpp_sort_entry *hse; in hist_entry__filter() local
1840 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hist_entry__filter()
1841 if (hse->se->se_filter == NULL) in hist_entry__filter()
1848 r = hse->se->se_filter(he, type, arg); in hist_entry__filter()
1863 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort() local
1865 if (hse == NULL) in __sort_dimension__add_hpp_sort()
1868 perf_hpp_list__register_sort_field(list, &hse->hpp); in __sort_dimension__add_hpp_sort()
1875 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output() local
1877 if (hse == NULL) in __sort_dimension__add_hpp_output()
1880 perf_hpp_list__column_register(list, &hse->hpp); in __sort_dimension__add_hpp_output()
2162 struct hpp_sort_entry *hse, *new_hse; in perf_hpp_fmt__dup() local
2164 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp_fmt__dup()
2165 new_hse = memdup(hse, sizeof(*hse)); in perf_hpp_fmt__dup()
2755 struct hpp_sort_entry *hse; in perf_hpp__set_elide() local
2761 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__set_elide()
2762 if (hse->se->se_width_idx == idx) { in perf_hpp__set_elide()
2815 struct hpp_sort_entry *hse; in sort__setup_elide() local
2821 hse = container_of(fmt, struct hpp_sort_entry, hpp); in sort__setup_elide()
2822 fmt->elide = get_elide(hse->se->se_width_idx, output); in sort__setup_elide()