| /kernel/linux/linux-4.19/Documentation/device-mapper/ |
| D | cache.txt | 4 dm-cache is a device mapper target written by Joe Thornber, Heinz 7 It aims to improve performance of a block device (eg, a spindle) by 11 This device-mapper solution allows us to insert this caching at 13 a thin-provisioning pool. Caching solutions that are integrated more 16 The target reuses the metadata library used in the thin-provisioning 19 The decision as to what data to migrate and when is left to a plug-in 27 Migration - Movement of the primary copy of a logical block from one 29 Promotion - Migration from slow device to fast device. 30 Demotion - Migration from fast device to slow device. 32 The origin device always contains a copy of the logical block, which [all …]
|
| D | era.txt | 4 dm-era is a target that behaves similar to the linear target. In 7 maintains the current era as a monotonically increasing 32-bit 11 partially invalidating the contents of a cache to restore cache 17 era <metadata dev> <origin dev> <block size> 21 block size : block size of origin data device, granularity that is 30 ---------- 37 ------------------ 42 ------------------ 49 <metadata block size> <#used metadata blocks>/<#total metadata blocks> 50 <current era> <held metadata root | '-'> [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
| D | cache.rst | 2 Cache title 8 dm-cache is a device mapper target written by Joe Thornber, Heinz 11 It aims to improve performance of a block device (eg, a spindle) by 15 This device-mapper solution allows us to insert this caching at 17 a thin-provisioning pool. Caching solutions that are integrated more 20 The target reuses the metadata library used in the thin-provisioning 23 The decision as to what data to migrate and when is left to a plug-in 32 Movement of the primary copy of a logical block from one 39 The origin device always contains a copy of the logical block, which 40 may be out of date or kept in sync with the copy on the cache device [all …]
|
| D | era.rst | 2 dm-era 8 dm-era is a target that behaves similar to the linear target. In 11 maintains the current era as a monotonically increasing 32-bit 15 partially invalidating the contents of a cache to restore cache 21 era <metadata dev> <origin dev> <block size> 26 block size block size of origin data device, granularity that is 36 ---------- 43 ------------------ 48 ------------------ 55 <metadata block size> <#used metadata blocks>/<#total metadata blocks> [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/boot/dts/sifive/ |
| D | fu540-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu540-prci.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 compatible = "sifive,fu540-c000", "sifive,fu540"; 23 #address-cells = <1>; 24 #size-cells = <0>; 28 i-cache-block-size = <64>; [all …]
|
| /kernel/linux/linux-4.19/Documentation/admin-guide/ |
| D | bcache.rst | 2 A block layer cache (bcache) 6 nice if you could use them as cache... Hence bcache. 10 - http://bcache.evilpiepirate.org 11 - http://evilpiepirate.org/git/linux-bcache.git 12 - http://evilpiepirate.org/git/bcache-tools.git 14 It's designed around the performance characteristics of SSDs - it only allocates 15 in erase block sized buckets, and it uses a hybrid btree/log to track cached 16 extents (which can be anywhere from a single sector to the bucket size). It's 17 designed to avoid random writes at all costs; it fills up an erase block 22 great lengths to protect your data - it reliably handles unclean shutdown. (It [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | bcache.rst | 2 A block layer cache (bcache) 6 nice if you could use them as cache... Hence bcache. 11 This is the git repository of bcache-tools: 12 https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/ 17 It's designed around the performance characteristics of SSDs - it only allocates 18 in erase block sized buckets, and it uses a hybrid btree/log to track cached 19 extents (which can be anywhere from a single sector to the bucket size). It's 20 designed to avoid random writes at all costs; it fills up an erase block 25 great lengths to protect your data - it reliably handles unclean shutdown. (It 29 Writeback caching can use most of the cache for buffering writes - writing [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/include/asm/ |
| D | vdso_datapage.h | 65 __u64 physicalMemorySize; /* Size of real memory(B) 0x28 */ 73 __u32 dcache_size; /* L1 d-cache size 0x60 */ 74 __u32 dcache_line_size; /* L1 d-cache line size 0x64 */ 75 __u32 icache_size; /* L1 i-cache size 0x68 */ 76 __u32 icache_line_size; /* L1 i-cache line size 0x6C */ 81 __u32 dcache_block_size; /* L1 d-cache block size */ 82 __u32 icache_block_size; /* L1 i-cache block size */ 83 __u32 dcache_log_block_size; /* L1 d-cache log block size */ 84 __u32 icache_log_block_size; /* L1 i-cache log block size */ 113 __u32 dcache_block_size; /* L1 d-cache block size */ [all …]
|
| /kernel/linux/linux-5.10/fs/squashfs/ |
| D | file.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Squashfs - a compressed read only filesystem for Linux 14 * compressed fragment block (tail-end packed block). The compressed size 15 * of each datablock is stored in a block list contained within the 19 * larger), the code implements an index cache that caches the mapping from 20 * block index to datablock location on disk. 22 * The index cache allows Squashfs to handle large files (up to 1.75 TiB) while 23 * retaining a simple and space-efficient block list on disk. The cache 26 * The index cache is designed to be memory efficient, and by default uses 44 * Locate cache slot in range [offset, index] for specified inode. If [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SquashFS 4.0 - Squashed file system support" 4 depends on BLOCK 7 Read-Only File System). Squashfs is a highly compressed read-only 11 Block sizes greater than 4K are supported up to a maximum of 1 Mbytes 12 (default block size 128K). SquashFS 4.0 supports 64 bit filesystems 16 Squashfs is intended for general read-only filesystem use, for 35 intermediate buffer and then memcopied it into the page cache. 37 the page cache. 45 memcopy it into the page cache. [all …]
|
| /kernel/linux/linux-4.19/fs/squashfs/ |
| D | file.c | 2 * Squashfs - a compressed read only filesystem for Linux 19 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 27 * compressed fragment block (tail-end packed block). The compressed size 28 * of each datablock is stored in a block list contained within the 32 * larger), the code implements an index cache that caches the mapping from 33 * block index to datablock location on disk. 35 * The index cache allows Squashfs to handle large files (up to 1.75 TiB) while 36 * retaining a simple and space-efficient block list on disk. The cache 39 * The index cache is designed to be memory efficient, and by default uses 57 * Locate cache slot in range [offset, index] for specified inode. If [all …]
|
| D | Kconfig | 2 tristate "SquashFS 4.0 - Squashed file system support" 3 depends on BLOCK 6 Read-Only File System). Squashfs is a highly compressed read-only 10 Block sizes greater than 4K are supported up to a maximum of 1 Mbytes 11 (default block size 128K). SquashFS 4.0 supports 64 bit filesystems 15 Squashfs is intended for general read-only filesystem use, for 34 intermediate buffer and then memcopied it into the page cache. 36 the page cache. 44 memcopy it into the page cache. 47 bool "Decompress files directly into the page cache" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/riscv/ |
| D | sifive-l2-cache.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/riscv/sifive-l2-cache.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: SiFive L2 Cache Controller 11 - Sagar Kadam <sagar.kadam@sifive.com> 12 - Yash Shah <yash.shah@sifive.com> 13 - Paul Walmsley <paul.walmsley@sifive.com> 16 The SiFive Level 2 Cache Controller is used to provide access to fast copies 17 of memory for masters in a Core Complex. The Level 2 Cache Controller also [all …]
|
| /kernel/linux/linux-4.19/Documentation/filesystems/ |
| D | squashfs.txt | 4 Squashfs is a compressed read-only filesystem for Linux. 7 minimise data overhead. Block sizes greater than 4K are supported up to a 8 maximum of 1Mbytes (default block size 128K). 10 Squashfs is intended for general read-only filesystem use, for archival 12 block device/memory systems (e.g. embedded systems) where low overhead is 15 Mailing list: squashfs-devel@lists.sourceforge.net 19 ---------------------- 25 Max filesystem size: 2^64 256 MiB 26 Max file size: ~ 2 TiB 16 MiB 30 Max block size: 1 MiB 4 KiB [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/kernel/ |
| D | cacheinfo.c | 2 * 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 */ 52 /* Allow for both [di]-cache-line-size and [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/ |
| D | mtdblock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Direct MTD block device access 5 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> 6 * Copyright © 2000-2003 Nicolas Pitre <nico@fluxnic.net> 35 * Cache stuff... 38 * buffer cache can handle, we must implement read-modify-write on flash 39 * sectors for each block write requests. To avoid over-erasing flash sectors 40 * and to speed things up, we locally cache a whole flash sector while it is 52 * First, let's erase the flash block. in erase_write() 61 pos, len, mtd->name); in erase_write() [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | squashfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Squashfs is a compressed read-only filesystem for Linux. 11 minimise data overhead. Block sizes greater than 4K are supported up to a 12 maximum of 1Mbytes (default block size 128K). 14 Squashfs is intended for general read-only filesystem use, for archival 16 block device/memory systems (e.g. embedded systems) where low overhead is 19 Mailing list: squashfs-devel@lists.sourceforge.net 23 ---------------------- 30 Max filesystem size 2^64 256 MiB 31 Max file size ~ 2 TiB 16 MiB [all …]
|
| /kernel/linux/linux-5.10/fs/affs/ |
| D | file.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 1996 Hans-Joachim Widmaier - Rewritten 7 * (C) 1993 Ray Burr - Modified for Amiga FFS filesystem. 11 * (C) 1991 Linus Torvalds - minix filesystem 26 inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); in affs_file_open() 27 atomic_inc(&AFFS_I(inode)->i_opencnt); in affs_file_open() 35 inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); in affs_file_release() 37 if (atomic_dec_and_test(&AFFS_I(inode)->i_opencnt)) { in affs_file_release() 39 if (inode->i_size != AFFS_I(inode)->mmu_private) in affs_file_release() 51 struct super_block *sb = inode->i_sb; in affs_grow_extcache() [all …]
|
| /kernel/linux/linux-4.19/fs/affs/ |
| D | file.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 1996 Hans-Joachim Widmaier - Rewritten 7 * (C) 1993 Ray Burr - Modified for Amiga FFS filesystem. 11 * (C) 1991 Linus Torvalds - minix filesystem 25 inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); in affs_file_open() 26 atomic_inc(&AFFS_I(inode)->i_opencnt); in affs_file_open() 34 inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); in affs_file_release() 36 if (atomic_dec_and_test(&AFFS_I(inode)->i_opencnt)) { in affs_file_release() 38 if (inode->i_size != AFFS_I(inode)->mmu_private) in affs_file_release() 50 struct super_block *sb = inode->i_sb; in affs_grow_extcache() [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/ |
| D | mtdblock.c | 2 * Direct MTD block device access 4 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> 5 * Copyright © 2000-2003 Nicolas Pitre <nico@fluxnic.net> 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 49 * Cache stuff... 52 * buffer cache can handle, we must implement read-modify-write on flash 53 * sectors for each block write requests. To avoid over-erasing flash sectors 54 * and to speed things up, we locally cache a whole flash sector while it is 66 * First, let's erase the flash block. in erase_write() 75 pos, len, mtd->name); in erase_write() [all …]
|
| /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-5.10/arch/riscv/boot/dts/kendryte/ |
| D | k210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/clock/k210-clk.h> 10 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits 13 #address-cells = <1>; 14 #size-cells = <1>; 23 * Since this is a non-ratified draft specification, the kernel does not 28 #address-cells = <1>; 29 #size-cells = <0>; 30 timebase-frequency = <7800000>; 36 mmu-type = "none"; [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/kernel/ |
| D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 if (rv_cache_ops && rv_cache_ops->get_priv_group) in cache_get_priv_group() 23 return rv_cache_ops->get_priv_group(this_leaf); in cache_get_priv_group() 32 * that cores have a homonogenous view of the cache hierarchy. That in get_cacheinfo() 33 * happens to be the case for the current set of RISC-V systems, but in get_cacheinfo() 42 for (index = 0; index < this_cpu_ci->num_leaves; index++) { in get_cacheinfo() 43 this_leaf = this_cpu_ci->info_list + index; in get_cacheinfo() 44 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo() 55 return this_leaf ? this_leaf->size : 0; in get_cache_size() 62 return this_leaf ? (this_leaf->ways_of_associativity << 16 | in get_cache_geometry() [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 /*----------------------------------------------------------------*/ 32 * oblock: index of an origin block 33 * cblock: index of a cache block [all …]
|
| /kernel/linux/linux-4.19/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 /*----------------------------------------------------------------*/ 32 * oblock: index of an origin block 33 * cblock: index of a cache block [all …]
|