| /kernel/linux/linux-6.6/Documentation/staging/ |
| D | lzo.rst | 26 - a distance when copying data from the dictionary (past output buffer) 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 35 The first byte of the block follows a different encoding from other bytes, it 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 49 length += first-non-zero-byte 55 ranges, resulting in multiple copy instructions using different encodings. 57 forming a little-endian 16-bit quantity (marked LE16 below). 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals [all …]
|
| /kernel/linux/linux-5.10/Documentation/staging/ |
| D | lzo.rst | 26 - a distance when copying data from the dictionary (past output buffer) 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 35 The first byte of the block follows a different encoding from other bytes, it 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 49 length += first-non-zero-byte 55 ranges, resulting in multiple copy instructions using different encodings. 57 forming a little-endian 16-bit quantity (marked LE16 below). 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals [all …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
| D | pio_copy.c | 1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 8 /* additive distance between non-SOP and SOP space */ 10 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1) 11 /* number of QUADWORDs in a block */ 15 * pio_copy - copy data block to MMIO space 20 * @count: number of DWORD (32-bit) quantities to copy from source 22 * Copy data from source to PIO Send Buffer memory, 8 bytes at a time. 23 * Must always write full BLOCK_SIZE bytes blocks. The first block must 27 * o pbuf->start always starts on a block boundary 28 * o pbuf can wrap only at a block boundary [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ti/ |
| D | k3-bcdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-bcdma.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 15 The Block Copy DMA (BCDMA) is intended to perform similar functions as the TR 16 mode channels of K3 UDMA-P. 17 BCDMA includes block copy channels and Split channels. 19 Block copy channels mainly used for memory to memory transfers, but with 20 optional triggers a block copy channel can service peripherals by accessing [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
| D | pio_copy.c | 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 50 /* additive distance between non-SOP and SOP space */ 52 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1) 53 /* number of QUADWORDs in a block */ 57 * pio_copy - copy data block to MMIO space 61 * @count: number of DWORD (32-bit) quantities to copy from source 63 * Copy data from source to PIO Send Buffer memory, 8 bytes at a time. 64 * Must always write full BLOCK_SIZE bytes blocks. The first block must [all …]
|
| /kernel/linux/linux-6.6/drivers/block/ |
| D | brd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Ram backed block device driver. 8 * Parts derived from drivers/block/rd.c, and drivers/block/loop.c, copyright 25 #include <linux/backing-dev.h> 31 * Each block ramdisk device has a xarray brd_pages of pages that stores 32 * the pages containing the block device's contents. A brd page's ->index is 34 * with, the kernel's pagecache or buffer cache (which sit above our block 43 * Backing store of pages. This is the contents of the block device. 58 page = xa_load(&brd->brd_pages, idx); in brd_lookup_page() 60 BUG_ON(page && page->index != idx); in brd_lookup_page() [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/device-mapper/ |
| D | kcopyd.rst | 5 Kcopyd provides the ability to copy a range of sectors from one block-device 6 to one or more other block-devices, with an asynchronous completion 7 notification. It is used by dm-snapshot and dm-mirror. 10 to set aside for their copy jobs. This is done with a call to 16 To start a copy job, the user must set up io_region structures to describe 17 the source and destinations of the copy. Each io_region indicates a 18 block-device along with the starting sector and size of the region. The source 19 of the copy is given as one io_region structure, and the destinations of the 20 copy are given as an array of io_region structures:: 28 To start the copy, the user calls kcopyd_copy(), passing in the client [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
| D | kcopyd.rst | 5 Kcopyd provides the ability to copy a range of sectors from one block-device 6 to one or more other block-devices, with an asynchronous completion 7 notification. It is used by dm-snapshot and dm-mirror. 10 to set aside for their copy jobs. This is done with a call to 16 To start a copy job, the user must set up io_region structures to describe 17 the source and destinations of the copy. Each io_region indicates a 18 block-device along with the starting sector and size of the region. The source 19 of the copy is given as one io_region structure, and the destinations of the 20 copy are given as an array of io_region structures:: 28 To start the copy, the user calls kcopyd_copy(), passing in the client [all …]
|
| /kernel/linux/linux-6.6/Documentation/block/ |
| D | ublk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Userspace block device driver (ublk driver) 10 ublk is a generic framework for implementing block device logic from userspace. 11 The motivation behind it is that moving virtual block drivers into userspace, 13 new virtual block device such as ublk-qcow2 (there are several attempts of 16 Userspace block devices are attractive because: 18 - They can be written many programming languages. 19 - They can use libraries that are not available in the kernel. 20 - They can be debugged with tools familiar to application developers. 21 - Crashes do not kernel panic the machine. [all …]
|
| /kernel/linux/linux-5.10/drivers/block/ |
| D | brd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Ram backed block device driver. 8 * Parts derived from drivers/block/rd.c, and drivers/block/loop.c, copyright 21 #include <linux/radix-tree.h> 24 #include <linux/backing-dev.h> 28 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) 32 * Each block ramdisk device has a radix_tree brd_pages of pages that stores 33 * the pages containing the block device's contents. A brd page's ->index is 35 * with, the kernel's pagecache or buffer cache (which sit above our block 47 * of the block device. [all …]
|
| /kernel/linux/linux-6.6/lib/zlib_inflate/ |
| D | inflate.h | 4 /* inflate.h -- internal inflate state definition 5 * Copyright (C) 1995-2004 Mark Adler 29 TYPE, /* i: waiting for type bits, including last-flag bit */ 30 TYPEDO, /* i: same, but skip check to exit inflate on new block */ 32 COPY, /* i/o: waiting for input or output to copy stored block */ enumerator 33 TABLE, /* i: waiting for dynamic block table lengths */ 40 MATCH, /* o: waiting for output space to copy string */ 42 CHECK, /* i: waiting for 32-bit check value */ 43 LENGTH, /* i: waiting for 32-bit length (gzip) */ 44 DONE, /* finished check, done -- remain here until reset */ [all …]
|
| /kernel/linux/linux-5.10/lib/zlib_inflate/ |
| D | inflate.h | 4 /* inflate.h -- internal inflate state definition 5 * Copyright (C) 1995-2004 Mark Adler 29 TYPE, /* i: waiting for type bits, including last-flag bit */ 30 TYPEDO, /* i: same, but skip check to exit inflate on new block */ 32 COPY, /* i/o: waiting for input or output to copy stored block */ enumerator 33 TABLE, /* i: waiting for dynamic block table lengths */ 40 MATCH, /* o: waiting for output space to copy string */ 42 CHECK, /* i: waiting for 32-bit check value */ 43 LENGTH, /* i: waiting for 32-bit length (gzip) */ 44 DONE, /* finished check, done -- remain here until reset */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | paging.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2019, 2021 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 7 #include "iwl-drv.h" 15 if (!fwrt->fw_paging_db[0].fw_paging_block) in iwl_free_fw_paging() 19 struct iwl_fw_paging *paging = &fwrt->fw_paging_db[i]; in iwl_free_fw_paging() 21 if (!paging->fw_paging_block) { in iwl_free_fw_paging() 23 "Paging: block %d already freed, continue to next page\n", in iwl_free_fw_paging() 28 dma_unmap_page(fwrt->trans->dev, paging->fw_paging_phys, in iwl_free_fw_paging() [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | rseq.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 10 * Copyright (c) 2015-2018 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 17 RSEQ_CPU_ID_UNINITIALIZED = -1, 18 RSEQ_CPU_ID_REGISTRATION_FAILED = -2, 42 * contained within a single cache-line. It is usually declared as 43 * link-time constant data. 58 * contained within a single cache-line. 65 * kernel. Read by user-space with single-copy atomicity 67 * registered this data structure. Aligned on 32-bit. Always 78 * Read by user-space with single-copy atomicity semantics. This [all …]
|
| /kernel/linux/linux-6.6/sound/pci/emu10k1/ |
| D | emu10k1_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 * allocate a sample block and copy data from userspace 36 emu = rec->hw; in snd_emu10k1_sample_new() 38 return -EINVAL; in snd_emu10k1_sample_new() 40 if (sp->v.size == 0) { in snd_emu10k1_sample_new() 41 dev_dbg(emu->card->dev, in snd_emu10k1_sample_new() 42 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new() 47 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 48 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 49 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/emu10k1/ |
| D | emu10k1_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 * allocate a sample block and copy data from userspace 36 emu = rec->hw; in snd_emu10k1_sample_new() 38 return -EINVAL; in snd_emu10k1_sample_new() 40 if (sp->v.size == 0) { in snd_emu10k1_sample_new() 41 dev_dbg(emu->card->dev, in snd_emu10k1_sample_new() 42 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new() 47 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 48 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 49 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/rseq/ |
| D | rseq-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 6 * rseq-abi.h 10 * Copyright (c) 2015-2022 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 17 RSEQ_ABI_CPU_ID_UNINITIALIZED = -1, 18 RSEQ_ABI_CPU_ID_REGISTRATION_FAILED = -2, 42 * contained within a single cache-line. It is usually declared as 43 * link-time constant data. 58 * contained within a single cache-line. 65 * kernel. Read by user-space with single-copy atomicity 67 * registered this data structure. Aligned on 32-bit. Always [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/ |
| D | Kconfig | 33 # MTD block device support is select'ed if needed 39 tristate "Caching block device access to MTD devices" 40 depends on BLOCK 44 as block devices, it is possible to use MTD devices which are based 45 on RAM chips in this manner. This block device is a user of MTD 53 on flash chips to emulate a smaller block size. Needless to say, 61 tristate "Readonly block device access to MTD devices" 62 depends on MTD_BLOCK!=y && BLOCK 65 This allows you to mount read-only file systems (such as cramfs) 72 comment "Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK." [all …]
|
| /kernel/linux/linux-6.6/arch/nios2/lib/ |
| D | memcpy.c | 16 You should have received a copy of the GNU Lesser General Public 33 /* Copy exactly NBYTES bytes from SRC_BP to DST_BP, 41 __nbytes -= 1; \ 47 /* Copy *up to* NBYTES bytes from SRC_BP to DST_BP, with 59 src_bp += (nbytes) & -OPSIZ; \ 60 dst_bp += (nbytes) & -OPSIZ; \ 68 /* _wordcopy_fwd_aligned -- Copy block beginning at SRCP to 69 block beginning at DSTP with LEN `op_t' words (not LEN bytes!). 71 /* stream-lined (read x8 + write x8) */ 96 len -= 8; in _wordcopy_fwd_aligned() [all …]
|
| /kernel/linux/linux-5.10/arch/nios2/lib/ |
| D | memcpy.c | 16 You should have received a copy of the GNU Lesser General Public 33 /* Copy exactly NBYTES bytes from SRC_BP to DST_BP, 41 __nbytes -= 1; \ 47 /* Copy *up to* NBYTES bytes from SRC_BP to DST_BP, with 59 src_bp += (nbytes) & -OPSIZ; \ 60 dst_bp += (nbytes) & -OPSIZ; \ 68 /* _wordcopy_fwd_aligned -- Copy block beginning at SRCP to 69 block beginning at DSTP with LEN `op_t' words (not LEN bytes!). 71 /* stream-lined (read x8 + write x8) */ 96 len -= 8; in _wordcopy_fwd_aligned() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/ |
| D | Kconfig | 33 # MTD block device support is select'ed if needed 39 tristate "Caching block device access to MTD devices" 40 depends on BLOCK 44 as block devices, it is possible to use MTD devices which are based 45 on RAM chips in this manner. This block device is a user of MTD 54 on flash chips to emulate a smaller block size. Needless to say, 62 tristate "Readonly block device access to MTD devices" 63 depends on MTD_BLOCK!=y && BLOCK 66 This allows you to mount read-only file systems (such as cramfs) 75 depends on BLOCK [all …]
|
| /kernel/linux/linux-5.10/fs/ntfs/ |
| D | compress.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * compress.c - NTFS kernel compressed attributes handling. 4 * Part of the Linux-NTFS project. 6 * Copyright (c) 2001-2004 Anton Altaparmakov 22 * ntfs_compression_constants - enum of constants used in the compression code 30 /* Compression sub-block constants. */ 36 * The maximum compression block size is by definition 16 * the cluster 45 * ntfs_compression_buffer - one buffer for the decompression engine 50 * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer 55 * allocate_compression_buffers - allocate the decompression buffers [all …]
|
| /kernel/linux/linux-6.6/fs/ntfs/ |
| D | compress.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * compress.c - NTFS kernel compressed attributes handling. 4 * Part of the Linux-NTFS project. 6 * Copyright (c) 2001-2004 Anton Altaparmakov 22 * ntfs_compression_constants - enum of constants used in the compression code 30 /* Compression sub-block constants. */ 36 * The maximum compression block size is by definition 16 * the cluster 45 * ntfs_compression_buffer - one buffer for the decompression engine 50 * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer 55 * allocate_compression_buffers - allocate the decompression buffers [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | paging.c | 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 11 * Copyright(c) 2018 - 2019 Intel Corporation 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 34 * Copyright(c) 2018 - 2019 Intel Corporation 64 #include "iwl-drv.h" [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | migrate_mode.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * MIGRATE_ASYNC means never block 7 * on most operations but not ->writepage as the potential stall time 9 * MIGRATE_SYNC will block when migrating pages 10 * MIGRATE_SYNC_NO_COPY will block when migrating pages but will not copy pages 11 * with the CPU. Instead, page copy happens outside the migratepage()
|