this_leaf          39 arch/arm64/kernel/cacheinfo.c static void ci_leaf_init(struct cacheinfo *this_leaf,
this_leaf          42 arch/arm64/kernel/cacheinfo.c 	this_leaf->level = level;
this_leaf          43 arch/arm64/kernel/cacheinfo.c 	this_leaf->type = type;
this_leaf          86 arch/arm64/kernel/cacheinfo.c 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
this_leaf          92 arch/arm64/kernel/cacheinfo.c 			ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level);
this_leaf          93 arch/arm64/kernel/cacheinfo.c 			ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level);
this_leaf          95 arch/arm64/kernel/cacheinfo.c 			ci_leaf_init(this_leaf++, type, level);
this_leaf         139 arch/ia64/kernel/topology.c 		struct cache_info * this_leaf)
this_leaf         147 arch/ia64/kernel/topology.c 		cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
this_leaf         151 arch/ia64/kernel/topology.c 	if (ia64_pal_cache_shared_info(this_leaf->level,
this_leaf         152 arch/ia64/kernel/topology.c 					this_leaf->type,
this_leaf         163 arch/ia64/kernel/topology.c 				cpumask_set_cpu(j, &this_leaf->shared_cpu_map);
this_leaf         167 arch/ia64/kernel/topology.c 		ia64_pal_cache_shared_info(this_leaf->level,
this_leaf         168 arch/ia64/kernel/topology.c 				this_leaf->type,
this_leaf         174 arch/ia64/kernel/topology.c 		struct cache_info * this_leaf)
this_leaf         176 arch/ia64/kernel/topology.c 	cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
this_leaf         181 arch/ia64/kernel/topology.c static ssize_t show_coherency_line_size(struct cache_info *this_leaf,
this_leaf         184 arch/ia64/kernel/topology.c 	return sprintf(buf, "%u\n", 1 << this_leaf->cci.pcci_line_size);
this_leaf         187 arch/ia64/kernel/topology.c static ssize_t show_ways_of_associativity(struct cache_info *this_leaf,
this_leaf         190 arch/ia64/kernel/topology.c 	return sprintf(buf, "%u\n", this_leaf->cci.pcci_assoc);
this_leaf         193 arch/ia64/kernel/topology.c static ssize_t show_attributes(struct cache_info *this_leaf, char *buf)
this_leaf         197 arch/ia64/kernel/topology.c 			cache_mattrib[this_leaf->cci.pcci_cache_attr]);
this_leaf         200 arch/ia64/kernel/topology.c static ssize_t show_size(struct cache_info *this_leaf, char *buf)
this_leaf         202 arch/ia64/kernel/topology.c 	return sprintf(buf, "%uK\n", this_leaf->cci.pcci_cache_size / 1024);
this_leaf         205 arch/ia64/kernel/topology.c static ssize_t show_number_of_sets(struct cache_info *this_leaf, char *buf)
this_leaf         207 arch/ia64/kernel/topology.c 	unsigned number_of_sets = this_leaf->cci.pcci_cache_size;
this_leaf         208 arch/ia64/kernel/topology.c 	number_of_sets /= this_leaf->cci.pcci_assoc;
this_leaf         209 arch/ia64/kernel/topology.c 	number_of_sets /= 1 << this_leaf->cci.pcci_line_size;
this_leaf         214 arch/ia64/kernel/topology.c static ssize_t show_shared_cpu_map(struct cache_info *this_leaf, char *buf)
this_leaf         219 arch/ia64/kernel/topology.c 				&this_leaf->shared_cpu_map, cpu_online_mask);
this_leaf         224 arch/ia64/kernel/topology.c static ssize_t show_type(struct cache_info *this_leaf, char *buf)
this_leaf         226 arch/ia64/kernel/topology.c 	int type = this_leaf->type + this_leaf->cci.pcci_unified;
this_leaf         230 arch/ia64/kernel/topology.c static ssize_t show_level(struct cache_info *this_leaf, char *buf)
this_leaf         232 arch/ia64/kernel/topology.c 	return sprintf(buf, "%u\n", this_leaf->level);
this_leaf         275 arch/ia64/kernel/topology.c 	struct cache_info *this_leaf = to_object(kobj);
this_leaf         278 arch/ia64/kernel/topology.c 	ret = fattr->show ? fattr->show(this_leaf, buf) : 0;
this_leaf          76 arch/mips/kernel/cacheinfo.c 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
this_leaf          80 arch/mips/kernel/cacheinfo.c 		fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map);
this_leaf          81 arch/mips/kernel/cacheinfo.c 		populate_cache(dcache, this_leaf, 1, CACHE_TYPE_DATA);
this_leaf          82 arch/mips/kernel/cacheinfo.c 		fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map);
this_leaf          83 arch/mips/kernel/cacheinfo.c 		populate_cache(icache, this_leaf, 1, CACHE_TYPE_INST);
this_leaf          85 arch/mips/kernel/cacheinfo.c 		populate_cache(dcache, this_leaf, 1, CACHE_TYPE_UNIFIED);
this_leaf          90 arch/mips/kernel/cacheinfo.c 		fill_cpumask_cluster(cpu, &this_leaf->shared_cpu_map);
this_leaf          91 arch/mips/kernel/cacheinfo.c 		populate_cache(scache, this_leaf, 2, CACHE_TYPE_UNIFIED);
this_leaf          95 arch/mips/kernel/cacheinfo.c 		populate_cache(tcache, this_leaf, 3, CACHE_TYPE_UNIFIED);
this_leaf           8 arch/nds32/kernel/cacheinfo.c static void ci_leaf_init(struct cacheinfo *this_leaf,
this_leaf          13 arch/nds32/kernel/cacheinfo.c 	this_leaf->level = level;
this_leaf          14 arch/nds32/kernel/cacheinfo.c 	this_leaf->type = type;
this_leaf          15 arch/nds32/kernel/cacheinfo.c 	this_leaf->coherency_line_size = CACHE_LINE_SIZE(cache_type);
this_leaf          16 arch/nds32/kernel/cacheinfo.c 	this_leaf->number_of_sets = CACHE_SET(cache_type);
this_leaf          17 arch/nds32/kernel/cacheinfo.c 	this_leaf->ways_of_associativity = CACHE_WAY(cache_type);
this_leaf          18 arch/nds32/kernel/cacheinfo.c 	this_leaf->size = this_leaf->number_of_sets *
this_leaf          19 arch/nds32/kernel/cacheinfo.c 	    this_leaf->coherency_line_size * this_leaf->ways_of_associativity;
this_leaf          21 arch/nds32/kernel/cacheinfo.c 	this_leaf->attributes = CACHE_WRITE_THROUGH;
this_leaf          23 arch/nds32/kernel/cacheinfo.c 	this_leaf->attributes = CACHE_WRITE_BACK;
this_leaf          41 arch/nds32/kernel/cacheinfo.c 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
this_leaf          45 arch/nds32/kernel/cacheinfo.c 		ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level);
this_leaf          46 arch/nds32/kernel/cacheinfo.c 		ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level);
this_leaf          11 arch/riscv/kernel/cacheinfo.c static void ci_leaf_init(struct cacheinfo *this_leaf,
this_leaf          15 arch/riscv/kernel/cacheinfo.c 	this_leaf->level = level;
this_leaf          16 arch/riscv/kernel/cacheinfo.c 	this_leaf->type = type;
this_leaf          64 arch/riscv/kernel/cacheinfo.c 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
this_leaf          70 arch/riscv/kernel/cacheinfo.c 		ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level);
this_leaf          72 arch/riscv/kernel/cacheinfo.c 		ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level);
this_leaf          74 arch/riscv/kernel/cacheinfo.c 		ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level);
this_leaf          87 arch/riscv/kernel/cacheinfo.c 			ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level);
this_leaf          89 arch/riscv/kernel/cacheinfo.c 			ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level);
this_leaf          91 arch/riscv/kernel/cacheinfo.c 			ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level);
this_leaf         106 arch/s390/kernel/cache.c static void ci_leaf_init(struct cacheinfo *this_leaf, int private,
this_leaf         115 arch/s390/kernel/cache.c 	this_leaf->level = level + 1;
this_leaf         116 arch/s390/kernel/cache.c 	this_leaf->type = type;
this_leaf         117 arch/s390/kernel/cache.c 	this_leaf->coherency_line_size = ecag(EXTRACT_LINE_SIZE, level, ti);
this_leaf         118 arch/s390/kernel/cache.c 	this_leaf->ways_of_associativity = ecag(EXTRACT_ASSOCIATIVITY, level, ti);
this_leaf         119 arch/s390/kernel/cache.c 	this_leaf->size = ecag(EXTRACT_SIZE, level, ti);
this_leaf         120 arch/s390/kernel/cache.c 	num_sets = this_leaf->size / this_leaf->coherency_line_size;
this_leaf         121 arch/s390/kernel/cache.c 	num_sets /= this_leaf->ways_of_associativity;
this_leaf         122 arch/s390/kernel/cache.c 	this_leaf->number_of_sets = num_sets;
this_leaf         123 arch/s390/kernel/cache.c 	cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
this_leaf         125 arch/s390/kernel/cache.c 		this_leaf->disable_sysfs = true;
this_leaf         155 arch/s390/kernel/cache.c 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
this_leaf         165 arch/s390/kernel/cache.c 		if (!this_leaf)
this_leaf         170 arch/s390/kernel/cache.c 			ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_DATA, level, cpu);
this_leaf         171 arch/s390/kernel/cache.c 			ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_INST, level, cpu);
this_leaf         173 arch/s390/kernel/cache.c 			ci_leaf_init(this_leaf++, pvt, ctype, level, cpu);
this_leaf         349 arch/x86/kernel/cpu/cacheinfo.c static ssize_t show_cache_disable(struct cacheinfo *this_leaf, char *buf,
this_leaf         353 arch/x86/kernel/cpu/cacheinfo.c 	struct amd_northbridge *nb = this_leaf->priv;
this_leaf         367 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);		\
this_leaf         368 arch/x86/kernel/cpu/cacheinfo.c 	return show_cache_disable(this_leaf, buf, slot);		\
this_leaf         435 arch/x86/kernel/cpu/cacheinfo.c static ssize_t store_cache_disable(struct cacheinfo *this_leaf,
this_leaf         441 arch/x86/kernel/cpu/cacheinfo.c 	struct amd_northbridge *nb = this_leaf->priv;
this_leaf         446 arch/x86/kernel/cpu/cacheinfo.c 	cpu = cpumask_first(&this_leaf->shared_cpu_map);
this_leaf         467 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);		\
this_leaf         468 arch/x86/kernel/cpu/cacheinfo.c 	return store_cache_disable(this_leaf, buf, count, slot);	\
this_leaf         476 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         477 arch/x86/kernel/cpu/cacheinfo.c 	int cpu = cpumask_first(&this_leaf->shared_cpu_map);
this_leaf         486 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         487 arch/x86/kernel/cpu/cacheinfo.c 	int cpu = cpumask_first(&this_leaf->shared_cpu_map);
this_leaf         511 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         514 arch/x86/kernel/cpu/cacheinfo.c 	if (!this_leaf->priv)
this_leaf         562 arch/x86/kernel/cpu/cacheinfo.c cache_get_priv_group(struct cacheinfo *this_leaf)
this_leaf         564 arch/x86/kernel/cpu/cacheinfo.c 	struct amd_northbridge *nb = this_leaf->priv;
this_leaf         566 arch/x86/kernel/cpu/cacheinfo.c 	if (this_leaf->level < 3 || !nb)
this_leaf         575 arch/x86/kernel/cpu/cacheinfo.c static void amd_init_l3_cache(struct _cpuid4_info_regs *this_leaf, int index)
this_leaf         584 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->nb = node_to_amd_nb(node);
this_leaf         585 arch/x86/kernel/cpu/cacheinfo.c 	if (this_leaf->nb && !this_leaf->nb->l3_cache.indices)
this_leaf         586 arch/x86/kernel/cpu/cacheinfo.c 		amd_calc_l3_indices(this_leaf->nb);
this_leaf         593 arch/x86/kernel/cpu/cacheinfo.c cpuid4_cache_lookup_regs(int index, struct _cpuid4_info_regs *this_leaf)
this_leaf         606 arch/x86/kernel/cpu/cacheinfo.c 		amd_init_l3_cache(this_leaf, index);
this_leaf         610 arch/x86/kernel/cpu/cacheinfo.c 		amd_init_l3_cache(this_leaf, index);
this_leaf         618 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->eax = eax;
this_leaf         619 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->ebx = ebx;
this_leaf         620 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->ecx = ecx;
this_leaf         621 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->size = (ecx.split.number_of_sets          + 1) *
this_leaf         746 arch/x86/kernel/cpu/cacheinfo.c 			struct _cpuid4_info_regs this_leaf = {};
this_leaf         749 arch/x86/kernel/cpu/cacheinfo.c 			retval = cpuid4_cache_lookup_regs(i, &this_leaf);
this_leaf         753 arch/x86/kernel/cpu/cacheinfo.c 			switch (this_leaf.eax.split.level) {
this_leaf         755 arch/x86/kernel/cpu/cacheinfo.c 				if (this_leaf.eax.split.type == CTYPE_DATA)
this_leaf         756 arch/x86/kernel/cpu/cacheinfo.c 					new_l1d = this_leaf.size/1024;
this_leaf         757 arch/x86/kernel/cpu/cacheinfo.c 				else if (this_leaf.eax.split.type == CTYPE_INST)
this_leaf         758 arch/x86/kernel/cpu/cacheinfo.c 					new_l1i = this_leaf.size/1024;
this_leaf         761 arch/x86/kernel/cpu/cacheinfo.c 				new_l2 = this_leaf.size/1024;
this_leaf         762 arch/x86/kernel/cpu/cacheinfo.c 				num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing;
this_leaf         767 arch/x86/kernel/cpu/cacheinfo.c 				new_l3 = this_leaf.size/1024;
this_leaf         768 arch/x86/kernel/cpu/cacheinfo.c 				num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing;
this_leaf         881 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf;
this_leaf         893 arch/x86/kernel/cpu/cacheinfo.c 			this_leaf = this_cpu_ci->info_list + index;
this_leaf         898 arch/x86/kernel/cpu/cacheinfo.c 						&this_leaf->shared_cpu_map);
this_leaf         918 arch/x86/kernel/cpu/cacheinfo.c 			this_leaf = this_cpu_ci->info_list + index;
this_leaf         925 arch/x86/kernel/cpu/cacheinfo.c 						&this_leaf->shared_cpu_map);
this_leaf         938 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf, *sibling_leaf;
this_leaf         949 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf = this_cpu_ci->info_list + index;
this_leaf         952 arch/x86/kernel/cpu/cacheinfo.c 	cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
this_leaf         965 arch/x86/kernel/cpu/cacheinfo.c 			cpumask_set_cpu(i, &this_leaf->shared_cpu_map);
this_leaf         970 arch/x86/kernel/cpu/cacheinfo.c static void ci_leaf_init(struct cacheinfo *this_leaf,
this_leaf         973 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->id = base->id;
this_leaf         974 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->attributes = CACHE_ID;
this_leaf         975 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->level = base->eax.split.level;
this_leaf         976 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->type = cache_type_map[base->eax.split.type];
this_leaf         977 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->coherency_line_size =
this_leaf         979 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->ways_of_associativity =
this_leaf         981 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->size = base->size;
this_leaf         982 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->number_of_sets = base->ecx.split.number_of_sets + 1;
this_leaf         983 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->physical_line_partition =
this_leaf         985 arch/x86/kernel/cpu/cacheinfo.c 	this_leaf->priv = base->nb;
this_leaf        1021 arch/x86/kernel/cpu/cacheinfo.c 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
this_leaf        1029 arch/x86/kernel/cpu/cacheinfo.c 		ci_leaf_init(this_leaf++, &id4_regs);
this_leaf         356 drivers/acpi/pptt.c static void update_cache_properties(struct cacheinfo *this_leaf,
this_leaf         360 drivers/acpi/pptt.c 	this_leaf->fw_token = cpu_node;
this_leaf         362 drivers/acpi/pptt.c 		this_leaf->size = found_cache->size;
this_leaf         364 drivers/acpi/pptt.c 		this_leaf->coherency_line_size = found_cache->line_size;
this_leaf         366 drivers/acpi/pptt.c 		this_leaf->number_of_sets = found_cache->number_of_sets;
this_leaf         368 drivers/acpi/pptt.c 		this_leaf->ways_of_associativity = found_cache->associativity;
this_leaf         372 drivers/acpi/pptt.c 			this_leaf->attributes = CACHE_WRITE_THROUGH;
this_leaf         375 drivers/acpi/pptt.c 			this_leaf->attributes = CACHE_WRITE_BACK;
this_leaf         382 drivers/acpi/pptt.c 			this_leaf->attributes |= CACHE_READ_ALLOCATE;
this_leaf         385 drivers/acpi/pptt.c 			this_leaf->attributes |= CACHE_WRITE_ALLOCATE;
this_leaf         389 drivers/acpi/pptt.c 			this_leaf->attributes |=
this_leaf         404 drivers/acpi/pptt.c 	if (this_leaf->type == CACHE_TYPE_NOCACHE &&
this_leaf         406 drivers/acpi/pptt.c 		this_leaf->type = CACHE_TYPE_UNIFIED;
this_leaf         415 drivers/acpi/pptt.c 	struct cacheinfo *this_leaf;
this_leaf         420 drivers/acpi/pptt.c 		this_leaf = this_cpu_ci->info_list + index;
this_leaf         422 drivers/acpi/pptt.c 						   this_leaf->type,
this_leaf         423 drivers/acpi/pptt.c 						   this_leaf->level,
this_leaf         427 drivers/acpi/pptt.c 			update_cache_properties(this_leaf,
this_leaf          35 drivers/base/cacheinfo.c static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf,
this_leaf          38 drivers/base/cacheinfo.c 	return sib_leaf->fw_token == this_leaf->fw_token;
this_leaf          74 drivers/base/cacheinfo.c static void cache_size(struct cacheinfo *this_leaf, struct device_node *np)
this_leaf          79 drivers/base/cacheinfo.c 	ct_idx = get_cacheinfo_idx(this_leaf->type);
this_leaf          82 drivers/base/cacheinfo.c 	of_property_read_u32(np, propname, &this_leaf->size);
this_leaf          86 drivers/base/cacheinfo.c static void cache_get_line_size(struct cacheinfo *this_leaf,
this_leaf          91 drivers/base/cacheinfo.c 	ct_idx = get_cacheinfo_idx(this_leaf->type);
this_leaf         102 drivers/base/cacheinfo.c 			this_leaf->coherency_line_size = line_size;
this_leaf         108 drivers/base/cacheinfo.c static void cache_nr_sets(struct cacheinfo *this_leaf, struct device_node *np)
this_leaf         113 drivers/base/cacheinfo.c 	ct_idx = get_cacheinfo_idx(this_leaf->type);
this_leaf         116 drivers/base/cacheinfo.c 	of_property_read_u32(np, propname, &this_leaf->number_of_sets);
this_leaf         119 drivers/base/cacheinfo.c static void cache_associativity(struct cacheinfo *this_leaf)
this_leaf         121 drivers/base/cacheinfo.c 	unsigned int line_size = this_leaf->coherency_line_size;
this_leaf         122 drivers/base/cacheinfo.c 	unsigned int nr_sets = this_leaf->number_of_sets;
this_leaf         123 drivers/base/cacheinfo.c 	unsigned int size = this_leaf->size;
this_leaf         130 drivers/base/cacheinfo.c 		this_leaf->ways_of_associativity = (size / nr_sets) / line_size;
this_leaf         133 drivers/base/cacheinfo.c static bool cache_node_is_unified(struct cacheinfo *this_leaf,
this_leaf         139 drivers/base/cacheinfo.c static void cache_of_set_props(struct cacheinfo *this_leaf,
this_leaf         147 drivers/base/cacheinfo.c 	if (this_leaf->type == CACHE_TYPE_NOCACHE &&
this_leaf         148 drivers/base/cacheinfo.c 	    cache_node_is_unified(this_leaf, np))
this_leaf         149 drivers/base/cacheinfo.c 		this_leaf->type = CACHE_TYPE_UNIFIED;
this_leaf         150 drivers/base/cacheinfo.c 	cache_size(this_leaf, np);
this_leaf         151 drivers/base/cacheinfo.c 	cache_get_line_size(this_leaf, np);
this_leaf         152 drivers/base/cacheinfo.c 	cache_nr_sets(this_leaf, np);
this_leaf         153 drivers/base/cacheinfo.c 	cache_associativity(this_leaf);
this_leaf         159 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf;
this_leaf         180 drivers/base/cacheinfo.c 		this_leaf = this_cpu_ci->info_list + index;
this_leaf         181 drivers/base/cacheinfo.c 		if (this_leaf->level != 1)
this_leaf         187 drivers/base/cacheinfo.c 		cache_of_set_props(this_leaf, np);
this_leaf         188 drivers/base/cacheinfo.c 		this_leaf->fw_token = np;
this_leaf         199 drivers/base/cacheinfo.c static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf,
this_leaf         207 drivers/base/cacheinfo.c 	return !(this_leaf->level == 1);
this_leaf         221 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf, *sib_leaf;
this_leaf         239 drivers/base/cacheinfo.c 		this_leaf = this_cpu_ci->info_list + index;
this_leaf         241 drivers/base/cacheinfo.c 		if (!cpumask_empty(&this_leaf->shared_cpu_map))
this_leaf         244 drivers/base/cacheinfo.c 		cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
this_leaf         251 drivers/base/cacheinfo.c 			if (cache_leaves_are_shared(this_leaf, sib_leaf)) {
this_leaf         253 drivers/base/cacheinfo.c 				cpumask_set_cpu(i, &this_leaf->shared_cpu_map);
this_leaf         257 drivers/base/cacheinfo.c 		if (this_leaf->coherency_line_size > coherency_max_size)
this_leaf         258 drivers/base/cacheinfo.c 			coherency_max_size = this_leaf->coherency_line_size;
this_leaf         267 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf, *sib_leaf;
this_leaf         271 drivers/base/cacheinfo.c 		this_leaf = this_cpu_ci->info_list + index;
this_leaf         272 drivers/base/cacheinfo.c 		for_each_cpu(sibling, &this_leaf->shared_cpu_map) {
this_leaf         284 drivers/base/cacheinfo.c 			cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map);
this_leaf         287 drivers/base/cacheinfo.c 			of_node_put(this_leaf->fw_token);
this_leaf         364 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);	\
this_leaf         365 drivers/base/cacheinfo.c 	return sprintf(buf, "%u\n", this_leaf->object);		\
this_leaf         378 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         380 drivers/base/cacheinfo.c 	return sprintf(buf, "%uK\n", this_leaf->size >> 10);
this_leaf         385 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         386 drivers/base/cacheinfo.c 	const struct cpumask *mask = &this_leaf->shared_cpu_map;
this_leaf         406 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         408 drivers/base/cacheinfo.c 	switch (this_leaf->type) {
this_leaf         423 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         424 drivers/base/cacheinfo.c 	unsigned int ci_attr = this_leaf->attributes;
this_leaf         439 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         440 drivers/base/cacheinfo.c 	unsigned int ci_attr = this_leaf->attributes;
this_leaf         484 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf = dev_get_drvdata(dev);
this_leaf         485 drivers/base/cacheinfo.c 	const struct cpumask *mask = &this_leaf->shared_cpu_map;
this_leaf         488 drivers/base/cacheinfo.c 	if ((attr == &dev_attr_id.attr) && (this_leaf->attributes & CACHE_ID))
this_leaf         490 drivers/base/cacheinfo.c 	if ((attr == &dev_attr_type.attr) && this_leaf->type)
this_leaf         492 drivers/base/cacheinfo.c 	if ((attr == &dev_attr_level.attr) && this_leaf->level)
this_leaf         499 drivers/base/cacheinfo.c 	    this_leaf->coherency_line_size)
this_leaf         502 drivers/base/cacheinfo.c 	    this_leaf->size) /* allow 0 = full associativity */
this_leaf         505 drivers/base/cacheinfo.c 	    this_leaf->number_of_sets)
this_leaf         507 drivers/base/cacheinfo.c 	if ((attr == &dev_attr_size.attr) && this_leaf->size)
this_leaf         510 drivers/base/cacheinfo.c 	    (this_leaf->attributes & CACHE_WRITE_POLICY_MASK))
this_leaf         513 drivers/base/cacheinfo.c 	    (this_leaf->attributes & CACHE_ALLOCATE_POLICY_MASK))
this_leaf         516 drivers/base/cacheinfo.c 	    this_leaf->physical_line_partition)
this_leaf         539 drivers/base/cacheinfo.c __weak cache_get_priv_group(struct cacheinfo *this_leaf)
this_leaf         545 drivers/base/cacheinfo.c cache_get_attribute_groups(struct cacheinfo *this_leaf)
this_leaf         548 drivers/base/cacheinfo.c 			cache_get_priv_group(this_leaf);
this_leaf         608 drivers/base/cacheinfo.c 	struct cacheinfo *this_leaf;
this_leaf         618 drivers/base/cacheinfo.c 		this_leaf = this_cpu_ci->info_list + i;
this_leaf         619 drivers/base/cacheinfo.c 		if (this_leaf->disable_sysfs)
this_leaf         621 drivers/base/cacheinfo.c 		if (this_leaf->type == CACHE_TYPE_NOCACHE)
this_leaf         623 drivers/base/cacheinfo.c 		cache_groups = cache_get_attribute_groups(this_leaf);
this_leaf         624 drivers/base/cacheinfo.c 		ci_dev = cpu_device_create(parent, this_leaf, cache_groups,
this_leaf         120 include/linux/cacheinfo.h const struct attribute_group *cache_get_priv_group(struct cacheinfo *this_leaf);