Lines Matching refs:c2c_fmt
419 struct c2c_fmt { struct
443 struct c2c_fmt *c2c_fmt; in c2c_width() argument
446 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_width()
447 dim = c2c_fmt->dim; in c2c_width()
453 c2c_fmt->dim->width; in c2c_width()
460 struct c2c_fmt *c2c_fmt; in c2c_header() local
465 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_header()
466 dim = c2c_fmt->dim; in c2c_header()
1717 struct c2c_fmt *c2c_fmt; in fmt_free() local
1719 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in fmt_free()
1720 free(c2c_fmt); in fmt_free()
1725 struct c2c_fmt *c2c_a = container_of(a, struct c2c_fmt, fmt); in fmt_equal()
1726 struct c2c_fmt *c2c_b = container_of(b, struct c2c_fmt, fmt); in fmt_equal()
1748 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_entry() local
1749 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_entry()
1765 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_cmp() local
1766 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_cmp()
1774 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_collapse() local
1775 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_collapse()
1782 static struct c2c_fmt *get_format(const char *name) in get_format()
1785 struct c2c_fmt *c2c_fmt; in get_format() local
1791 c2c_fmt = zalloc(sizeof(*c2c_fmt)); in get_format()
1792 if (!c2c_fmt) in get_format()
1795 c2c_fmt->dim = dim; in get_format()
1797 fmt = &c2c_fmt->fmt; in get_format()
1811 return c2c_fmt; in get_format()
1816 struct c2c_fmt *c2c_fmt = get_format(name); in c2c_hists__init_output() local
1818 if (!c2c_fmt) { in c2c_hists__init_output()
1823 perf_hpp_list__column_register(hpp_list, &c2c_fmt->fmt); in c2c_hists__init_output()
1829 struct c2c_fmt *c2c_fmt = get_format(name); in c2c_hists__init_sort() local
1832 if (!c2c_fmt) { in c2c_hists__init_sort()
1837 dim = c2c_fmt->dim; in c2c_hists__init_sort()
1841 perf_hpp_list__register_sort_field(hpp_list, &c2c_fmt->fmt); in c2c_hists__init_sort()