Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 3 of 3) sorted by relevance

/samples/kobject/
Dkobject-example.c30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show()
36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store()
56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show()
68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
Dkset-example.c32 struct kobject kobj; member
54 static ssize_t foo_attr_show(struct kobject *kobj, in foo_attr_show()
74 static ssize_t foo_attr_store(struct kobject *kobj, in foo_attr_store()
103 static void foo_release(struct kobject *kobj) in foo_release()
/samples/vfio-mdev/
Dmtty.c730 int mtty_create(struct kobject *kobj, struct mdev_device *mdev) in mtty_create()
1338 name_show(struct kobject *kobj, struct device *dev, char *buf) in name_show()
1357 available_instances_show(struct kobject *kobj, struct device *dev, char *buf) in available_instances_show()
1385 static ssize_t device_api_show(struct kobject *kobj, struct device *dev, in device_api_show()