Lines Matching refs:this_leaf
19 cache_get_priv_group(struct cacheinfo *this_leaf) in cache_get_priv_group() argument
22 return rv_cache_ops->get_priv_group(this_leaf); in cache_get_priv_group()
38 struct cacheinfo *this_leaf; in get_cacheinfo() local
42 this_leaf = this_cpu_ci->info_list + index; in get_cacheinfo()
43 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo()
44 return this_leaf; in get_cacheinfo()
52 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_size() local
54 return this_leaf ? this_leaf->size : 0; in get_cache_size()
59 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_geometry() local
61 return this_leaf ? (this_leaf->ways_of_associativity << 16 | in get_cache_geometry()
62 this_leaf->coherency_line_size) : in get_cache_geometry()
66 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
70 this_leaf->level = level; in ci_leaf_init()
71 this_leaf->type = type; in ci_leaf_init()
77 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
83 ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level); in populate_cache_leaves()
85 ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level); in populate_cache_leaves()
87 ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level); in populate_cache_leaves()
100 ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level); in populate_cache_leaves()
102 ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level); in populate_cache_leaves()
104 ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level); in populate_cache_leaves()