/linux-6.14.4/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 …]
|
/linux-6.14.4/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 <[email protected]> 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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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. 40 * Backing store of pages. This is the contents of the block device. 51 return xa_load(&brd->brd_pages, sector >> PAGE_SECTORS_SHIFT); in brd_lookup_page() 69 return -ENOMEM; in brd_insert_page() 71 xa_lock(&brd->brd_pages); in brd_insert_page() [all …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/lib/ |
D | iomem_copy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * memset_io() - Set a range of I/O memory to a constant value 15 * @addr: The beginning of the I/O-memory range to set 30 count--; in memset_io() 41 count -= sizeof(long); in memset_io() 47 count--; in memset_io() 55 * memcpy_fromio() - Copy a block of data from I/O memory 56 * @dst: The (RAM) destination for the copy 58 * @count: The number of bytes to copy 60 * Copy a block of data from I/O memory. [all …]
|
/linux-6.14.4/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 …]
|
D | inflate.c | 1 /* inflate.c -- zlib decompression 2 * Copyright (C) 1995-2005 Mark Adler 18 /* architecture-specific bits */ 37 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_inflateReset() 38 state = (struct inflate_state *)strm->state; in zlib_inflateReset() 39 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset() 40 strm->msg = NULL; in zlib_inflateReset() 41 strm->adler = 1; /* to support ill-conceived Java test suite */ in zlib_inflateReset() 42 state->mode = HEAD; in zlib_inflateReset() 43 state->last = 0; in zlib_inflateReset() [all …]
|
D | inffast.c | 1 /* inffast.c -- fast decoding 2 * Copyright (C) 1995-2004 Mark Adler 33 available, an end-of-block is encountered, or a data error is encountered. 40 state->mode == LEN 41 strm->avail_in >= 6 42 strm->avail_out >= 258 43 start >= strm->avail_out 44 state->bits < 8 46 On return, state->mode is one of: 48 LEN -- ran out of enough output space or enough available input [all …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/include/uapi/linux/ |
D | rseq.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 10 * Copyright (c) 2015-2018 Mathieu Desnoyers <[email protected]> 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 …]
|
/linux-6.14.4/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 <[email protected]> 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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.h | 1 /* SPDX-License-Identifier: MIT 5 * copy of this software and associated documentation files (the "Software"), 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 46 static inline u64 amdgpu_vram_mgr_block_start(struct drm_buddy_block *block) in amdgpu_vram_mgr_block_start() argument 48 return drm_buddy_block_offset(block); in amdgpu_vram_mgr_block_start() 51 static inline u64 amdgpu_vram_mgr_block_size(struct drm_buddy_block *block) in amdgpu_vram_mgr_block_size() argument 53 return (u64)PAGE_SIZE << drm_buddy_block_order(block); in amdgpu_vram_mgr_block_size() 56 static inline bool amdgpu_vram_mgr_is_cleared(struct drm_buddy_block *block) in amdgpu_vram_mgr_is_cleared() argument 58 return drm_buddy_block_is_clear(block); in amdgpu_vram_mgr_is_cleared() 69 to_amdgpu_vram_mgr_resource(res)->flags |= DRM_BUDDY_CLEARED; in amdgpu_vram_mgr_set_cleared()
|
D | amdgpu_res_cursor.h | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 * copy of this software and associated documentation files (the "Software"), 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 45 * amdgpu_res_first - initialize a amdgpu_res_cursor 58 struct drm_buddy_block *block; in amdgpu_res_first() local 65 BUG_ON(start + size > res->size); in amdgpu_res_first() 67 cur->mem_type = res->mem_type; in amdgpu_res_first() 69 switch (cur->mem_type) { in amdgpu_res_first() 71 head = &to_amdgpu_vram_mgr_resource(res)->blocks; in amdgpu_res_first() 73 block = list_first_entry_or_null(head, in amdgpu_res_first() [all …]
|
/linux-6.14.4/drivers/thunderbolt/ |
D | property.c | 1 // SPDX-License-Identifier: GPL-2.0 38 static struct tb_property_dir *__tb_property_parse_dir(const u32 *block, 55 switch (entry->type) { in tb_property_entry_valid() 59 if (entry->length > block_len) in tb_property_entry_valid() 61 if (entry->value + entry->length > block_len) in tb_property_entry_valid() 66 if (entry->length != 1) in tb_property_entry_valid() 88 strcpy(property->key, key); in tb_property_alloc() 89 property->type = type; in tb_property_alloc() 90 INIT_LIST_HEAD(&property->list); in tb_property_alloc() 95 static struct tb_property *tb_property_parse(const u32 *block, size_t block_len, in tb_property_parse() argument [all …]
|
/linux-6.14.4/Documentation/admin-guide/media/ |
D | lmedm04.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 To extract firmware for the DM04/QQBOX you need to copy the 10 ------------------------------------------- 19 .. code-block:: none 23 will produce dvb-usb-lme2510c-s7395.fw 26 disk DVB-S_EN_3.5A in BDADriver/driver 32 .. code-block:: none 36 will produce dvb-usb-lme2510c-s7395.fw 42 --------------------------- 49 .. code-block:: none [all …]
|
/linux-6.14.4/Documentation/filesystems/ext4/ |
D | blockgroup.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------ 6 The layout of a standard block group is approximately as follows (each 9 .. list-table:: 11 :header-rows: 1 13 * - Group 0 Padding 14 - ext4 Super Block 15 - Group Descriptors 16 - Reserved GDT Blocks 17 - Data Block Bitmap [all …]
|
/linux-6.14.4/fs/udf/ |
D | directory.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/crc-itu-t.h> 23 if (iter->fi.descTag.tagIdent != cpu_to_le16(TAG_IDENT_FID)) { in udf_verify_fi() 24 udf_err(iter->dir->i_sb, in udf_verify_fi() 26 iter->dir->i_ino, (unsigned long long)iter->pos, in udf_verify_fi() 27 le16_to_cpu(iter->fi.descTag.tagIdent)); in udf_verify_fi() 28 return -EFSCORRUPTED; in udf_verify_fi() 30 len = udf_dir_entry_len(&iter->fi); in udf_verify_fi() 31 if (le16_to_cpu(iter->fi.lengthOfImpUse) & 3) { in udf_verify_fi() 32 udf_err(iter->dir->i_sb, in udf_verify_fi() [all …]
|
/linux-6.14.4/fs/nfsd/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 You may choose to use a user-space NFS server instead, in which 25 user space programs which can be found in the Linux nfs-utils 26 package, available from http://linux-nfs.org/. More detail about 42 NFSv2 (RFC 1094) was the first publicly-released version of NFS. 69 To store ACLs on your NFS server, you also need to enable ACL- 89 space programs which can be found in the Linux nfs-utils package, 90 available from http://linux-nfs.org/. 98 bool "NFSv4.1 server support for pNFS block layouts" 99 depends on NFSD_V4 && BLOCK [all …]
|
/linux-6.14.4/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 37 emu = rec->hw; in snd_emu10k1_sample_new() 39 return -EINVAL; in snd_emu10k1_sample_new() 41 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP | SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new() 42 /* should instead return -ENOTSUPP; but compatibility */ in snd_emu10k1_sample_new() 43 dev_warn(emu->card->dev, in snd_emu10k1_sample_new() 45 sp->v.sample); in snd_emu10k1_sample_new() 48 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS) { in snd_emu10k1_sample_new() 51 xor = (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_UNSIGNED) ? 0 : 0x80808080; in snd_emu10k1_sample_new() [all …]
|
/linux-6.14.4/include/trace/events/ |
D | smbus.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 17 * drivers/i2c/i2c-core-smbus.c 41 __entry->adapter_nr = adap->nr; 42 __entry->addr = addr; 43 __entry->flags = flags; 44 __entry->command = command; 45 __entry->protocol = protocol; 49 __entry->len = 1; 50 goto copy; 53 __entry->len = 2; [all …]
|
/linux-6.14.4/virt/kvm/ |
D | binary_stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * kvm_stats_read() - Common function to read from the binary statistics 20 * @stats: start address of stats data block for a vm or a vcpu 21 * @size_stats: the size of stats data block pointed by @stats 28 * +-------------+ 30 * +-------------+ 32 * +-------------+ 34 * +-------------+ 36 * +-------------+ 41 * and some other necessary information. This is a one-time work for the [all …]
|