foo_attribute 47 samples/kobject/kobject-example.c static struct kobj_attribute foo_attribute = foo_attribute 93 samples/kobject/kobject-example.c &foo_attribute.attr, foo_attribute 40 samples/kobject/kset-example.c ssize_t (*show)(struct foo_obj *foo, struct foo_attribute *attr, char *buf); foo_attribute 41 samples/kobject/kset-example.c ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count); foo_attribute 43 samples/kobject/kset-example.c #define to_foo_attr(x) container_of(x, struct foo_attribute, attr) foo_attribute 56 samples/kobject/kset-example.c struct foo_attribute *attribute; foo_attribute 76 samples/kobject/kset-example.c struct foo_attribute *attribute; foo_attribute 112 samples/kobject/kset-example.c static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, foo_attribute 118 samples/kobject/kset-example.c static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr, foo_attribute 131 samples/kobject/kset-example.c static struct foo_attribute foo_attribute = foo_attribute 138 samples/kobject/kset-example.c static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, foo_attribute 150 samples/kobject/kset-example.c static ssize_t b_store(struct foo_obj *foo_obj, struct foo_attribute *attr, foo_attribute 166 samples/kobject/kset-example.c static struct foo_attribute baz_attribute = foo_attribute 168 samples/kobject/kset-example.c static struct foo_attribute bar_attribute = foo_attribute 176 samples/kobject/kset-example.c &foo_attribute.attr,