Searched refs:foo_attribute (Results 1 - 4 of 4) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/samples/kobject/
H A Dkset-example.c40 struct foo_attribute { struct
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);
45 #define to_foo_attr(x) container_of(x, struct foo_attribute, attr)
58 struct foo_attribute *attribute;
78 struct foo_attribute *attribute;
114 static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr,
120 static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr,
127 static struct foo_attribute foo_attribute variable in typeref:struct:foo_attribute
[all...]
H A Dkobject-example.c43 static struct kobj_attribute foo_attribute = variable in typeref:struct:kobj_attribute
86 &foo_attribute.attr,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/samples/kobject/
H A Dkset-example.c40 struct foo_attribute { struct
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);
45 #define to_foo_attr(x) container_of(x, struct foo_attribute, attr)
58 struct foo_attribute *attribute;
78 struct foo_attribute *attribute;
114 static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr,
120 static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr,
127 static struct foo_attribute foo_attribute variable in typeref:struct:foo_attribute
[all...]
H A Dkobject-example.c43 static struct kobj_attribute foo_attribute = variable in typeref:struct:kobj_attribute
86 &foo_attribute.attr,

Completed in 73 milliseconds