Searched refs:foo_obj (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/samples/kobject/ |
H A D | kset-example.c | 31 struct foo_obj { struct 37 #define to_foo_obj(x) container_of(x, struct foo_obj, kobj) 39 /* a custom attribute that works just for a struct foo_obj. */ 42 ssize_t (*show)(struct foo_obj *foo, struct foo_attribute *attr, char *buf); 43 ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count); 51 * transpose back from a "default" kobject to our custom struct foo_obj and 59 struct foo_obj *foo; 79 struct foo_obj *foo; 105 struct foo_obj *foo; 114 static ssize_t foo_show(struct foo_obj *foo_ob argument 120 foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr, const char *buf, size_t count) argument 134 b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, char *buf) argument 146 b_store(struct foo_obj *foo_obj, struct foo_attribute *attr, const char *buf, size_t count) argument 187 static struct foo_obj *foo_obj; variable in typeref:struct:foo_obj [all...] |
Completed in 36 milliseconds