foo_attribute
static struct kobj_attribute foo_attribute =
&foo_attribute.attr,
static ssize_t foo_show(struct foo_obj *foo_obj, const struct foo_attribute *attr,
static ssize_t foo_store(struct foo_obj *foo_obj, const struct foo_attribute *attr,
static const struct foo_attribute foo_attribute =
static ssize_t b_show(struct foo_obj *foo_obj, const struct foo_attribute *attr,
static ssize_t b_store(struct foo_obj *foo_obj, const struct foo_attribute *attr,
static const struct foo_attribute baz_attribute =
static const struct foo_attribute bar_attribute =
&foo_attribute.attr,
ssize_t (*show)(struct foo_obj *foo, const struct foo_attribute *attr, char *buf);
ssize_t (*store)(struct foo_obj *foo, const struct foo_attribute *attr,
#define to_foo_attr(x) container_of_const(x, struct foo_attribute, attr)
const struct foo_attribute *attribute;
const struct foo_attribute *attribute;