Home
last modified time | relevance | path

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

/linux-6.15/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 …]
/linux-6.15/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,
/linux-6.15/drivers/nvmem/
H A Dcore.c464 const struct bin_attribute **pattrs; in nvmem_populate_sysfs_cells() local
476 pattrs = devm_kcalloc(&nvmem->dev, ncells + 1, in nvmem_populate_sysfs_cells()
478 if (!pattrs) { in nvmem_populate_sysfs_cells()
505 pattrs[i] = &attrs[i]; in nvmem_populate_sysfs_cells()
509 group.bin_attrs_new = pattrs; in nvmem_populate_sysfs_cells()