Lines Matching refs:attribute
34 struct attribute attr;
94 struct attribute *attr, in elog_attr_show()
97 struct elog_attribute *attribute; in elog_attr_show() local
100 attribute = to_elog_attr(attr); in elog_attr_show()
103 if (!attribute->show) in elog_attr_show()
106 return attribute->show(elog, attribute, buf); in elog_attr_show()
110 struct attribute *attr, in elog_attr_store()
113 struct elog_attribute *attribute; in elog_attr_store() local
116 attribute = to_elog_attr(attr); in elog_attr_store()
119 if (!attribute->store) in elog_attr_store()
122 return attribute->store(elog, attribute, buf, len); in elog_attr_store()
139 static struct attribute *elog_default_attrs[] = {