/openbmc/linux/Documentation/devicetree/bindings/cache/ |
H A D | andestech,ax45mp-cache.yaml | 5 $id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml# 40 cache-line-size: 43 cache-level: 46 cache-sets: 49 cache-size: 62 - cache-line-size 63 - cache-level 64 - cache-sets 65 - cache-size 66 - cache-unified [all …]
|
H A D | sifive,ccache0.yaml | 49 cache-block-size: 52 cache-level: 55 cache-sets: 58 cache-size: 61 cache-unified: true 118 cache-sets: 123 cache-sets: 147 - cache-level 148 - cache-sets 149 - cache-size [all …]
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j784s4.dtsi | 72 i-cache-sets = <256>; 75 d-cache-sets = <256>; 86 i-cache-sets = <256>; 180 cache-level = <2>; 181 cache-unified; 184 cache-sets = <1024>; 190 cache-level = <2>; 191 cache-unified; 194 cache-sets = <1024>; 200 cache-level = <3>; [all …]
|
H A D | k3-am625.dtsi | 46 i-cache-sets = <256>; 49 d-cache-sets = <128>; 62 i-cache-sets = <256>; 65 d-cache-sets = <128>; 78 i-cache-sets = <256>; 81 d-cache-sets = <128>; 94 i-cache-sets = <256>; 148 compatible = "cache"; 149 cache-unified; 150 cache-level = <2>; [all …]
|
H A D | k3-am642.dtsi | 34 i-cache-size = <0x8000>; 36 i-cache-sets = <256>; 39 d-cache-sets = <128>; 50 i-cache-sets = <256>; 53 d-cache-sets = <128>; 59 compatible = "cache"; 60 cache-level = <2>; 61 cache-unified; 62 cache-size = <0x40000>; 63 cache-line-size = <64>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/arm/ |
H A D | fvp-base-revc.dts | 52 i-cache-sets = <256>; 55 d-cache-sets = <256>; 65 i-cache-sets = <256>; 68 d-cache-sets = <256>; 78 i-cache-sets = <256>; 153 cache-sets = <512>; 154 cache-level = <2>; 155 cache-unified; 162 cache-sets = <512>; 163 cache-level = <2>; [all …]
|
H A D | juno.dts | 94 i-cache-sets = <256>; 97 d-cache-sets = <256>; 112 i-cache-sets = <256>; 115 d-cache-sets = <256>; 130 i-cache-sets = <256>; 133 d-cache-sets = <128>; 197 cache-unified; 200 cache-sets = <2048>; 201 cache-level = <2>; 206 cache-unified; [all …]
|
H A D | juno-r1.dts | 95 i-cache-sets = <256>; 98 d-cache-sets = <256>; 112 i-cache-sets = <256>; 115 d-cache-sets = <256>; 129 i-cache-sets = <256>; 132 d-cache-sets = <128>; 192 cache-unified; 195 cache-sets = <2048>; 196 cache-level = <2>; 201 cache-unified; [all …]
|
H A D | juno-r2.dts | 95 i-cache-sets = <256>; 98 d-cache-sets = <256>; 113 i-cache-sets = <256>; 116 d-cache-sets = <256>; 131 i-cache-sets = <256>; 134 d-cache-sets = <128>; 198 cache-unified; 201 cache-sets = <2048>; 202 cache-level = <2>; 207 cache-unified; [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | lru_cache.c | 17 INIT_LIST_HEAD(&cache->lru_list); in btrfs_lru_cache_init() 18 mt_init(&cache->entries); in btrfs_lru_cache_init() 19 cache->size = 0; in btrfs_lru_cache_init() 20 cache->max_size = max_size; in btrfs_lru_cache_init() 75 ASSERT(cache->size > 0); in btrfs_lru_cache_remove() 76 ASSERT(!mtree_empty(&cache->entries)); in btrfs_lru_cache_remove() 95 cache->size--; in btrfs_lru_cache_remove() 134 if (cache->max_size > 0 && cache->size == cache->max_size) { in btrfs_lru_cache_store() 144 cache->size++; in btrfs_lru_cache_store() 164 ASSERT(cache->size == 0); in btrfs_lru_cache_clear() [all …]
|
H A D | block-group.c | 231 end = cache->start + cache->length - 1; in block_group_cache_tree_search() 1367 num_bytes = cache->length - cache->reserved - cache->pinned - in inc_block_group_ro() 1368 cache->bytes_super - cache->zone_unusable - cache->used; in inc_block_group_ro() 2213 cache = kzalloc(sizeof(*cache), GFP_NOFS); in btrfs_create_block_group_cache() 2320 cache->commit_used = cache->used; in read_one_block_group() 2384 } else if (cache->length == cache->used) { in read_one_block_group() 3017 (cache->alloc_offset - cache->used) + in btrfs_dec_block_group_ro() 3018 (cache->length - cache->zone_capacity); in btrfs_dec_block_group_ro() 3022 num_bytes = cache->length - cache->reserved - in btrfs_dec_block_group_ro() 3023 cache->pinned - cache->bytes_super - in btrfs_dec_block_group_ro() [all …]
|
/openbmc/qemu/include/exec/ |
H A D | memory_ldst_cached.h.inc | 30 assert(addr < cache->len && 2 <= cache->len - addr); 31 fuzz_dma_read_cb(cache->xlat + addr, 2, cache->mrs.mr); 32 if (likely(cache->ptr)) { 42 assert(addr < cache->len && 4 <= cache->len - addr); 43 fuzz_dma_read_cb(cache->xlat + addr, 4, cache->mrs.mr); 44 if (likely(cache->ptr)) { 54 assert(addr < cache->len && 8 <= cache->len - addr); 55 fuzz_dma_read_cb(cache->xlat + addr, 8, cache->mrs.mr); 77 assert(addr < cache->len && 2 <= cache->len - addr); 88 assert(addr < cache->len && 4 <= cache->len - addr); [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2836.dtsi | 43 /* Source for d/i-cache-line-size and d/i-cache-sets 56 d-cache-size = <0x8000>; 59 i-cache-size = <0x8000>; 70 d-cache-size = <0x8000>; 73 i-cache-size = <0x8000>; 107 /* Source for cache-line-size + cache-sets 110 * Source for cache-size 114 compatible = "cache"; 115 cache-unified; 116 cache-size = <0x80000>; [all …]
|
H A D | bcm2837.dtsi | 42 /* Source for d/i-cache-line-size and d/i-cache-sets 55 d-cache-size = <0x8000>; 58 i-cache-size = <0x8000>; 70 d-cache-size = <0x8000>; 73 i-cache-size = <0x8000>; 109 /* Source for cache-line-size + cache-sets 112 * Source for cache-size 116 compatible = "cache"; 117 cache-unified; 118 cache-size = <0x80000>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-ap806-dual.dtsi | 25 i-cache-size = <0xc000>; 27 i-cache-sets = <256>; 28 d-cache-size = <0x8000>; 30 d-cache-sets = <256>; 42 i-cache-sets = <256>; 45 d-cache-sets = <256>; 49 l2: l2-cache { 50 compatible = "cache"; 53 cache-sets = <512>; 54 cache-level = <2>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/cpufreq/ |
H A D | cpufreq-qcom-hw.yaml | 223 L2_0: l2-cache { 225 cache-unified; 228 L3_0: l3-cache { 230 cache-unified; 246 cache-unified; 262 cache-unified; 278 cache-unified; 294 cache-unified; 310 cache-unified; 326 cache-unified; [all …]
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | slab.py | 52 p = p + int(cache['size']) 54 def get_info_end(cache): argument 55 if (cache['offset'] >= cache['inuse']): 58 return cache['inuse'] 60 def get_orig_size(cache, obj): argument 61 if cache['flags'] & SLAB_STORE_USER and cache['flags'] & SLAB_KMALLOC: 63 p += get_info_end(cache) 68 return cache['object_size'] 105 def get_freepointer(cache, obj): argument 107 ptr_addr = obj + cache['offset'] [all …]
|
/openbmc/qemu/contrib/plugins/ |
H A D | cache.c | 145 cache->sets[i].lru_priorities = g_new0(uint64_t, cache->assoc); in lru_priorities_init() 230 return (addr & cache->set_mask) >> cache->blksize_shift; in extract_set() 251 Cache *cache; in cache_init() local 262 cache->assoc = assoc; in cache_init() 265 cache->sets = g_new(CacheSet, cache->num_sets); in cache_init() 267 cache->accesses = 0; in cache_init() 268 cache->misses = 0; in cache_init() 275 cache->set_mask = ((cache->num_sets - 1) << cache->blksize_shift); in cache_init() 276 cache->tag_mask = ~(cache->set_mask | blk_mask); in cache_init() 282 return cache; in cache_init() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 142 | 73 echo === Simple test for all cache modes === 76 run_qemu -drive file="$TEST_IMG",cache=none 77 run_qemu -drive file="$TEST_IMG",cache=directsync 78 run_qemu -drive file="$TEST_IMG",cache=writeback 79 run_qemu -drive file="$TEST_IMG",cache=writethrough 80 run_qemu -drive file="$TEST_IMG",cache=unsafe 84 echo === Check inheritance of cache modes === 369 reopen -o cache.direct=on 371 reopen -o cache.direct=off 376 reopen -o cache.direct=off [all …]
|
H A D | 157.out | 6 Testing: cache='writeback' wce='' 8 Testing: cache='writeback' wce=',write-cache=auto' 10 Testing: cache='writeback' wce=',write-cache=on' 12 Testing: cache='writeback' wce=',write-cache=off' 14 Testing: cache='writethrough' wce='' 16 Testing: cache='writethrough' wce=',write-cache=auto' 18 Testing: cache='writethrough' wce=',write-cache=on' 20 Testing: cache='writethrough' wce=',write-cache=off'
|
H A D | 142.out | 29 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,cache=invalid_value: invalid cache option 37 cache.direct=on on none0 44 cache.direct=on on file 51 cache.direct=on on backing 113 cache.direct=on on none0 120 cache.direct=on on file 196 cache.direct=on on file 272 cache.direct=on on file 427 cache.direct=on on blk 503 cache.direct=on on blk [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm4450.dtsi | 45 L2_0: l2-cache { 48 cache-unified; 51 L3_0: l3-cache { 54 cache-unified; 72 cache-unified; 90 cache-unified; 108 cache-unified; 126 cache-unified; 144 cache-unified; 162 cache-unified; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/apple/ |
H A D | t6002.dtsi | 74 i-cache-size = <0x20000>; 75 d-cache-size = <0x10000>; 208 compatible = "cache"; 209 cache-level = <2>; 210 cache-unified; 215 compatible = "cache"; 216 cache-level = <2>; 217 cache-unified; 222 compatible = "cache"; 223 cache-level = <2>; [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regcache-flat.c | 24 unsigned int *cache; in regcache_flat_init() local 29 map->cache = kcalloc(regcache_flat_get_index(map, map->max_register) in regcache_flat_init() 31 if (!map->cache) in regcache_flat_init() 34 cache = map->cache; in regcache_flat_init() 40 cache[index] = map->reg_defaults[i].def; in regcache_flat_init() 48 kfree(map->cache); in regcache_flat_exit() 49 map->cache = NULL; in regcache_flat_exit() 57 unsigned int *cache = map->cache; in regcache_flat_read() local 60 *value = cache[index]; in regcache_flat_read() 68 unsigned int *cache = map->cache; in regcache_flat_write() local [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8qm.dtsi | 70 i-cache-sets = <256>; 73 d-cache-sets = <128>; 87 i-cache-sets = <256>; 90 d-cache-sets = <128>; 104 i-cache-sets = <256>; 107 d-cache-sets = <128>; 160 cache-level = <2>; 161 cache-unified; 164 cache-sets = <1024>; 169 cache-level = <2>; [all …]
|