/linux-6.3-rc2/drivers/md/ |
A D | dm-cache-target.c | 483 mg->cache = cache; in alloc_migration() 491 struct cache *cache = mg->cache; in free_migration() local 1098 struct cache *cache = mg->cache; in copy() local 1126 struct cache *cache = mg->cache; in overwrite_endio() local 1172 struct cache *cache = mg->cache; in mg_complete() local 1241 struct cache *cache = mg->cache; in mg_update_metadata() local 1343 struct cache *cache = mg->cache; in mg_full_copy() local 1397 struct cache *cache = mg->cache; in mg_lock_writes() local 1457 struct cache *cache = mg->cache; in invalidate_complete() local 1508 struct cache *cache = mg->cache; in invalidate_remove() local [all …]
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | cacheinfo.c | 43 struct cache *cache; member 158 struct cache *cache; in new_cache() local 394 struct cache *cache; in cache_do_one_devnode() local 408 struct cache *cache; in cache_lookup_or_instantiate() local 592 struct cache *cache; in size_show() local 609 struct cache *cache; in line_size_show() local 625 struct cache *cache; in nr_sets_show() local 641 struct cache *cache; in associativity_show() local 656 struct cache *cache; in type_show() local 669 struct cache *cache; in level_show() local [all …]
|
/linux-6.3-rc2/fs/fscache/ |
A D | cache.c | 28 cache = kzalloc(sizeof(*cache), GFP_KERNEL); in fscache_alloc_cache() 29 if (cache) { in fscache_alloc_cache() 33 kfree(cache); in fscache_alloc_cache() 41 return cache; in fscache_alloc_cache() 67 if (cache->name && name && strcmp(cache->name, name) == 0 && in fscache_lookup_cache() 94 if (cache->name && name && strcmp(cache->name, name) == 0 && in fscache_lookup_cache() 126 return cache; in fscache_lookup_cache() 135 return cache; in fscache_lookup_cache() 156 return cache; in fscache_acquire_cache() 166 return cache; in fscache_acquire_cache() [all …]
|
/linux-6.3-rc2/fs/cachefiles/ |
A D | daemon.c | 104 if (!cache) { in cachefiles_daemon_open() 173 kfree(cache); in cachefiles_put_unbind_pincount() 191 ASSERT(cache); in cachefiles_daemon_release() 287 ASSERT(cache); in cachefiles_daemon_write() 430 if (fcull <= cache->fstop_percent || fcull >= cache->frun_percent) in cachefiles_daemon_fcull() 604 if (cache->tag) in cachefiles_daemon_tag() 611 cache->tag = tag; in cachefiles_daemon_tag() 748 if (cache->fstop_percent >= cache->fcull_percent || in cachefiles_daemon_bind() 749 cache->fcull_percent >= cache->frun_percent || in cachefiles_daemon_bind() 753 if (cache->bstop_percent >= cache->bcull_percent || in cachefiles_daemon_bind() [all …]
|
A D | cache.c | 98 cache->bsize, cache->bshift); in cachefiles_add_cache() 106 cache->fstop = stats.f_files * cache->fstop_percent; in cachefiles_add_cache() 107 cache->fcull = stats.f_files * cache->fcull_percent; in cachefiles_add_cache() 108 cache->frun = stats.f_files * cache->frun_percent; in cachefiles_add_cache() 118 cache->brun = stats.f_blocks * cache->brun_percent; in cachefiles_add_cache() 142 cache->cache = cache_cookie; in cachefiles_add_cache() 157 _leave(" = 0 [%px]", cache->cache); in cachefiles_add_cache() 173 cache->cache = NULL; in cachefiles_add_cache() 346 _enter("%s", cache->cache->name); in cachefiles_sync_cache() 367 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache() [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/amd/ |
A D | amd-seattle-cpus.dtsi | 51 i-cache-sets = <256>; 55 l2-cache = <&L2_0>; 71 l2-cache = <&L2_0>; 86 l2-cache = <&L2_1>; 169 cache-unified; 177 cache-unified; 185 cache-unified; 193 cache-unified; 197 L3: l3-cache { 198 cache-level = <3>; [all …]
|
/linux-6.3-rc2/mm/ |
A D | swap_slots.c | 137 if (cache->slots || cache->slots_ret) { in alloc_swap_slot_cache() 152 cache->nr = 0; in alloc_swap_slot_cache() 153 cache->cur = 0; in alloc_swap_slot_cache() 177 swapcache_free_entries(cache->slots + cache->cur, cache->nr); in drain_slots_cache_cpu() 179 cache->nr = 0; in drain_slots_cache_cpu() 188 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu() 264 cache->cur = 0; in refill_swap_slots_cache() 291 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot() 294 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot() 331 entry = cache->slots[cache->cur]; in folio_alloc_swap() [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/amazon/ |
A D | alpine-v3.dtsi | 30 d-cache-sets = <256>; 33 i-cache-sets = <256>; 44 d-cache-sets = <256>; 47 i-cache-sets = <256>; 58 d-cache-sets = <256>; 61 i-cache-sets = <256>; 72 d-cache-sets = <256>; 252 cache-level = <2>; 260 cache-level = <2>; 268 cache-level = <2>; [all …]
|
/linux-6.3-rc2/fs/btrfs/tests/ |
A D | free-space-tests.c | 39 if (test_check_exists(cache, 0, SZ_4M)) { in test_extents() 85 btrfs_remove_free_space_cache(cache); in test_extents() 152 btrfs_remove_free_space_cache(cache); in test_bitmaps() 233 btrfs_remove_free_space_cache(cache); in test_bitmaps_and_extents() 628 ret = check_cache_empty(cache); in test_steal_space_from_bitmap_to_extent() 817 ret = check_cache_empty(cache); in test_steal_space_from_bitmap_to_extent() 947 offset = btrfs_find_space_for_alloc(cache, cache->start, sectorsize * 3, in test_bytes_index() 991 offset = btrfs_find_space_for_alloc(cache, cache->start, sectorsize * 2, in test_bytes_index() 1008 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local 1026 if (!cache) { in btrfs_test_free_space_cache() [all …]
|
A D | free-space-tree-tests.c | 52 end = cache->start + cache->length; in __check_free_space_extents() 157 {cache->start, cache->length}, in test_empty_block_group() 192 {cache->start + alignment, cache->length - alignment}, in test_remove_beginning() 215 {cache->start, cache->length - alignment}, in test_remove_end() 220 cache->start + cache->length - alignment, in test_remove_end() 239 {cache->start + 2 * alignment, cache->length - 2 * alignment}, in test_remove_middle() 267 cache->start, cache->length); in test_merge_left() 304 cache->start, cache->length); in test_merge_right() 342 cache->start, cache->length); in test_merge_both() 387 cache->start, cache->length); in test_merge_none() [all …]
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | utcache.c | 47 if (!cache) { in acpi_os_create_cache() 58 *return_cache = cache; in acpi_os_create_cache() 81 if (!cache) { in acpi_os_purge_cache() 100 cache->current_depth--; in acpi_os_purge_cache() 135 acpi_os_free(cache); in acpi_os_delete_cache() 165 if (cache->current_depth >= cache->max_depth) { in acpi_os_release_object() 215 if (!cache) { in acpi_os_acquire_object() 228 if (cache->list_head) { in acpi_os_acquire_object() 257 if ((cache->total_allocated - cache->total_freed) > in acpi_os_acquire_object() 259 cache->max_occupied = in acpi_os_acquire_object() [all …]
|
/linux-6.3-rc2/fs/ |
A D | mbcache.c | 53 return &cache->c_hash[hash_32(key, cache->c_bucket_bits)]; in mb_cache_entry_head() 82 if (cache->c_entry_count >= cache->c_max_entries) in mb_cache_entry_create() 85 if (cache->c_entry_count >= 2*cache->c_max_entries) in mb_cache_entry_create() 348 mb_cache_shrink(cache, cache->c_max_entries / SHRINK_DIVISOR); in mb_cache_shrink_worker() 364 if (!cache) in mb_cache_create() 373 if (!cache->c_hash) { in mb_cache_create() 374 kfree(cache); in mb_cache_create() 385 kfree(cache); in mb_cache_create() 391 return cache; in mb_cache_create() 420 kfree(cache->c_hash); in mb_cache_destroy() [all …]
|
/linux-6.3-rc2/fs/squashfs/ |
A D | cache.c | 61 for (i = cache->curr_blk, n = 0; n < cache->entries; n++) { in squashfs_cache_get() 77 wait_event(cache->wait_queue, cache->unused); in squashfs_cache_get() 95 cache->next_blk = (i + 1) % cache->entries; in squashfs_cache_get() 102 cache->unused--; in squashfs_cache_get() 142 cache->unused--; in squashfs_cache_get() 175 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local 180 cache->unused++; in squashfs_cache_put() 214 kfree(cache); in squashfs_cache_delete() 246 cache->pages = cache->pages ? cache->pages : 1; in squashfs_cache_init() 256 entry->cache = cache; in squashfs_cache_init() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/fsl/ |
A D | l2cache.txt | 9 "fsl,b4420-l2-cache-controller" 10 "fsl,b4860-l2-cache-controller" 11 "fsl,bsc9131-l2-cache-controller" 12 "fsl,bsc9132-l2-cache-controller" 13 "fsl,c293-l2-cache-controller" 24 "fsl,p1010-l2-cache-controller" 41 and "cache". 43 - cache-size : Size of the entire L2 cache 45 - cache-line-size : Size of L2 cache lines 49 L2: l2-cache-controller@20000 { [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/ti/ |
A D | k3-am654.dtsi | 43 i-cache-sets = <256>; 46 d-cache-sets = <128>; 57 i-cache-sets = <256>; 60 d-cache-sets = <128>; 95 cache-level = <2>; 96 cache-unified; 99 cache-sets = <512>; 105 cache-level = <2>; 106 cache-unified; 109 cache-sets = <512>; [all …]
|
A D | k3-am62a7.dtsi | 46 i-cache-sets = <256>; 49 d-cache-sets = <128>; 60 i-cache-sets = <256>; 63 d-cache-sets = <128>; 74 i-cache-sets = <256>; 77 d-cache-sets = <128>; 88 i-cache-sets = <256>; 97 compatible = "cache"; 98 cache-unified; 99 cache-level = <2>; [all …]
|
A D | k3-j784s4.dtsi | 71 i-cache-sets = <256>; 74 d-cache-sets = <256>; 85 i-cache-sets = <256>; 179 cache-level = <2>; 180 cache-unified; 183 cache-sets = <1024>; 189 cache-level = <2>; 190 cache-unified; 193 cache-sets = <1024>; 199 cache-level = <3>; [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/socionext/ |
A D | socionext,uniphier-system-cache.yaml | 35 cache-unified: true 37 cache-size: true 39 cache-sets: true 43 cache-level: 58 - cache-unified 59 - cache-size 60 - cache-sets 61 - cache-line-size 62 - cache-level 71 cache-unified; [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/marvell/ |
A D | armada-ap806-quad.dtsi | 27 i-cache-sets = <256>; 30 d-cache-sets = <256>; 42 i-cache-sets = <256>; 45 d-cache-sets = <256>; 57 i-cache-sets = <256>; 60 d-cache-sets = <256>; 72 i-cache-sets = <256>; 83 cache-sets = <512>; 84 cache-level = <2>; 91 cache-sets = <512>; [all …]
|
A D | armada-ap807-quad.dtsi | 27 i-cache-sets = <256>; 30 d-cache-sets = <256>; 42 i-cache-sets = <256>; 45 d-cache-sets = <256>; 57 i-cache-sets = <256>; 60 d-cache-sets = <256>; 72 i-cache-sets = <256>; 83 cache-sets = <512>; 84 cache-level = <2>; 91 cache-sets = <512>; [all …]
|
/linux-6.3-rc2/fs/nfs/ |
A D | nfs42xattr.c | 113 cache->buckets[i].cache = cache; in nfs4_xattr_hash_init() 293 if (cache == NULL) in nfs4_xattr_alloc_cache() 299 return cache; in nfs4_xattr_alloc_cache() 442 if (cache != NULL) in nfs4_xattr_get_cache() 463 cache = NULL; in nfs4_xattr_get_cache() 500 return cache; in nfs4_xattr_get_cache() 616 if (cache == NULL) in nfs4_xattr_cache_get() 655 if (cache == NULL) in nfs4_xattr_cache_list() 698 if (cache == NULL) in nfs4_xattr_cache_add() 727 if (cache == NULL) in nfs4_xattr_cache_remove() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/cpufreq/ |
A D | cpufreq-qcom-hw.yaml | 107 L2_0: l2-cache { 109 cache-unified; 112 L3_0: l3-cache { 114 cache-unified; 130 cache-unified; 146 cache-unified; 162 cache-unified; 178 cache-unified; 194 cache-unified; 210 cache-unified; [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/arm/ |
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 …]
|
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 …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/freescale/ |
A D | imx8qm.dtsi | 65 i-cache-sets = <256>; 68 d-cache-sets = <128>; 79 i-cache-sets = <256>; 82 d-cache-sets = <128>; 93 i-cache-sets = <256>; 96 d-cache-sets = <128>; 138 cache-level = <2>; 139 cache-unified; 142 cache-sets = <1024>; 147 cache-level = <2>; [all …]
|