struct class_attribute { struct attribute attr; ssize_t (*show)(struct class *, char *buf); ssize_t (*store)(struct class *, const char *buf, size_t count); };