Lines Matching refs:kobj_attribute

537 	struct kobj_attribute *kobj_attr;  in cache_index_show()
539 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show()
553 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
566 static struct kobj_attribute cache_size_attr =
570 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
583 static struct kobj_attribute cache_line_size_attr =
586 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
599 static struct kobj_attribute cache_nr_sets_attr =
602 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
615 static struct kobj_attribute cache_assoc_attr =
618 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in type_show()
627 static struct kobj_attribute cache_type_attr =
630 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in level_show()
641 static struct kobj_attribute cache_level_attr =
668 show_shared_cpumap(struct kobject *k, struct kobj_attribute *attr, char *buf, bool list) in show_shared_cpumap()
688 static ssize_t shared_cpu_map_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in shared_cpu_map_show()
693 static ssize_t shared_cpu_list_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in shared_cpu_list_show()
698 static struct kobj_attribute cache_shared_cpu_map_attr =
701 static struct kobj_attribute cache_shared_cpu_list_attr =
719 static struct kobj_attribute *cache_index_opt_attrs[] = {
756 struct kobj_attribute *attr; in cacheinfo_create_index_opt_attrs()