Lines Matching refs:kobj_attribute
520 struct kobj_attribute *kobj_attr; in cache_index_show()
522 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show()
536 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
549 static struct kobj_attribute cache_size_attr =
553 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
566 static struct kobj_attribute cache_line_size_attr =
569 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
582 static struct kobj_attribute cache_nr_sets_attr =
585 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
598 static struct kobj_attribute cache_assoc_attr =
601 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in type_show()
610 static struct kobj_attribute cache_type_attr =
613 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in level_show()
624 static struct kobj_attribute cache_level_attr =
650 static ssize_t shared_cpu_map_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in shared_cpu_map_show()
674 static struct kobj_attribute cache_shared_cpu_map_attr =
691 static struct kobj_attribute *cache_index_opt_attrs[] = {
728 struct kobj_attribute *attr; in cacheinfo_create_index_opt_attrs()