Searched defs:foo_obj (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/samples/kobject/ |
D | kset-example.c | 29 struct foo_obj { struct 35 #define to_foo_obj(x) container_of(x, struct foo_obj, kobj) argument 112 static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_show() 118 static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_store() 138 static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_show() 150 static ssize_t b_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_store() 195 static struct foo_obj *foo_obj; variable
|