Lines Matching refs:attribute
35 struct attribute attr;
95 struct attribute *attr, in elog_attr_show()
98 struct elog_attribute *attribute; in elog_attr_show() local
101 attribute = to_elog_attr(attr); in elog_attr_show()
104 if (!attribute->show) in elog_attr_show()
107 return attribute->show(elog, attribute, buf); in elog_attr_show()
111 struct attribute *attr, in elog_attr_store()
114 struct elog_attribute *attribute; in elog_attr_store() local
117 attribute = to_elog_attr(attr); in elog_attr_store()
120 if (!attribute->store) in elog_attr_store()
123 return attribute->store(elog, attribute, buf, len); in elog_attr_store()
140 static struct attribute *elog_default_attrs[] = {