Lines Matching refs:c2c_fmt
423 struct c2c_fmt { struct
447 struct c2c_fmt *c2c_fmt; in c2c_width() local
450 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_width()
451 dim = c2c_fmt->dim; in c2c_width()
457 c2c_fmt->dim->width; in c2c_width()
464 struct c2c_fmt *c2c_fmt; in c2c_header() local
469 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_header()
470 dim = c2c_fmt->dim; in c2c_header()
1872 struct c2c_fmt *c2c_fmt; in fmt_free() local
1874 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in fmt_free()
1875 free(c2c_fmt); in fmt_free()
1880 struct c2c_fmt *c2c_a = container_of(a, struct c2c_fmt, fmt); in fmt_equal()
1881 struct c2c_fmt *c2c_b = container_of(b, struct c2c_fmt, fmt); in fmt_equal()
1903 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_entry() local
1904 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_entry()
1920 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_cmp() local
1921 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_cmp()
1929 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_collapse() local
1930 struct c2c_dimension *dim = c2c_fmt->dim; in c2c_se_collapse()
1937 static struct c2c_fmt *get_format(const char *name) in get_format()
1940 struct c2c_fmt *c2c_fmt; in get_format() local
1946 c2c_fmt = zalloc(sizeof(*c2c_fmt)); in get_format()
1947 if (!c2c_fmt) in get_format()
1950 c2c_fmt->dim = dim; in get_format()
1952 fmt = &c2c_fmt->fmt; in get_format()
1966 return c2c_fmt; in get_format()
1971 struct c2c_fmt *c2c_fmt = get_format(name); in c2c_hists__init_output() local
1973 if (!c2c_fmt) { in c2c_hists__init_output()
1978 perf_hpp_list__column_register(hpp_list, &c2c_fmt->fmt); in c2c_hists__init_output()
1984 struct c2c_fmt *c2c_fmt = get_format(name); in c2c_hists__init_sort() local
1987 if (!c2c_fmt) { in c2c_hists__init_sort()
1992 dim = c2c_fmt->dim; in c2c_hists__init_sort()
1996 perf_hpp_list__register_sort_field(hpp_list, &c2c_fmt->fmt); in c2c_hists__init_sort()