Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 1527) sorted by relevance

12345678910>>...62

/linux-6.15/drivers/md/
H A Ddm-cache-target.c489 mg->cache = cache; in alloc_migration()
497 struct cache *cache = mg->cache; in free_migration() local
1103 struct cache *cache = mg->cache; in copy() local
1131 struct cache *cache = mg->cache; in overwrite_endio() local
1177 struct cache *cache = mg->cache; in mg_complete() local
1246 struct cache *cache = mg->cache; in mg_update_metadata() local
1348 struct cache *cache = mg->cache; in mg_full_copy() local
1402 struct cache *cache = mg->cache; in mg_lock_writes() local
1462 struct cache *cache = mg->cache; in invalidate_complete() local
1513 struct cache *cache = mg->cache; in invalidate_remove() local
[all …]
/linux-6.15/arch/powerpc/kernel/
H A Dcacheinfo.c43 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.15/fs/netfs/
H A Dfscache_cache.c28 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.15/fs/cachefiles/
H A Ddaemon.c106 if (!cache) { in cachefiles_daemon_open()
176 kfree(cache); in cachefiles_put_unbind_pincount()
194 ASSERT(cache); in cachefiles_daemon_release()
290 ASSERT(cache); in cachefiles_daemon_write()
443 if (fcull <= cache->fstop_percent || fcull >= cache->frun_percent) in cachefiles_daemon_fcull()
617 if (cache->tag) in cachefiles_daemon_tag()
624 cache->tag = tag; in cachefiles_daemon_tag()
761 if (cache->fstop_percent >= cache->fcull_percent || in cachefiles_daemon_bind()
762 cache->fcull_percent >= cache->frun_percent || in cachefiles_daemon_bind()
766 if (cache->bstop_percent >= cache->bcull_percent || in cachefiles_daemon_bind()
[all …]
H A Dcache.c99 cache->bsize, cache->bshift); in cachefiles_add_cache()
107 cache->fstop = stats.f_files * cache->fstop_percent; in cachefiles_add_cache()
108 cache->fcull = stats.f_files * cache->fcull_percent; in cachefiles_add_cache()
109 cache->frun = stats.f_files * cache->frun_percent; in cachefiles_add_cache()
119 cache->brun = stats.f_blocks * cache->brun_percent; in cachefiles_add_cache()
143 cache->cache = cache_cookie; in cachefiles_add_cache()
158 _leave(" = 0 [%px]", cache->cache); in cachefiles_add_cache()
176 cache->cache = NULL; in cachefiles_add_cache()
390 _enter("%s", cache->cache->name); in cachefiles_sync_cache()
411 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache()
[all …]
/linux-6.15/arch/arm64/boot/dts/amd/
H A Damd-seattle-cpus.dtsi51 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.15/arch/arm64/boot/dts/amazon/
H A Dalpine-v3.dtsi30 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>;
252 cache-level = <2>;
253 cache-unified;
262 cache-unified;
271 cache-unified;
[all …]
/linux-6.15/arch/riscv/boot/dts/sophgo/
H A Dsg2042-cpus.dtsi1862 cache-unified;
1871 cache-unified;
1880 cache-unified;
1889 cache-unified;
1898 cache-unified;
1907 cache-unified;
1916 cache-unified;
1925 cache-unified;
1934 cache-unified;
1943 cache-unified;
[all …]
/linux-6.15/fs/btrfs/tests/
H A Dfree-space-tests.c39 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 …]
H A Dfree-space-tree-tests.c52 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.15/fs/
H A Dmbcache.c53 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()
346 mb_cache_shrink(cache, cache->c_max_entries / SHRINK_DIVISOR); in mb_cache_shrink_worker()
362 if (!cache) in mb_cache_create()
371 if (!cache->c_hash) { in mb_cache_create()
372 kfree(cache); in mb_cache_create()
381 kfree(cache); in mb_cache_create()
387 cache->c_shrink->private_data = cache; in mb_cache_create()
393 return cache; in mb_cache_create()
[all …]
/linux-6.15/drivers/acpi/acpica/
H A Dutcache.c47 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.15/fs/squashfs/
H A Dcache.c61 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()
175 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local
180 cache->unused++; in squashfs_cache_put()
201 if (IS_ERR(cache) || cache == NULL) in squashfs_cache_delete()
214 kfree(cache); in squashfs_cache_delete()
232 cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init()
250 cache->pages = cache->pages ? cache->pages : 1; in squashfs_cache_init()
260 entry->cache = cache; in squashfs_cache_init()
[all …]
/linux-6.15/Documentation/devicetree/bindings/cache/
H A Dfreescale-l2cache.txt9 "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 …]
H A Dsocionext,uniphier-system-cache.yaml4 $id: http://devicetree.org/schemas/cache/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
[all …]
/linux-6.15/arch/arm64/boot/dts/ti/
H A Dk3-j784s4.dtsi65 i-cache-sets = <256>;
68 d-cache-sets = <256>;
79 i-cache-sets = <256>;
82 d-cache-sets = <256>;
93 i-cache-sets = <256>;
96 d-cache-sets = <256>;
107 i-cache-sets = <256>;
110 d-cache-sets = <256>;
121 i-cache-sets = <256>;
124 d-cache-sets = <256>;
[all …]
H A Dk3-am654.dtsi43 i-cache-sets = <256>;
46 d-cache-sets = <128>;
57 i-cache-sets = <256>;
95 cache-level = <2>;
96 cache-unified;
99 cache-sets = <512>;
105 cache-level = <2>;
106 cache-unified;
109 cache-sets = <512>;
115 cache-level = <3>;
[all …]
/linux-6.15/scripts/gendwarfksyms/
H A Ddwarf.c176 if (cache) in process()
193 process(cache, buf); in process_fmt()
201 if (!cache->fqn) { in update_fqn()
206 cache->fqn = ""; in update_fqn()
213 if (*cache->fqn) in process_fqn()
215 process(cache, cache->fqn); in process_fqn()
856 struct die *cache; in process_type() local
936 cache->tag = tag; in process_type()
949 struct die *cache; in get_symbol_cache() local
957 return cache; in get_symbol_cache()
[all …]
/linux-6.15/arch/arm64/boot/dts/marvell/
H A Darmada-ap807-quad.dtsi24 i-cache-sets = <256>;
27 d-cache-sets = <256>;
39 i-cache-sets = <256>;
42 d-cache-sets = <256>;
54 i-cache-sets = <256>;
80 cache-sets = <512>;
81 cache-level = <2>;
82 cache-unified;
89 cache-sets = <512>;
90 cache-level = <2>;
[all …]
H A Darmada-ap806-quad.dtsi24 i-cache-sets = <256>;
27 d-cache-sets = <256>;
39 i-cache-sets = <256>;
42 d-cache-sets = <256>;
54 i-cache-sets = <256>;
80 cache-sets = <512>;
81 cache-level = <2>;
82 cache-unified;
89 cache-sets = <512>;
90 cache-level = <2>;
[all …]
/linux-6.15/fs/nfs/
H A Dnfs42xattr.c113 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.15/arch/arm64/boot/dts/exynos/
H A Dexynosautov920.dtsi229 cache-level = <2>;
230 cache-unified;
239 cache-level = <2>;
240 cache-unified;
250 cache-unified;
260 cache-unified;
261 cache-size = <0x200000>;/* 2MB L3 cache for cpu cluster-0 */
269 cache-unified;
270 cache-size = <0x200000>;/* 2MB L3 cache for cpu cluster-1 */
278 cache-unified;
[all …]
/linux-6.15/arch/arm64/boot/dts/arm/
H A Dmorello.dtsi47 l2_0: l2-cache {
49 cache-level = <2>;
54 cache-unified;
74 l2_1: l2-cache {
81 cache-unified;
101 l2_2: l2-cache {
108 cache-unified;
128 l2_3: l2-cache {
135 cache-unified;
140 l3_0: l3-cache {
[all …]
H A Dfvp-base-revc.dts54 i-cache-sets = <256>;
57 d-cache-sets = <256>;
67 i-cache-sets = <256>;
70 d-cache-sets = <256>;
80 i-cache-sets = <256>;
155 cache-sets = <512>;
156 cache-level = <2>;
157 cache-unified;
164 cache-sets = <512>;
165 cache-level = <2>;
[all …]
/linux-6.15/io_uring/
H A Dalloc_cache.h11 void io_alloc_cache_free(struct io_alloc_cache *cache,
13 bool io_alloc_cache_init(struct io_alloc_cache *cache,
22 if (cache->nr_cached < cache->max_cached) { in io_alloc_cache_put()
25 cache->entries[cache->nr_cached++] = entry; in io_alloc_cache_put()
33 if (cache->nr_cached) { in io_alloc_cache_get()
34 void *entry = cache->entries[--cache->nr_cached]; in io_alloc_cache_get()
43 if (cache->init_clear) in io_alloc_cache_get()
44 memset(entry, 0, cache->init_clear); in io_alloc_cache_get()
56 obj = io_alloc_cache_get(cache); in io_cache_alloc()
59 return io_cache_alloc_new(cache, gfp); in io_cache_alloc()
[all …]

12345678910>>...62