Searched refs:cache_present (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/loongarch/kernel/ |
D | cacheinfo.c | 14 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-6.12.1/drivers/base/regmap/ |
D | regcache-rbtree.c | 25 unsigned 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 …]
|
D | regcache.c | 712 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) in regcache_reg_present() argument 714 if (!cache_present) in regcache_reg_present() 717 return test_bit(idx, cache_present); in regcache_reg_present() 745 unsigned long *cache_present, in regcache_sync_block_single() argument 755 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_single() 797 unsigned long *cache_present, in regcache_sync_block_raw() argument 810 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_raw() 839 unsigned long *cache_present, in regcache_sync_block() argument 844 return regcache_sync_block_raw(map, block, cache_present, in regcache_sync_block() 847 return regcache_sync_block_single(map, block, cache_present, in regcache_sync_block()
|
D | internal.h | 261 unsigned long *cache_present,
|
D | regmap-kunit.c | 1466 static void cache_present(struct kunit *test) in cache_present() function 2014 KUNIT_CASE_PARAM(cache_present, sparse_cache_types_gen_params),
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | cacheflush.h | 12 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-6.12.1/arch/loongarch/mm/ |
D | cache.c | 70 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()
|