Lines Matching refs:kobj_attribute
523 struct kobj_attribute *kobj_attr; in cache_index_show()
525 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show()
539 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
552 static struct kobj_attribute cache_size_attr =
556 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
569 static struct kobj_attribute cache_line_size_attr =
572 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
585 static struct kobj_attribute cache_nr_sets_attr =
588 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
601 static struct kobj_attribute cache_assoc_attr =
604 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in type_show()
613 static struct kobj_attribute cache_type_attr =
616 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in level_show()
627 static struct kobj_attribute cache_level_attr =
630 static ssize_t shared_cpu_map_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in shared_cpu_map_show()
646 static struct kobj_attribute cache_shared_cpu_map_attr =
663 static struct kobj_attribute *cache_index_opt_attrs[] = {
700 struct kobj_attribute *attr; in cacheinfo_create_index_opt_attrs()