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