Lines Matching refs:cacheinfo

39 static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf,  in cache_leaves_are_shared()
40 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
59 struct cacheinfo *llc; in last_level_cache_is_valid()
72 struct cacheinfo *llc_x, *llc_y; in last_level_cache_is_shared()
121 static void cache_size(struct cacheinfo *this_leaf, struct device_node *np) in cache_size()
133 static void cache_get_line_size(struct cacheinfo *this_leaf, in cache_get_line_size()
155 static void cache_nr_sets(struct cacheinfo *this_leaf, struct device_node *np) in cache_nr_sets()
166 static void cache_associativity(struct cacheinfo *this_leaf) in cache_associativity()
180 static bool cache_node_is_unified(struct cacheinfo *this_leaf, in cache_node_is_unified()
186 static void cache_of_set_props(struct cacheinfo *this_leaf, in cache_of_set_props()
205 struct cacheinfo *this_leaf; in cache_setup_of_node()
345 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_setup()
404 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_remove()
463 per_cpu_cacheinfo(cpu) = kcalloc(cache_leaves(cpu), sizeof(struct cacheinfo), GFP_ATOMIC); in allocate_cache_info()
601 struct cacheinfo *this_leaf = dev_get_drvdata(dev); \
615 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in size_show()
623 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in shared_cpu_map_show()
632 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in shared_cpu_list_show()
641 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in type_show()
664 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in allocation_policy_show()
683 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in write_policy_show()
728 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in cache_default_attrs_is_visible()
783 __weak cache_get_priv_group(struct cacheinfo *this_leaf) in cache_get_priv_group()
789 cache_get_attribute_groups(struct cacheinfo *this_leaf) in cache_get_attribute_groups()
852 struct cacheinfo *this_leaf; in cache_add_dev()
886 struct cacheinfo *llc, *sib_llc; in cpu_map_shared_cache()
928 struct cacheinfo *llc; in update_per_cpu_data_slice_size_cpu()