de_attr 251 arch/x86/events/intel/pt.c struct dev_ext_attribute *de_attr = de_attrs + i; de_attr 253 arch/x86/events/intel/pt.c de_attr->attr.attr.name = pt_caps[i].name; de_attr 255 arch/x86/events/intel/pt.c sysfs_attr_init(&de_attr->attr.attr); de_attr 257 arch/x86/events/intel/pt.c de_attr->attr.attr.mode = S_IRUGO; de_attr 258 arch/x86/events/intel/pt.c de_attr->attr.show = pt_cap_show; de_attr 259 arch/x86/events/intel/pt.c de_attr->var = (void *)i; de_attr 261 arch/x86/events/intel/pt.c attrs[i] = &de_attr->attr.attr;