Lines Matching refs:attribute
35 struct attribute attr;
147 static struct attribute *initiate_attrs[] = {
159 struct attribute *attr, in dump_attr_show()
162 struct dump_attribute *attribute; in dump_attr_show() local
165 attribute = to_dump_attr(attr); in dump_attr_show()
168 if (!attribute->show) in dump_attr_show()
171 return attribute->show(dump, attribute, buf); in dump_attr_show()
175 struct attribute *attr, in dump_attr_store()
178 struct dump_attribute *attribute; in dump_attr_store() local
181 attribute = to_dump_attr(attr); in dump_attr_store()
184 if (!attribute->store) in dump_attr_store()
187 return attribute->store(dump, attribute, buf, len); in dump_attr_store()
204 static struct attribute *dump_default_attrs[] = {