Lines Matching refs:peer_attribute
1436 static ssize_t features_show(struct kobject *kobj, struct peer_attribute *attr,
1444 static ssize_t event_show(struct kobject *kobj, struct peer_attribute *attr,
1476 static ssize_t stash_show(struct kobject *kobj, struct peer_attribute *attr,
1500 static ssize_t restore_show(struct kobject *kobj, struct peer_attribute *attr,
1524 static ssize_t rebuild_show(struct kobject *kobj, struct peer_attribute *attr,
1546 static struct peer_attribute peer_features_attr = __ATTR_RO(features);
1547 static struct peer_attribute peer_event_attr = __ATTR_RO(event);
1548 static struct peer_attribute peer_stash_attr = __ATTR_RO(stash);
1549 static struct peer_attribute peer_restore_attr = __ATTR_RO(restore);
1550 static struct peer_attribute peer_rebuild_attr = __ATTR_RO(rebuild);
1565 struct peer_attribute *peer_attr = to_peer_attr(attr);
1575 struct peer_attribute *peer_attr = to_peer_attr(attr);