Home
last modified time | relevance | path

Searched +full:block +full:- +full:copy (Results 1 – 25 of 1021) sorted by relevance

12345678910>>...41

/Linux-v6.1/Documentation/staging/
Dlzo.rst26 - 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-v6.1/Documentation/devicetree/bindings/dma/ti/
Dk3-bcdma.yaml1 # 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 …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dpio_copy.c1 // 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-v6.1/Documentation/block/
Dublk.rst1 .. 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-v6.1/Documentation/admin-guide/device-mapper/
Dkcopyd.rst5 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 …]
Dpersistent-data.rst8 The more-sophisticated device-mapper targets require complex metadata
12 - Mikulas Patocka's multisnap implementation
13 - Heinz Mauelshagen's thin provisioning target
14 - Another btree-based caching target posted to dm-devel
15 - Another multi-snapshot target based on a design of Daniel Phillips
20 The persistent-data library is an attempt to provide a re-usable
21 framework for people who want to store metadata in device-mapper
22 targets. It's currently used by the thin-provisioning target and an
29 under drivers/md/persistent-data.
31 The block manager
[all …]
/Linux-v6.1/drivers/block/
Dbrd.c1 // 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
22 #include <linux/radix-tree.h>
25 #include <linux/backing-dev.h>
31 * Each block ramdisk device has a radix_tree 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
44 * of the block device.
61 * device node -- brd pages will never be deleted under us, so we in brd_lookup_page()
[all …]
/Linux-v6.1/lib/zlib_inflate/
Dinflate.h4 /* 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 …]
Dinflate.c1 /* 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 …]
Dinffast.c1 /* 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-v6.1/drivers/net/wireless/intel/iwlwifi/fw/
Dpaging.c1 // 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-v6.1/sound/pci/emu10k1/
Demu10k1_patch.c1 // 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 …]
/Linux-v6.1/arch/nios2/lib/
Dmemcpy.c16 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-v6.1/drivers/mtd/
DKconfig33 # 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-v6.1/fs/ntfs/
Dcompress.c1 // 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 …]
/Linux-v6.1/fs/nfsd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 You may choose to use a user-space NFS server instead, in which
22 user space programs which can be found in the Linux nfs-utils
23 package, available from http://linux-nfs.org/. More detail about
56 To store ACLs on your NFS server, you also need to enable ACL-
76 space programs which can be found in the Linux nfs-utils package,
77 available from http://linux-nfs.org/.
85 bool "NFSv4.1 server support for pNFS block layouts"
86 depends on NFSD_V4 && BLOCK
90 This option enables support for the exporting pNFS block layouts
[all …]
/Linux-v6.1/drivers/thunderbolt/
Dproperty.c1 // 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-v6.1/include/linux/
Dmigrate_mode.h1 /* 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()
/Linux-v6.1/Documentation/admin-guide/media/
Dlmedm04.rst1 .. 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-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_res_cursor.h1 // 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->num_pages << PAGE_SHIFT); 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 …]
Damdgpu_vram_mgr.h1 /* 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()
/Linux-v6.1/Documentation/filesystems/ext4/
Dblockgroup.rst1 .. 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-v6.1/include/uapi/linux/
Drseq.h1 /* 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 …]
/Linux-v6.1/tools/testing/selftests/rseq/
Drseq-abi.h1 /* 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 …]
/Linux-v6.1/include/trace/events/
Dsmbus.h1 /* 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 …]

12345678910>>...41