/Linux-v5.15/drivers/perf/ |
D | arm_dsu_pmu.c | 77 (&((struct dev_ext_attribute[]) { \ 137 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show() 138 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_event_show() 146 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show() 147 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_format_show() 157 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_cpumask_show() 158 struct dev_ext_attribute, attr); in dsu_pmu_cpumask_show() 203 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_event_attr_is_visible() 204 struct dev_ext_attribute, attr.attr); in dsu_pmu_event_attr_is_visible()
|
D | arm-cci.c | 139 &((struct dev_ext_attribute[]) { \ 307 struct dev_ext_attribute *eattr = container_of(attr, in cci400_pmu_cycle_event_show() 308 struct dev_ext_attribute, attr); in cci400_pmu_cycle_event_show() 525 struct dev_ext_attribute *eattr = container_of(attr, in cci5xx_pmu_global_event_show() 526 struct dev_ext_attribute, attr); in cci5xx_pmu_global_event_show() 697 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_format_show() 698 struct dev_ext_attribute, attr); in cci_pmu_format_show() 705 struct dev_ext_attribute *eattr = container_of(attr, in cci_pmu_event_show() 706 struct dev_ext_attribute, attr); in cci_pmu_event_show()
|
D | qcom_l3_pmu.c | 615 struct dev_ext_attribute *eattr; in l3cache_pmu_format_show() 617 eattr = container_of(attr, struct dev_ext_attribute, attr); in l3cache_pmu_format_show() 622 (&((struct dev_ext_attribute[]) { \
|
D | fsl_imx8_ddr_perf.c | 169 struct dev_ext_attribute *ea = in ddr_perf_filter_cap_show() 170 container_of(attr, struct dev_ext_attribute, attr); in ddr_perf_filter_cap_show() 177 (&((struct dev_ext_attribute) { \
|
D | arm_spe_pmu.c | 125 struct dev_ext_attribute *ea = in arm_spe_pmu_cap_show() 126 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show() 133 &((struct dev_ext_attribute[]) { \
|
D | thunderx2_pmu.c | 176 struct dev_ext_attribute *eattr; in tx2_pmu_event_show() 178 eattr = container_of(attr, struct dev_ext_attribute, attr); in tx2_pmu_event_show()
|
D | arm-ccn.c | 221 struct dev_ext_attribute *ea = container_of(attr, in arm_ccn_pmu_format_show() 222 struct dev_ext_attribute, attr); in arm_ccn_pmu_format_show() 228 struct dev_ext_attribute arm_ccn_pmu_format_attr_##_name = \
|
D | xgene_pmu.c | 170 struct dev_ext_attribute *eattr; in xgene_pmu_format_show() 172 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_format_show() 177 (&((struct dev_ext_attribute[]) { \
|
/Linux-v5.15/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 686 struct dev_ext_attribute *ea; in etm_perf_sink_name_show() 688 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show() 692 static struct dev_ext_attribute * 695 struct dev_ext_attribute *ea; in etm_perf_add_symlink_group() 753 static void etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) in etm_perf_del_symlink_group() 778 struct dev_ext_attribute *ea; in etm_perf_cscfg_event_show() 780 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
|
D | coresight-cti-sysfs.c | 945 struct dev_ext_attribute *ext_attr = in con_name_show() 946 container_of(attr, struct dev_ext_attribute, attr); in con_name_show() 956 struct dev_ext_attribute *ext_attr = in trigin_sig_show() 957 container_of(attr, struct dev_ext_attribute, attr); in trigin_sig_show() 970 struct dev_ext_attribute *ext_attr = in trigout_sig_show() 971 container_of(attr, struct dev_ext_attribute, attr); in trigout_sig_show() 996 struct dev_ext_attribute *ext_attr = in trigin_type_show() 997 container_of(attr, struct dev_ext_attribute, attr); in trigin_type_show() 1014 struct dev_ext_attribute *ext_attr = in trigout_type_show() 1015 container_of(attr, struct dev_ext_attribute, attr); in trigout_type_show() [all …]
|
D | coresight-config.h | 142 struct dev_ext_attribute *event_ea;
|
D | coresight-etm4x-sysfs.c | 2354 struct dev_ext_attribute *eattr; in coresight_etm4x_attr_to_offset() 2356 eattr = container_of(attr, struct dev_ext_attribute, attr); in coresight_etm4x_attr_to_offset() 2440 &((struct dev_ext_attribute[]) { \
|
/Linux-v5.15/drivers/fpga/ |
D | dfl-fme-perf.c | 525 struct dev_ext_attribute *eattr; in fme_perf_event_show() 529 eattr = container_of(attr, struct dev_ext_attribute, attr); in fme_perf_event_show() 557 static struct dev_ext_attribute fme_perf_event_##_name = { \ 576 static struct dev_ext_attribute fme_perf_event_cache_##_name = { \ 623 static struct dev_ext_attribute fme_perf_event_fab_##_name = { \ 629 static struct dev_ext_attribute fme_perf_event_fab_port_##_name = { \ 677 struct dev_ext_attribute *eattr; in fme_perf_fabric_events_visible() 680 eattr = container_of(attr, struct dev_ext_attribute, attr.attr); in fme_perf_fabric_events_visible() 697 static struct dev_ext_attribute fme_perf_event_vtd_port_##_name = { \ 729 static struct dev_ext_attribute fme_perf_event_vtd_sip_##_name = { \
|
/Linux-v5.15/drivers/net/phy/ |
D | mdio_bus.c | 221 struct dev_ext_attribute *eattr; in mdio_bus_stat_field_show() 224 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_stat_field_show() 243 struct dev_ext_attribute *eattr; in mdio_bus_device_stat_field_show() 247 eattr = container_of(attr, struct dev_ext_attribute, attr); in mdio_bus_device_stat_field_show() 256 static struct dev_ext_attribute dev_attr_mdio_bus_##field = { \ 264 static struct dev_ext_attribute dev_attr_mdio_bus_device_##field = { \ 282 static struct dev_ext_attribute dev_attr_mdio_bus_addr_##field##_##addr = { \
|
/Linux-v5.15/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 32 struct dev_ext_attribute *eattr; in hisi_format_sysfs_show() 34 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_format_sysfs_show() 46 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show() 48 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
|
D | hisi_uncore_pmu.h | 31 (&((struct dev_ext_attribute[]) { \
|
/Linux-v5.15/include/linux/ |
D | device.h | 107 struct dev_ext_attribute { struct 141 struct dev_ext_attribute dev_attr_##_name = \ 144 struct dev_ext_attribute dev_attr_##_name = \ 147 struct dev_ext_attribute dev_attr_##_name = \
|
D | coresight.h | 240 struct dev_ext_attribute *ea;
|
/Linux-v5.15/arch/x86/events/intel/ |
D | pt.c | 91 struct dev_ext_attribute *ea = in pt_cap_show() 92 container_of(attr, struct dev_ext_attribute, attr); in pt_cap_show() 181 struct dev_ext_attribute *de_attrs; in pt_pmu_hw_init() 243 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init() 249 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
|
D | uncore.h | 205 #define to_dev_ext_attribute(n) container_of(n, struct dev_ext_attribute, attr)
|
D | uncore_snbep.c | 3724 struct dev_ext_attribute *ea = to_dev_ext_attribute(attr); in skx_iio_mapping_show() 3809 struct dev_ext_attribute *eas = NULL; in pmu_iio_set_mapping()
|
/Linux-v5.15/arch/powerpc/perf/ |
D | hv-24x7.c | 444 struct dev_ext_attribute *d; in device_show_string() 446 d = container_of(attr, struct dev_ext_attribute, attr); in device_show_string() 477 struct dev_ext_attribute *attr = kzalloc(sizeof(*attr), GFP_KERNEL); in device_str_attr_create_()
|
/Linux-v5.15/drivers/base/ |
D | core.c | 2122 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr) 2128 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong() 2145 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong() 2154 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int() 2174 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int() 2183 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool() 2195 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
|
/Linux-v5.15/arch/x86/kernel/cpu/mce/ |
D | core.c | 2474 static struct dev_ext_attribute dev_attr_check_interval = { 2479 static struct dev_ext_attribute dev_attr_ignore_ce = { 2484 static struct dev_ext_attribute dev_attr_cmci_disabled = {
|