Lines Matching refs:c2c_fmt
440 struct c2c_fmt { struct
464 struct c2c_fmt *c2c_fmt; in c2c_width() local
467 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_width()
468 dim = c2c_fmt->dim; in c2c_width()
474 c2c_fmt->dim->width; in c2c_width()
481 struct c2c_fmt *c2c_fmt; in c2c_header() local
486 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_header()
487 dim = c2c_fmt->dim; in c2c_header()
1889 struct c2c_fmt *c2c_fmt; in fmt_free() local
1891 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in fmt_free()
1892 free(c2c_fmt); in fmt_free()
1897 struct c2c_fmt *c2c_a = container_of(a, struct c2c_fmt, fmt); in fmt_equal()
1898 struct c2c_fmt *c2c_b = container_of(b, struct c2c_fmt, fmt); in fmt_equal()
1920 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_entry() local
1921 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_entry()
1937 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_cmp() local
1938 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_cmp()
1946 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_collapse() local
1947 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_collapse()
1954 static struct c2c_fmt *get_format(const char *name) in get_format()
1957 struct c2c_fmt *c2c_fmt; in get_format() local
1963 c2c_fmt = zalloc(sizeof(*c2c_fmt)); in get_format()
1964 if (!c2c_fmt) in get_format()
1967 c2c_fmt->dim = dim; in get_format()
1969 fmt = &c2c_fmt->fmt; in get_format()
1983 return c2c_fmt; in get_format()
1988 struct c2c_fmt *c2c_fmt = get_format(name); in c2c_hists__init_output() local
1990 if (!c2c_fmt) { in c2c_hists__init_output()
1995 perf_hpp_list__column_register(hpp_list, &c2c_fmt->fmt); in c2c_hists__init_output()
2001 struct c2c_fmt *c2c_fmt = get_format(name); in c2c_hists__init_sort() local
2004 if (!c2c_fmt) { in c2c_hists__init_sort()
2009 dim = c2c_fmt->dim; in c2c_hists__init_sort()
2013 perf_hpp_list__register_sort_field(hpp_list, &c2c_fmt->fmt); in c2c_hists__init_sort()