Lines Matching refs:this_leaf
8 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
13 this_leaf->level = level; in ci_leaf_init()
14 this_leaf->type = type; in ci_leaf_init()
15 this_leaf->coherency_line_size = CACHE_LINE_SIZE(cache_type); in ci_leaf_init()
16 this_leaf->number_of_sets = CACHE_SET(cache_type); in ci_leaf_init()
17 this_leaf->ways_of_associativity = CACHE_WAY(cache_type); in ci_leaf_init()
18 this_leaf->size = this_leaf->number_of_sets * in ci_leaf_init()
19 this_leaf->coherency_line_size * this_leaf->ways_of_associativity; in ci_leaf_init()
21 this_leaf->attributes = CACHE_WRITE_THROUGH; in ci_leaf_init()
23 this_leaf->attributes = CACHE_WRITE_BACK; in ci_leaf_init()
41 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
45 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()
46 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); in populate_cache_leaves()