Lines Matching refs:attribute
34 struct attribute attr;
146 static struct attribute *initiate_attrs[] = {
158 struct attribute *attr, in dump_attr_show()
161 struct dump_attribute *attribute; in dump_attr_show() local
164 attribute = to_dump_attr(attr); in dump_attr_show()
167 if (!attribute->show) in dump_attr_show()
170 return attribute->show(dump, attribute, buf); in dump_attr_show()
174 struct attribute *attr, in dump_attr_store()
177 struct dump_attribute *attribute; in dump_attr_store() local
180 attribute = to_dump_attr(attr); in dump_attr_store()
183 if (!attribute->store) in dump_attr_store()
186 return attribute->store(dump, attribute, buf, len); in dump_attr_store()
203 static struct attribute *dump_default_attrs[] = {