Lines Matching refs:attribute
31 struct attribute attr;
148 static struct attribute *initiate_attrs[] = {
160 struct attribute *attr, in dump_attr_show()
163 struct dump_attribute *attribute; in dump_attr_show() local
166 attribute = to_dump_attr(attr); in dump_attr_show()
169 if (!attribute->show) in dump_attr_show()
172 return attribute->show(dump, attribute, buf); in dump_attr_show()
176 struct attribute *attr, in dump_attr_store()
179 struct dump_attribute *attribute; in dump_attr_store() local
182 attribute = to_dump_attr(attr); in dump_attr_store()
185 if (!attribute->store) in dump_attr_store()
188 return attribute->store(dump, attribute, buf, len); in dump_attr_store()
205 static struct attribute *dump_default_attrs[] = {