| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Processor cache information made available to userspace via sysfs; 27 /* per-cpu object for tracking: 28 * - a "cache" kobject for the top-level directory 29 * - a list of "index" objects representing the cpu's local cache hierarchy 32 struct kobject *kobj; /* bare (not embedded) kobject for cache 37 /* "index" object: each cpu's cache directory has an index 38 * subdirectory corresponding to a cache object associated with the 44 struct cache *cache; member 48 * cache type */ [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Processor cache information made available to userspace via sysfs; 26 /* per-cpu object for tracking: 27 * - a "cache" kobject for the top-level directory 28 * - a list of "index" objects representing the cpu's local cache hierarchy 31 struct kobject *kobj; /* bare (not embedded) kobject for cache 36 /* "index" object: each cpu's cache directory has an index 37 * subdirectory corresponding to a cache object associated with the 43 struct cache *cache; member 47 * cache type */ [all …]
|
| /kernel/linux/linux-6.6/fs/fscache/ |
| D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* FS-Cache cache handling 8 #define FSCACHE_DEBUG_LEVEL CACHE 22 * Allocate a cache cookie. 26 struct fscache_cache *cache; in fscache_alloc_cache() local 28 cache = kzalloc(sizeof(*cache), GFP_KERNEL); in fscache_alloc_cache() 29 if (cache) { in fscache_alloc_cache() 31 cache->name = kstrdup(name, GFP_KERNEL); in fscache_alloc_cache() 32 if (!cache->name) { in fscache_alloc_cache() 33 kfree(cache); in fscache_alloc_cache() [all …]
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | dm-cache-target.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include "dm-bio-prison-v2.h" 10 #include "dm-bio-record.h" 11 #include "dm-cache-metadata.h" 12 #include "dm-io-tracker.h" 13 #include "dm-cache-background-tracker.h" 15 #include <linux/dm-io.h> 16 #include <linux/dm-kcopyd.h> 25 #define DM_MSG_PREFIX "cache" 28 "A percentage of time allocated for copying to and/or from cache"); [all …]
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-cache-target.c | 8 #include "dm-bio-prison-v2.h" 9 #include "dm-bio-record.h" 10 #include "dm-cache-metadata.h" 12 #include <linux/dm-io.h> 13 #include <linux/dm-kcopyd.h> 22 #define DM_MSG_PREFIX "cache" 25 "A percentage of time allocated for copying to and/or from cache"); 27 /*----------------------------------------------------------------*/ 33 * cblock: index of a cache block 34 * promotion: movement of a block from origin to cache [all …]
|
| /kernel/linux/linux-5.10/fs/cachefiles/ |
| D | bind.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Bind and unbind a cache from the filesystem backing it 25 * bind a directory as a cache 27 int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bind() argument 30 cache->frun_percent, in cachefiles_daemon_bind() 31 cache->fcull_percent, in cachefiles_daemon_bind() 32 cache->fstop_percent, in cachefiles_daemon_bind() 33 cache->brun_percent, in cachefiles_daemon_bind() 34 cache->bcull_percent, in cachefiles_daemon_bind() 35 cache->bstop_percent, in cachefiles_daemon_bind() [all …]
|
| /kernel/linux/linux-6.6/fs/cachefiles/ |
| D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Manage high-level VFS aspects of a cache. 15 * Bring a cache online. 17 int cachefiles_add_cache(struct cachefiles_cache *cache) in cachefiles_add_cache() argument 28 cache_cookie = fscache_acquire_cache(cache->tag); in cachefiles_add_cache() 33 ret = cachefiles_get_security_ID(cache); in cachefiles_add_cache() 37 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_add_cache() 39 /* look up the directory at the root of the cache */ in cachefiles_add_cache() 40 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache() 44 cache->mnt = path.mnt; in cachefiles_add_cache() [all …]
|
| D | daemon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 int (*handler)(struct cachefiles_cache *cache, char *args); 88 * Prepare a cache for caching. 92 struct cachefiles_cache *cache; in cachefiles_daemon_open() local 98 return -EPERM; in cachefiles_daemon_open() 102 return -EBUSY; in cachefiles_daemon_open() 104 /* allocate a cache record */ in cachefiles_daemon_open() 105 cache = kzalloc(sizeof(struct cachefiles_cache), GFP_KERNEL); in cachefiles_daemon_open() 106 if (!cache) { in cachefiles_daemon_open() 108 return -ENOMEM; in cachefiles_daemon_open() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | l2cache.txt | 1 Freescale L2 Cache Controller 3 L2 cache is present in Freescale's QorIQ and QorIQ Qonverge platforms. 4 The cache bindings explained below are Devicetree Specification compliant 8 - compatible : Should include one of the following: 9 "fsl,8540-l2-cache-controller" 10 "fsl,8541-l2-cache-controller" 11 "fsl,8544-l2-cache-controller" 12 "fsl,8548-l2-cache-controller" 13 "fsl,8555-l2-cache-controller" 14 "fsl,8568-l2-cache-controller" [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z16/ |
| D | extended.json | 3 "Unit": "CPU-M-CF", 6 "BriefDescription": "L1D Read-only Exclusive Writes", 7 …-1 Data cache where the line was originally in a Read-Only state in the cache but has been updated… 10 "Unit": "CPU-M-CF", 14 …lation Lookaside Buffer 2 (TLB2) and the request was made by the Level-1 Data cache. This is a rep… 17 "Unit": "CPU-M-CF", 21 …or a request made by the Level-1 Data cache. Incremented by one for every TLB2 miss in progress fo… 24 "Unit": "CPU-M-CF", 28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… 31 "Unit": "CPU-M-CF", [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amazon/ |
| D | alpine-v3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 compatible = "amazon,al-alpine-v3"; 14 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; 20 #address-cells = <1>; 21 #size-cells = <0>; 25 compatible = "arm,cortex-a72"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amd/ |
| D | amd-seattle-cpus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #address-cells = <0x1>; 6 #size-cells = <0x0>; 8 cpu-map { 45 compatible = "arm,cortex-a57"; 47 enable-method = "psci"; 49 i-cache-size = <0xC000>; 50 i-cache-line-size = <64>; 51 i-cache-sets = <256>; 52 d-cache-size = <0x8000>; [all …]
|
| /kernel/linux/linux-5.10/fs/fscache/ |
| D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* FS-Cache cache handling 8 #define FSCACHE_DEBUG_LEVEL CACHE 21 * look up a cache tag 31 if (strcmp(tag->name, name) == 0) { in __fscache_lookup_cache_tag() 32 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag() 40 /* the tag does not exist - create a candidate */ in __fscache_lookup_cache_tag() 44 return ERR_PTR(-ENOMEM); in __fscache_lookup_cache_tag() 46 atomic_set(&xtag->usage, 1); in __fscache_lookup_cache_tag() 47 strcpy(xtag->name, name); in __fscache_lookup_cache_tag() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amazon/ |
| D | alpine-v3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 compatible = "amazon,al-alpine-v3"; 14 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; 20 #address-cells = <1>; 21 #size-cells = <0>; 25 compatible = "arm,cortex-a72"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/cache/ |
| D | freescale-l2cache.txt | 1 Freescale L2 Cache Controller 3 L2 cache is present in Freescale's QorIQ and QorIQ Qonverge platforms. 4 The cache bindings explained below are Devicetree Specification compliant 8 - compatible : Should include one of the following: 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" 14 "fsl,mpc8536-l2-cache-controller" [all …]
|
| D | socionext,uniphier-system-cache.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/cache/socionext,uniphier-system-cache.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UniPhier outer cache controller 10 UniPhier ARM 32-bit SoCs are integrated with a full-custom outer cache 11 controller system. All of them have a level 2 cache controller, and some 12 have a level 3 cache controller as well. 15 - Masahiro Yamada <yamada.masahiro@socionext.com> 19 const: socionext,uniphier-system-cache [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | mbcache.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Mbcache is a simple key-value store. Keys need not be unique, however 13 * key-value pairs are expected to be unique (we use this fact in 16 * Ext2 and ext4 use this cache for deduplication of extended attribute blocks. 21 * identifies a cache entry. 24 * and a special "delete entry with given key-value pair" operation. Fixed 33 /* Maximum entries in cache to avoid degrading hash too much */ 38 /* Number of entries in cache */ 41 /* Work for shrinking when the cache has too many entries */ 47 static unsigned long mb_cache_shrink(struct mb_cache *cache, [all …]
|
| /kernel/linux/linux-6.6/fs/ |
| D | mbcache.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Mbcache is a simple key-value store. Keys need not be unique, however 13 * key-value pairs are expected to be unique (we use this fact in 16 * Ext2 and ext4 use this cache for deduplication of extended attribute blocks. 21 * identifies a cache entry. 24 * and a special "delete entry with given key-value pair" operation. Fixed 33 /* Maximum entries in cache to avoid degrading hash too much */ 38 /* Number of entries in cache */ 41 /* Work for shrinking when the cache has too many entries */ 47 static unsigned long mb_cache_shrink(struct mb_cache *cache, [all …]
|
| /kernel/linux/linux-5.10/arch/loongarch/boot/dts/loongson/ |
| D | loongson3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Loongson-3 may have as many as 4 nodes, each node has 4 cores. 8 #address-cells = <1>; 9 #size-cells = <0>; 15 l2-cache = <&vcache0>; 16 next-level-cache = <&scache0>; 23 l2-cache = <&vcache1>; 24 next-level-cache = <&scache0>; 31 l2-cache = <&vcache2>; 32 next-level-cache = <&scache0>; [all …]
|
| /kernel/linux/linux-6.6/fs/squashfs/ |
| D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Squashfs - a compressed read only filesystem for Linux 8 * cache.c 15 * This file implements a generic cache implementation used for both caches, 16 * plus functions layered ontop of the generic cache implementation to 19 * To avoid out of memory and fragmentation issues with vmalloc the cache 22 * It should be noted that the cache is not used for file datablocks, these 23 * are decompressed and cached in the page-cache in the normal way. The 24 * cache is only used to temporarily cache fragment and metadata blocks 29 * have been packed with it, these because of locality-of-reference may be read [all …]
|
| /kernel/linux/linux-5.10/fs/squashfs/ |
| D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Squashfs - a compressed read only filesystem for Linux 8 * cache.c 15 * This file implements a generic cache implementation used for both caches, 16 * plus functions layered ontop of the generic cache implementation to 19 * To avoid out of memory and fragmentation issues with vmalloc the cache 22 * It should be noted that the cache is not used for file datablocks, these 23 * are decompressed and cached in the page-cache in the normal way. The 24 * cache is only used to temporarily cache fragment and metadata blocks 29 * have been packed with it, these because of locality-of-reference may be read [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/ |
| D | cache.json | 111 …"Level 1 data cache refill started due to prefetch. Counts any linefills from the prefetcher which… 114 …"Level 1 data cache refill started due to prefetch. Counts any linefills from the prefetcher which… 117 …cache refill due to prefetch. +//0 If the core is configured with a per-core L2 cache: This event … 120 …cache refill due to prefetch. +//0 If the core is configured with a per-core L2 cache: This event … 123 …cache refill due to prefetch. This event counts any linefills from the hardware prefetcher which c… 126 …cache refill due to prefetch. This event counts any linefills from the hardware prefetcher which c… 141 … 2 cache write streaming mode. This event counts for each cycle where the core is in write-streami… 144 … 2 cache write streaming mode. This event counts for each cycle where the core is in write-streami… 147 … 3 cache write streaming mode. This event counts for each cycle where the core is in write-streami… 150 … 3 cache write streaming mode. This event counts for each cycle where the core is in write-streami… [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | swap_slots.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Manage cache of swap slots to be used for and returned from 25 * The swap slots cache is protected by a mutex instead of 42 /* Serialize swap slots cache enable/disable operations */ 107 /* if global pool of slot caches too low, deactivate cache */ in check_cache_active() 116 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local 127 return -ENOMEM; in alloc_swap_slot_cache() 133 return -ENOMEM; in alloc_swap_slot_cache() 137 cache = &per_cpu(swp_slots, cpu); in alloc_swap_slot_cache() 138 if (cache->slots || cache->slots_ret) { in alloc_swap_slot_cache() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | swap_slots.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Manage cache of swap slots to be used for and returned from 25 * The swap slots cache is protected by a mutex instead of 43 /* Serialize swap slots cache enable/disable operations */ 106 /* if global pool of slot caches too low, deactivate cache */ in check_cache_active() 115 struct swap_slots_cache *cache; in alloc_swap_slot_cache() local 126 return -ENOMEM; in alloc_swap_slot_cache() 132 return -ENOMEM; in alloc_swap_slot_cache() 136 cache = &per_cpu(swp_slots, cpu); in alloc_swap_slot_cache() 137 if (cache->slots || cache->slots_ret) { in alloc_swap_slot_cache() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/socionext/ |
| D | socionext,uniphier-system-cache.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/socionext/socionext,uniphier-system-cache.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UniPhier outer cache controller 10 UniPhier ARM 32-bit SoCs are integrated with a full-custom outer cache 11 controller system. All of them have a level 2 cache controller, and some 12 have a level 3 cache controller as well. 15 - Masahiro Yamada <yamada.masahiro@socionext.com> 19 const: socionext,uniphier-system-cache [all …]
|