Lines Matching refs:this_leaf

20 cache_get_priv_group(struct cacheinfo *this_leaf)  in cache_get_priv_group()  argument
23 return rv_cache_ops->get_priv_group(this_leaf); in cache_get_priv_group()
39 struct cacheinfo *this_leaf; in get_cacheinfo() local
43 this_leaf = this_cpu_ci->info_list + index; in get_cacheinfo()
44 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo()
45 return this_leaf; in get_cacheinfo()
53 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_size() local
55 return this_leaf ? this_leaf->size : 0; in get_cache_size()
60 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_geometry() local
62 return this_leaf ? (this_leaf->ways_of_associativity << 16 | in get_cache_geometry()
63 this_leaf->coherency_line_size) : in get_cache_geometry()
67 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()
82 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
98 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()
99 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); in populate_cache_leaves()
101 ci_leaf_init(this_leaf++, CACHE_TYPE_UNIFIED, level); in populate_cache_leaves()
112 ci_leaf_init(this_leaf++, CACHE_TYPE_UNIFIED, level); in populate_cache_leaves()
114 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); in populate_cache_leaves()
116 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()
129 ci_leaf_init(this_leaf++, CACHE_TYPE_UNIFIED, level); in populate_cache_leaves()
131 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); in populate_cache_leaves()
133 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()