Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 5 of 5) sorted by relevance

/samples/kobject/
Dkset-example.c39 struct attribute attr;
53 struct attribute *attr, in foo_attr_show()
56 struct foo_attribute *attribute; in foo_attr_show() local
59 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() local
79 attribute = to_foo_attr(attr); in foo_attr_store()
82 if (!attribute->store) in foo_attr_store()
[all …]
Dkobject-example.c92 static struct attribute *attrs[] = {
/samples/vfio-mdev/
Dmdpy.c651 static struct attribute *mdev_dev_attrs[] = {
698 static struct attribute *mdev_types_attrs[] = {
Dmtty.c1269 static struct attribute *mtty_dev_attrs[] = {
1296 static struct attribute *mdev_dev_attrs[] = {
1367 static struct attribute *mdev_types_attrs[] = {
Dmbochs.c1327 static struct attribute *mdev_dev_attrs[] = {
1376 static struct attribute *mdev_types_attrs[] = {