Lines Matching refs:group_id
123 int group_id; /* id of the group of threads that share this cache */ member
146 struct device_node *ofnode, int group_id) in cache_init() argument
151 cache->group_id = group_id; in cache_init()
157 struct device_node *ofnode, int group_id) in new_cache() argument
163 cache_init(cache, type, level, ofnode, group_id); in new_cache()
316 iter->group_id == cache->group_id && in cache_find_first_sibling()
325 int group_id) in cache_lookup_by_node_group() argument
332 iter->group_id != group_id) in cache_lookup_by_node_group()
362 static struct cache *cache_do_one_devnode_unified(struct device_node *node, int group_id, in cache_do_one_devnode_unified() argument
367 return new_cache(cache_is_unified_d(node), level, node, group_id); in cache_do_one_devnode_unified()
370 static struct cache *cache_do_one_devnode_split(struct device_node *node, int group_id, in cache_do_one_devnode_split() argument
378 dcache = new_cache(CACHE_TYPE_DATA, level, node, group_id); in cache_do_one_devnode_split()
379 icache = new_cache(CACHE_TYPE_INSTRUCTION, level, node, group_id); in cache_do_one_devnode_split()
393 static struct cache *cache_do_one_devnode(struct device_node *node, int group_id, int level) in cache_do_one_devnode() argument
398 cache = cache_do_one_devnode_unified(node, group_id, level); in cache_do_one_devnode()
400 cache = cache_do_one_devnode_split(node, group_id, level); in cache_do_one_devnode()
406 int group_id, in cache_lookup_or_instantiate() argument
411 cache = cache_lookup_by_node_group(node, group_id); in cache_lookup_or_instantiate()
418 cache = cache_do_one_devnode(node, group_id, level); in cache_lookup_or_instantiate()
487 int group_id; in do_subsidiary_caches() local
490 group_id = get_group_id(cpu_id, level); in do_subsidiary_caches()
491 subcache = cache_lookup_or_instantiate(subcache_node, group_id, level); in do_subsidiary_caches()
505 int group_id; in cache_chain_instantiate() local
514 group_id = get_group_id(cpu_id, 1); in cache_chain_instantiate()
516 cpu_cache = cache_lookup_or_instantiate(cpu_node, group_id, 1); in cache_chain_instantiate()
849 int group_id; in cache_lookup_by_cpu() local
856 group_id = get_group_id(cpu_id, 1); in cache_lookup_by_cpu()
857 cache = cache_lookup_by_node_group(cpu_node, group_id); in cache_lookup_by_cpu()