Searched refs:cache_leaves (Results 1 – 6 of 6) sorted by relevance
26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) macro61 if (!cache_leaves(cpu)) in last_level_cache_is_valid()64 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid()78 llc_x = per_cpu_cacheinfo_idx(cpu_x, cache_leaves(cpu_x) - 1); in last_level_cache_is_shared()79 llc_y = per_cpu_cacheinfo_idx(cpu_y, cache_leaves(cpu_y) - 1); in last_level_cache_is_shared()222 while (index < cache_leaves(cpu)) { in cache_setup_of_node()238 if (index != cache_leaves(cpu)) /* not all OF nodes populated */ in cache_setup_of_node()378 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_setup()389 for (sib_index = 0; sib_index < cache_leaves(i); sib_index++) { in cache_shared_cpu_map_setup()424 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_remove()[all …]
118 struct cache_info *cache_leaves; member124 #define LEAF_KOBJECT_PTR(x,y) (&all_cpu_cache_info[x].cache_leaves[y])287 kfree(all_cpu_cache_info[cpu].cache_leaves); in cpu_cache_sysfs_exit()288 all_cpu_cache_info[cpu].cache_leaves = NULL; in cpu_cache_sysfs_exit()329 all_cpu_cache_info[cpu].cache_leaves = this_cache; in cpu_cache_sysfs_init()
48 struct cache_desc *cdesc = current_cpu_data.cache_leaves + leaf; in flush_cache_leaf()69 struct cache_desc *cdesc = current_cpu_data.cache_leaves; in __flush_cache_all()119 struct cache_desc *cdesc = current_cpu_data.cache_leaves; in cpu_cache_init()
18 current_cpu_data.cache_leaves[cache_present - 1].level; in init_cache_level()67 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves; in populate_cache_leaves()
31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz; in cpu_last_level_cache_line_size()
54 struct cache_desc cache_leaves[CACHE_LEAVES_MAX]; member