Lines Matching defs:attr
28 static ssize_t show_online(struct sys_device *dev, struct sysdev_attribute *attr,
36 static ssize_t __ref store_online(struct sys_device *dev, struct sysdev_attribute *attr,
84 struct sysdev_class_attribute *attr,
92 struct sysdev_class_attribute *attr,
112 static ssize_t show_crash_notes(struct sys_device *dev, struct sysdev_attribute *attr,
140 struct sysdev_class_attribute attr;
145 struct sysdev_class_attribute *attr,
148 struct cpu_attr *ca = container_of(attr, struct cpu_attr, attr);
170 struct sysdev_class_attribute *attr, char *buf)
181 struct sysdev_class_attribute *attr, char *buf)
268 &cpu_attrs[0].attr,
269 &cpu_attrs[1].attr,
270 &cpu_attrs[2].attr,