Home
last modified time | relevance | path

Searched refs:cache_present (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/arch/loongarch/kernel/
Dcacheinfo.c14 int cache_present = current_cpu_data.cache_leaves_present; in init_cache_level() local
18 current_cpu_data.cache_leaves[cache_present - 1].level; in init_cache_level()
19 this_cpu_ci->num_leaves = cache_present; in init_cache_level()
64 int i, cache_present = current_cpu_data.cache_leaves_present; in populate_cache_leaves() local
69 for (i = 0; i < cache_present; i++) { in populate_cache_leaves()
/Linux-v6.1/drivers/base/regmap/
Dregcache-rbtree.c25 long *cache_present; member
58 set_bit(idx, rbnode->cache_present); in regcache_rbtree_set_register()
230 kfree(rbtree_node->cache_present); in regcache_rbtree_exit()
251 if (!test_bit(reg_tmp, rbnode->cache_present)) in regcache_rbtree_read()
287 present = krealloc(rbnode->cache_present, in regcache_rbtree_insert_to_block()
297 present = rbnode->cache_present; in regcache_rbtree_insert_to_block()
310 rbnode->cache_present = present; in regcache_rbtree_insert_to_block()
353 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
354 sizeof(*rbnode->cache_present), in regcache_rbtree_node_alloc()
356 if (!rbnode->cache_present) in regcache_rbtree_node_alloc()
[all …]
Dregcache.c667 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) in regcache_reg_present() argument
669 if (!cache_present) in regcache_reg_present()
672 return test_bit(idx, cache_present); in regcache_reg_present()
676 unsigned long *cache_present, in regcache_sync_block_single() argument
686 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_single()
740 unsigned long *cache_present, in regcache_sync_block_raw() argument
753 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_raw()
782 unsigned long *cache_present, in regcache_sync_block() argument
787 return regcache_sync_block_raw(map, block, cache_present, in regcache_sync_block()
790 return regcache_sync_block_single(map, block, cache_present, in regcache_sync_block()
Dinternal.h257 unsigned long *cache_present,
/Linux-v6.1/arch/loongarch/include/asm/
Dcacheflush.h12 static inline bool cache_present(struct cache_desc *cdesc) in cache_present() function
29 int cache_present = boot_cpu_data.cache_leaves_present; in cpu_last_level_cache_line_size() local
31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz; in cpu_last_level_cache_line_size()
/Linux-v6.1/arch/loongarch/mm/
Dcache.c70 unsigned int cache_present = current_cpu_data.cache_leaves_present; in __flush_cache_all() local
72 leaf = cache_present - 1; in __flush_cache_all()
78 for (leaf = 0; leaf < cache_present; leaf++) in __flush_cache_all()