Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c27 struct powercap_attr *pattrs; member
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()
221 &pcaps[i].pattrs[j]); in opal_powercap_init()
222 pcaps[i].pattrs[j].attr.attr.mode |= 0220; in opal_powercap_init()
223 pcaps[i].pattrs[j].attr.store = powercap_store; in opal_powercap_init()
[all …]
/openbmc/linux/tools/perf/util/
H A Dtrace-event-info.c504 get_tracepoints_path(struct list_head *pattrs) in get_tracepoints_path() argument
510 list_for_each_entry(pos, pattrs, core.node) { in get_tracepoints_path()
541 bool have_tracepoints(struct list_head *pattrs) in have_tracepoints() argument
545 list_for_each_entry(pos, pattrs, core.node) in have_tracepoints()
591 struct tracing_data *tracing_data_get(struct list_head *pattrs, in tracing_data_get() argument
600 tps = get_tracepoints_path(pattrs); in tracing_data_get()
687 int read_tracing_data(int fd, struct list_head *pattrs) in read_tracing_data() argument
696 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,