Home
last modified time | relevance | path

Searched refs:this_leaf (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/x86/kernel/cpu/
Dintel_cacheinfo.c329 static void __cpuinit amd_init_l3_cache(struct _cpuid4_info_regs *this_leaf, int index) in amd_init_l3_cache() argument
338 this_leaf->nb = node_to_amd_nb(node); in amd_init_l3_cache()
339 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) in amd_init_l3_cache()
340 amd_calc_l3_indices(this_leaf->nb); in amd_init_l3_cache()
363 static ssize_t show_cache_disable(struct _cpuid4_info *this_leaf, char *buf, in show_cache_disable() argument
368 if (!this_leaf->base.nb || !amd_nb_has_feature(AMD_NB_L3_INDEX_DISABLE)) in show_cache_disable()
371 index = amd_get_l3_disable_slot(this_leaf->base.nb, slot); in show_cache_disable()
380 show_cache_disable_##slot(struct _cpuid4_info *this_leaf, char *buf, \
383 return show_cache_disable(this_leaf, buf, slot); \
450 static ssize_t store_cache_disable(struct _cpuid4_info *this_leaf, in store_cache_disable() argument
[all …]
/linux-3.4.99/arch/ia64/kernel/
Dtopology.c143 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
151 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
155 if (ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
156 this_leaf->type, in cache_shared_cpu_map_setup()
167 cpu_set(j, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
171 ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
172 this_leaf->type, in cache_shared_cpu_map_setup()
178 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
180 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
185 static ssize_t show_coherency_line_size(struct cache_info *this_leaf, in show_coherency_line_size() argument
[all …]