Lines Matching refs:this_leaf
67 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
73 this_leaf->level = level; in ci_leaf_init()
74 this_leaf->type = type; in ci_leaf_init()
75 this_leaf->coherency_line_size = CACHE_LINESIZE(tmp); in ci_leaf_init()
76 this_leaf->number_of_sets = CACHE_NUMSETS(tmp); in ci_leaf_init()
77 this_leaf->ways_of_associativity = CACHE_ASSOCIATIVITY(tmp); in ci_leaf_init()
78 this_leaf->size = this_leaf->number_of_sets * in ci_leaf_init()
79 this_leaf->coherency_line_size * this_leaf->ways_of_associativity; in ci_leaf_init()
80 this_leaf->attributes = in ci_leaf_init()
112 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in __populate_cache_leaves() local
118 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in __populate_cache_leaves()
119 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); in __populate_cache_leaves()
121 ci_leaf_init(this_leaf++, type, level); in __populate_cache_leaves()