Searched refs:attribute (Results 1 – 5 of 5) sorted by relevance
39 struct attribute attr;53 struct attribute *attr, in foo_attr_show()56 struct foo_attribute *attribute; in foo_attr_show() local59 attribute = to_foo_attr(attr); in foo_attr_show()62 if (!attribute->show) in foo_attr_show()65 return attribute->show(foo, attribute, buf); in foo_attr_show()73 struct attribute *attr, in foo_attr_store()76 struct foo_attribute *attribute; in foo_attr_store() local79 attribute = to_foo_attr(attr); in foo_attr_store()82 if (!attribute->store) in foo_attr_store()[all …]
92 static struct attribute *attrs[] = {
651 static struct attribute *mdev_dev_attrs[] = {698 static struct attribute *mdev_types_attrs[] = {
1269 static struct attribute *mtty_dev_attrs[] = {1296 static struct attribute *mdev_dev_attrs[] = {1367 static struct attribute *mdev_types_attrs[] = {
1327 static struct attribute *mdev_dev_attrs[] = {1376 static struct attribute *mdev_types_attrs[] = {