Home
last modified time | relevance | path

Searched refs:pattrs (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c27 struct powercap_attr *pattrs; member
185 pcaps[i].pattrs = kcalloc(j, sizeof(struct powercap_attr), in opal_powercap_init()
187 if (!pcaps[i].pattrs) in opal_powercap_init()
193 kfree(pcaps[i].pattrs); in opal_powercap_init()
200 kfree(pcaps[i].pattrs); in opal_powercap_init()
207 &pcaps[i].pattrs[j]); in opal_powercap_init()
208 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
214 &pcaps[i].pattrs[j]); in opal_powercap_init()
215 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
221 &pcaps[i].pattrs[j]); in opal_powercap_init()
[all …]
/linux/tools/perf/util/
H A Dtrace-event-info.c505 get_tracepoints_path(struct list_head *pattrs) in get_tracepoints_path() argument
511 list_for_each_entry(pos, pattrs, core.node) { in get_tracepoints_path()
542 bool have_tracepoints(struct list_head *pattrs) in have_tracepoints() argument
546 list_for_each_entry(pos, pattrs, core.node) in have_tracepoints()
592 struct tracing_data *tracing_data_get(struct list_head *pattrs, in tracing_data_get() argument
601 tps = get_tracepoints_path(pattrs); in tracing_data_get()
688 int read_tracing_data(int fd, struct list_head *pattrs) in read_tracing_data() argument
697 tdata = tracing_data_get(pattrs, fd, false); in read_tracing_data()
H A Dtrace-event.h63 int read_tracing_data(int fd, struct list_head *pattrs);
78 struct tracing_data *tracing_data_get(struct list_head *pattrs,