Lines Matching refs:llc
59 struct cacheinfo *llc; in last_level_cache_is_valid() local
64 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid()
66 return (llc->attributes & CACHE_ID) || !!llc->fw_token; in last_level_cache_is_valid()
886 struct cacheinfo *llc, *sib_llc; in cpu_map_shared_cache() local
892 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in cpu_map_shared_cache()
894 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) in cpu_map_shared_cache()
898 *map = &llc->shared_cpu_map; in cpu_map_shared_cache()
903 for_each_cpu(sibling, &llc->shared_cpu_map) { in cpu_map_shared_cache()
928 struct cacheinfo *llc; in update_per_cpu_data_slice_size_cpu() local
935 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in update_per_cpu_data_slice_size_cpu()
937 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) in update_per_cpu_data_slice_size_cpu()
940 nr_shared = cpumask_weight(&llc->shared_cpu_map); in update_per_cpu_data_slice_size_cpu()
942 ci->per_cpu_data_slice_size = llc->size / nr_shared; in update_per_cpu_data_slice_size_cpu()