Lines Matching refs:llc
60 struct cacheinfo *llc; in last_level_cache_is_valid() local
65 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid()
67 return (llc->attributes & CACHE_ID) || !!llc->fw_token; in last_level_cache_is_valid()
936 struct cacheinfo *llc, *sib_llc; in cpu_map_shared_cache() local
942 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in cpu_map_shared_cache()
944 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) in cpu_map_shared_cache()
948 *map = &llc->shared_cpu_map; in cpu_map_shared_cache()
953 for_each_cpu(sibling, &llc->shared_cpu_map) { in cpu_map_shared_cache()
978 struct cacheinfo *llc; in update_per_cpu_data_slice_size_cpu() local
985 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in update_per_cpu_data_slice_size_cpu()
987 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) in update_per_cpu_data_slice_size_cpu()
990 nr_shared = cpumask_weight(&llc->shared_cpu_map); in update_per_cpu_data_slice_size_cpu()
992 ci->per_cpu_data_slice_size = llc->size / nr_shared; in update_per_cpu_data_slice_size_cpu()