/Linux-v5.4/drivers/perf/ |
D | arm_dsu_pmu.c | 76 (&((struct dev_ext_attribute[]) { \ 136 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show() 137 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 | 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() 134 &((struct dev_ext_attribute[]) { \
|
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[]) { \ 281 struct dev_ext_attribute *eattr; in xgene_pmu_event_show() 283 eattr = container_of(attr, struct dev_ext_attribute, attr); in xgene_pmu_event_show() 288 (&((struct dev_ext_attribute[]) { \
|
D | thunderx2_pmu.c | 123 struct dev_ext_attribute *eattr; in tx2_pmu_event_show() 125 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 = \
|
/Linux-v5.4/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 31 struct dev_ext_attribute *eattr; in hisi_format_sysfs_show() 33 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_format_sysfs_show() 44 struct dev_ext_attribute *eattr; in hisi_event_sysfs_show() 46 eattr = container_of(attr, struct dev_ext_attribute, attr); in hisi_event_sysfs_show()
|
D | hisi_uncore_pmu.h | 27 (&((struct dev_ext_attribute[]) { \
|
/Linux-v5.4/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 514 struct dev_ext_attribute *ea; in etm_perf_sink_name_show() 516 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show() 527 struct dev_ext_attribute *ea; in etm_perf_add_symlink_sink() 568 struct dev_ext_attribute *ea = csdev->ea; in etm_perf_del_symlink_sink()
|
/Linux-v5.4/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() 245 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init() 251 struct dev_ext_attribute *de_attr = de_attrs + i; in pt_pmu_hw_init()
|
/Linux-v5.4/include/linux/ |
D | coresight.h | 168 struct dev_ext_attribute *ea;
|
D | device.h | 813 struct dev_ext_attribute { struct 843 struct dev_ext_attribute dev_attr_##_name = \ 846 struct dev_ext_attribute dev_attr_##_name = \ 849 struct dev_ext_attribute dev_attr_##_name = \
|
/Linux-v5.4/drivers/base/ |
D | core.c | 993 #define to_ext_attr(x) container_of(x, struct dev_ext_attribute, attr) 999 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong() 1016 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong() 1025 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int() 1045 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int() 1054 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool() 1066 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool()
|
/Linux-v5.4/arch/powerpc/perf/ |
D | hv-24x7.c | 382 struct dev_ext_attribute *d; in device_show_string() 384 d = container_of(attr, struct dev_ext_attribute, attr); in device_show_string() 391 struct dev_ext_attribute *attr = kzalloc(sizeof(*attr), GFP_KERNEL); in device_str_attr_create_()
|
/Linux-v5.4/arch/x86/kernel/cpu/mce/ |
D | core.c | 2225 static struct dev_ext_attribute dev_attr_check_interval = { 2230 static struct dev_ext_attribute dev_attr_ignore_ce = { 2235 static struct dev_ext_attribute dev_attr_cmci_disabled = {
|