/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 …]
|
/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 …]
|
/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 …]
|
D | daemon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 int (*handler)(struct cachefiles_cache *cache, char *args); 85 struct cachefiles_cache *cache; in cachefiles_daemon_open() local 91 return -EPERM; in cachefiles_daemon_open() 95 return -EBUSY; in cachefiles_daemon_open() 97 /* allocate a cache record */ in cachefiles_daemon_open() 98 cache = kzalloc(sizeof(struct cachefiles_cache), GFP_KERNEL); in cachefiles_daemon_open() 99 if (!cache) { in cachefiles_daemon_open() 101 return -ENOMEM; in cachefiles_daemon_open() 104 mutex_init(&cache->daemon_mutex); in cachefiles_daemon_open() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux-5.10/fs/nfs/ |
D | nfs42xattr.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * User extended attribute client side cache functions. 21 * a cache structure attached to NFS inodes. This structure is allocated 22 * when needed, and freed when the cache is zapped. 24 * The cache structure contains as hash table of entries, and a pointer 25 * to a special-cased entry for the listxattr cache. 28 * counting. The cache entries use a similar refcounting scheme. 30 * This makes freeing a cache, both from the shrinker and from the 31 * zap cache path, easy. It also means that, in current use cases, 40 * Two shrinkers deal with the cache entries themselves: one for [all …]
|
/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z13/ |
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 …"PublicDescription": "A translation entry has been written to the Level-1 Data Translation Lookasi… 17 "Unit": "CPU-M-CF", 21 …"PublicDescription": "Level-1 Data TLB miss in progress. Incremented by one for every cycle a DTLB… 24 "Unit": "CPU-M-CF", 27 "BriefDescription": "DTLB1 One-Megabyte Page Writes", 28 …": "A translation entry has been written to the Level-1 Data Translation Lookaside Buffer for a on… [all …]
|
/linux-5.10/arch/arm64/boot/dts/ti/ |
D | k3-am654.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ 8 #include "k3-am65.dtsi" 12 #address-cells = <1>; 13 #size-cells = <0>; 14 cpu-map { 37 compatible = "arm,cortex-a53"; 40 enable-method = "psci"; 41 i-cache-size = <0x8000>; 42 i-cache-line-size = <64>; [all …]
|
/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z14/ |
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 … written into The Translation Lookaside Buffer 2 (TLB2) and the request was made by the data cache" 17 "Unit": "CPU-M-CF", 21 …ss for a request made by the data cache. Incremented by one for every TLB2 miss in progress for th… 24 "Unit": "CPU-M-CF", 27 "BriefDescription": "DTLB2 One-Megabyte Page Writes", 28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… [all …]
|
/linux-5.10/drivers/acpi/acpica/ |
D | utcache.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utcache - local cache allocation routines 6 * Copyright (C) 2000 - 2020, Intel Corp. 21 * PARAMETERS: cache_name - Ascii name for the cache 22 * object_size - Size of each cached object 23 * max_depth - Maximum depth of the cache (in objects) 24 * return_cache - Where the new cache object is returned 28 * DESCRIPTION: Create a cache object 36 struct acpi_memory_list *cache; in acpi_os_create_cache() local 44 /* Create the cache object */ in acpi_os_create_cache() [all …]
|
/linux-5.10/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "btrfs-tests.h" 9 #include "../disk-io.h" 10 #include "../free-space-tree.h" 12 #include "../block-group.h" 21 struct btrfs_block_group *cache, in __check_free_space_extents() argument 34 info = search_free_space_info(trans, cache, path, 0); in __check_free_space_extents() 40 flags = btrfs_free_space_flags(path->nodes[0], info); in __check_free_space_extents() 41 extent_count = btrfs_free_space_extent_count(path->nodes[0], info); in __check_free_space_extents() 45 ret = -EINVAL; in __check_free_space_extents() [all …]
|
D | free-space-tests.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "btrfs-tests.h" 9 #include "../disk-io.h" 10 #include "../free-space-cache.h" 11 #include "../block-group.h" 20 static int test_extents(struct btrfs_block_group *cache) in test_extents() argument 27 ret = btrfs_add_free_space(cache, 0, SZ_4M); in test_extents() 33 ret = btrfs_remove_free_space(cache, 0, SZ_4M); in test_extents() 39 if (test_check_exists(cache, 0, SZ_4M)) { in test_extents() 41 return -1; in test_extents() [all …]
|
/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z15/ |
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 … written into The Translation Lookaside Buffer 2 (TLB2) and the request was made by the data cache" 17 "Unit": "CPU-M-CF", 21 …ss for a request made by the data cache. Incremented by one for every TLB2 miss in progress for th… 24 "Unit": "CPU-M-CF", 27 "BriefDescription": "DTLB2 One-Megabyte Page Writes", 28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page" [all …]
|
/linux-5.10/Documentation/filesystems/caching/ |
D | backend-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 FS-Cache Cache backend API 7 The FS-Cache system provides an API by which actual caches can be supplied to 8 FS-Cache for it to then serve out to network filesystems and other interested 11 This API is declared in <linux/fscache-cache.h>. 14 Initialising and Registering a Cache 17 To start off, a cache definition must be initialised and registered for each 18 cache the backend wants to make available. For instance, CacheFS does this in 21 The cache definition (struct fscache_cache) should be initialised by calling:: 23 void fscache_init_cache(struct fscache_cache *cache, [all …]
|
/linux-5.10/tools/perf/pmu-events/arch/s390/cf_zec12/ |
D | extended.json | 3 "Unit": "CPU-M-CF", 7 …"PublicDescription": "Level-1 Data TLB miss in progress. Incremented by one for every cycle a DTLB… 10 "Unit": "CPU-M-CF", 14 …"PublicDescription": "Level-1 Instruction TLB miss in progress. Incremented by one for every cycle… 17 "Unit": "CPU-M-CF", 21 …rectory write to the Level-1 Data cache directory where the returned cache line was sourced from t… 24 "Unit": "CPU-M-CF", 28 …tory write to the Level-1 Instruction cache directory where the returned cache line was sourced fr… 31 "Unit": "CPU-M-CF", 35 …A directory write to the Level-1 Data cache directory where the returned cache line was sourced fr… [all …]
|
/linux-5.10/arch/arm64/boot/dts/marvell/ |
D | armada-ap806-quad.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "armada-ap806.dtsi" 12 compatible = "marvell,armada-ap806-quad", "marvell,armada-ap806"; 15 #address-cells = <1>; 16 #size-cells = <0>; 20 compatible = "arm,cortex-a72"; 22 enable-method = "psci"; 23 #cooling-cells = <2>; 25 i-cache-size = <0xc000>; 26 i-cache-line-size = <64>; [all …]
|
D | armada-ap807-quad.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "armada-ap807.dtsi" 12 compatible = "marvell,armada-ap807-quad", "marvell,armada-ap807"; 15 #address-cells = <1>; 16 #size-cells = <0>; 20 compatible = "arm,cortex-a72"; 22 enable-method = "psci"; 23 #cooling-cells = <2>; 25 i-cache-size = <0xc000>; 26 i-cache-line-size = <64>; [all …]
|
/linux-5.10/tools/perf/pmu-events/arch/x86/goldmont/ |
D | cache.json | 4 …"PublicDescription": "Counts memory requests originating from the core that miss in the L2 cache.", 10 "BriefDescription": "L2 cache request misses" 14 …": "Counts memory requests originating from the core that reference a cache line in the L2 cache.", 20 "BriefDescription": "L2 cache requests" 24 …from the intra-die interconnect (IDI) fabric. The XQ may reject transactions from the L2Q (non-cac… 44 …"PublicDescription": "Counts when a modified (dirty) cache line is evicted from the data L1 cache … 50 "BriefDescription": "L1 Cache evictions for dirty data" 54 …s not the same as the total number of cycles spent retrieving instruction cache lines from the mem… 60 "BriefDescription": "Cycles code-fetch stalled due to an outstanding ICache miss." 86 …ription": "Counts load uops retired where the data requested spans a 64 byte cache line boundary.", [all …]
|
/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z196/ |
D | extended.json | 3 "Unit": "CPU-M-CF", 7 …": "A directory write to the Level-1 D-Cache directory where the returned cache line was sourced f… 10 "Unit": "CPU-M-CF", 14 …": "A directory write to the Level-1 I-Cache directory where the returned cache line was sourced f… 17 "Unit": "CPU-M-CF", 21 …"PublicDescription": "Level-1 Data TLB miss in progress. Incremented by one for every cycle a DTLB… 24 "Unit": "CPU-M-CF", 28 …"PublicDescription": "Level-1 Instruction TLB miss in progress. Incremented by one for every cycle… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Incremented by one for every store sent to Level-2 cache" [all …]
|