/linux/include/uapi/linux/ |
H A D | ublk_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 67 * cqe->userdata. 98 /* only ABORT means that no re-fetch */ 101 #define UBLK_IO_RES_ABORT (-ENODEV) 112 #define UBLK_IO_BUF_BITS_MASK ((1ULL << UBLK_IO_BUF_BITS) - 1) 117 #define UBLK_TAG_BITS_MASK ((1ULL << UBLK_TAG_BITS) - 1) 122 #define UBLK_QID_BITS_MASK ((1ULL << UBLK_QID_BITS) - 1) 130 * zero copy requires 4k block size, and can remap ublk driver's io 151 * - Block devices are recoverable if ublk server exits and restarts 152 * - Outstanding I/O when ublk server exits is met with errors [all …]
|
/linux/include/linux/ |
H A D | textsearch.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * struct ts_state - search state 30 * struct ts_ops - search module operations 53 * struct ts_config - search configuration 56 * @get_next_block: callback to fetch the next block to search in 65 * @get_next_block: fetch next block of data 72 * head of the next block of data to &*dst and return the length 73 * of the block or 0 if at the end. consumed == 0 indicates 74 * a new search. May store/read persistent values in state->cb. 94 * textsearch_next - continue searching for a pattern [all …]
|
/linux/fs/ubifs/ |
H A D | key.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2006-2008 Nokia Corporation. 12 * This header contains various key-related definitions and helper function. 19 * Keys are 64-bits long. First 32-bits are inode number (parent inode number 28 * different c->key_format. But right now, there is only one key type, UBIFS_SIMPLE_KEY_FMT. 35 * key_mask_hash - mask a valid hash value. 51 * key_r5_hash - R5 hash function (borrowed from reiserfs). 60 while (len--) { in key_r5_hash() 71 * key_test_hash - testing hash function. 85 * ino_key_init - initialize inode key. [all …]
|
/linux/drivers/misc/sgi-gru/ |
H A D | gru_instructions.h | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 45 * Control block status and exception codes 65 * Structure used to fetch exception detail for CBs that terminate with 88 /* DW 0 - low */ 98 /* DW 0 - high */ 107 /* DW 2-6 */ 180 /* GAMIR - AMOs with implicit operands */ 181 #define EOP_IR_FETCH 0x01 /* Plain fetch of memory */ 182 #define EOP_IR_CLR 0x02 /* Fetch and clear */ 183 #define EOP_IR_INC 0x05 /* Fetch and increment */ [all …]
|
/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (C) 2013 - 2024 Intel Corporation */ 11 #include "ipu6-buttress.h" 17 #define IPU6_NAME "intel-ipu6" 35 * IPU6 - TGL 36 * IPU6SE - JSL 37 * IPU6EP - ADL/RPL 38 * IPU6EP_MTL - MTL 96 /* The firmware is accessible within the first 2 GiB only in non-secure mode. */ 116 * Threshold values are pre-defined and are arrived at after performance [all …]
|
/linux/drivers/crypto/ |
H A D | sa2ul.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2020 Texas Instruments Incorporated - http://www.ti.com 62 ((ctx_sz) ? ((ctx_sz) / 32 - 1) : 0) 82 /* 16-bit Length of Data to be processed */ 96 /* SWINFO word-0 flags */ 125 * Bit 0-1: Fetch PHP Bytes 126 * Bit 2-3: Fetch Encryption/Air Ciphering Bytes 127 * Bit 4-5: Fetch Authentication Bytes or Encr pass 2 128 * Bit 6-7: Evict PHP Bytes 155 #define SA_ALIGN_MASK (sizeof(u32) - 1) [all …]
|
/linux/Documentation/bpf/ |
H A D | map_hash.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 .. Copyright (C) 2022-2023 Isovalent, Inc. 10 - ``BPF_MAP_TYPE_HASH`` was introduced in kernel version 3.19 11 - ``BPF_MAP_TYPE_PERCPU_HASH`` was introduced in version 4.6 12 - Both ``BPF_MAP_TYPE_LRU_HASH`` and ``BPF_MAP_TYPE_LRU_PERCPU_HASH`` 20 to the max_entries limit that you specify. Hash maps use pre-allocation 22 used to disable pre-allocation when it is too memory expensive. 25 CPU. The per-cpu values are stored internally in an array. 40 **BPF_F_NO_COMMON_LRU** Per-CPU LRU, global map Per-CPU LRU, per-cpu map 41 **!BPF_F_NO_COMMON_LRU** Global LRU, global map Global LRU, per-cpu map [all …]
|
H A D | map_bloom_filter.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_BLOOM_FILTER`` was introduced in kernel version 5.16 12 filters are a space-efficient probabilistic data structure used to 20 - push: adding an element to the map 21 - peek: determining whether an element is present in the map 28 - ``BPF_MAP_UPDATE_ELEM`` -> push 29 - ``BPF_MAP_LOOKUP_ELEM`` -> peek 52 ---------- 57 .. code-block:: c 69 .. code-block:: c [all …]
|
H A D | map_lpm_trie.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_LPM_TRIE`` was introduced in kernel version 4.11 23 - For IPv4 addresses the data length is 4 bytes 24 - For IPv6 addresses the data length is 16 bytes 36 ---------- 41 .. code-block:: c 58 .. code-block:: c 75 .. code-block:: c 84 --------- 92 .. code-block:: c [all …]
|
/linux/block/ |
H A D | disk-events.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Disk events - monitor disk events like media change and eject request. 16 int block; /* event blocking depth */ member 20 long poll_msecs; /* interval, -1 for default */ 38 /* disable in-kernel polling by default */ 43 struct disk_events *ev = disk->ev; in disk_events_poll_jiffies() 47 * If device-specific poll interval is set, always use it. If in disk_events_poll_jiffies() 50 if (ev->poll_msecs >= 0) in disk_events_poll_jiffies() 51 intv_msecs = ev->poll_msecs; in disk_events_poll_jiffies() 52 else if (disk->event_flags & DISK_EVENT_FLAG_POLL) in disk_events_poll_jiffies() [all …]
|
/linux/arch/nios2/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 57 allocated as a single contiguous block. This option allows 80 Nios II CPUs cannot fetch/store data which is not bus aligned, 81 i.e., a 2 or 4 byte fetch must start at an address divisible by 82 2 or 4. Any non-aligned load/store instructions will be trapped and 99 some command-line options at build time by entering them here. In 120 bool "Passed kernel command line from u-boot" 122 Use bootargs env variable from u-boot for kernel command line.
|
/linux/kernel/futex/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * PI-futex support started by Ingo Molnar and Thomas Gleixner 23 * Requeue-PI support by Darren Hart <dvhltc@us.ibm.com> 29 * Kirkwood for proof-of-concept implementation. 40 #include <linux/fault-inject.h> 99 debugfs_create_bool("ignore-private", mode, dir, in fail_futex_debugfs() 111 * futex_hash - Return the hash bucket in the global hash 120 key->both.offset); in futex_hash() 122 return &futex_queues[hash & (futex_hashsize - 1)]; in futex_hash() 127 * futex_setup_timer - set up the sleeping hrtimer. [all …]
|
/linux/include/trace/events/ |
H A D | afs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 afs_FS_FetchData = 130, /* AFS Fetch file data */ 23 afs_FS_FetchACL = 131, /* AFS Fetch file ACL */ 24 afs_FS_FetchStatus = 132, /* AFS Fetch file status */ 42 afs_FS_InlineBulkStatus = 65536, /* AFS Fetch multiple file statuses with errors */ 43 afs_FS_FetchData64 = 65537, /* AFS Fetch file data */ 48 yfs_FS_FetchData = 130, /* YFS Fetch file data */ 49 yfs_FS_FetchACL = 64131, /* YFS Fetch file ACL */ 50 yfs_FS_FetchStatus = 64132, /* YFS Fetch file status */ 72 yfs_FS_InlineBulkStatus = 64536, /* YFS Fetch multiple file statuses with errors */ [all …]
|
/linux/arch/sparc/include/asm/ |
H A D | chafsr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * ch --> cheetah 10 * ch+ --> cheetah plus 11 * jp --> jalapeno 15 * read, write 1 to clear. M_SYNDROME and E_SYNDROME are read-only. 33 /* Hardware corrected E-cache Tag ECC error */ 38 /* SW handled correctable E-cache Tag ECC error */ 43 /* Uncorrectable E-cache Tag ECC error */ 65 * 64-byte system bus transaction. Only the first ECC error in a 16-byte 66 * subunit will be logged. All errors in subsequent 16-byte subunits [all …]
|
/linux/arch/x86/include/asm/ |
H A D | trap_pf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * bit 2 == 0: kernel-mode access 1: user-mode access 14 * bit 4 == 1: fault was an instruction fetch 15 * bit 5 == 1: protection keys block access 17 * bit 15 == 1: SGX MMU page-fault
|
/linux/drivers/md/dm-vdo/ |
H A D | repair.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include "memory-alloc.h" 15 #include "block-map.h" 19 #include "int-map.h" 20 #include "io-submitter.h" 21 #include "recovery-journal.h" 22 #include "slab-depot.h" 25 #include "wait-queue.h" 28 * An explicitly numbered block mapping. Numbering the mappings allows them to be sorted by logical 29 * block number during repair while still preserving the relative order of journal entries with [all …]
|
H A D | statistics.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 /* The number of times since loading that a slab has been re-opened */ 27 * allow the number of buffered, in-memory items and the number of in-flight, 42 /* Number of times the on-disk journal was full */ 52 /** The statistics for the compressed block packer. */ 64 /* Number of times the on-disk journal was full */ 68 /* Number of times an entry was added over the block threshold */ 70 /* Number of times a tail block was written */ 88 /** The statistics for the block map. */ 122 /* number of gets that have to fetch */ [all …]
|
/linux/drivers/staging/greybus/ |
H A D | fw-download.c | 1 // SPDX-License-Identifier: GPL-2.0 18 /* Timeout, in jiffies, within which fetch or release firmware must be called */ 48 dev_dbg(fw_req->fw_download->parent, "firmware %s released\n", in fw_req_release() 49 fw_req->name); in fw_req_release() 51 release_firmware(fw_req->fw); in fw_req_release() 54 * The request timed out and the module may send a fetch-fw or in fw_req_release() 55 * release-fw request later. Lets block the id we allocated for this in fw_req_release() 56 * request, so that the AP doesn't refer to a later fw-request (with in fw_req_release() 57 * same firmware_id) for the old timedout fw-request. in fw_req_release() 65 if (!fw_req->timedout) in fw_req_release() [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-asm.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 35 #include <asm/octeon/octeon-model.h> 54 * errata Core-401. This can cause a single syncw to not enforce 87 * CVMX_PREPARE_FOR_STORE makes each byte of the block unpredictable 90 * unpredictable, but may also change again - up until the point when one 98 * its dirty bit for a block. Basically, SW is telling HW that the 99 * current version of the block will not be used. 120 /* fetch and lock the state. */ [all …]
|
/linux/drivers/crypto/intel/keembay/ |
H A D | ocs-aes.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2018-2020 Intel Corporation 8 #include <linux/dma-mapping.h> 20 #include "ocs-aes.h" 131 * 11-bit value, but it is actually 10-bits. 136 * During CCM decrypt, the OCS block needs to finish processing the ciphertext 137 * before the tag is written. For 128-bit mode this required delay is 28 OCS 138 * clock cycles. For 256-bit mode it is 36 OCS clock cycles. 156 * ------------ --------- 158 * 1 ... 15-L Nonce N [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power9/ |
H A D | other.json | 15 "BriefDescription": "Demand Instruction fetch request" 65 "BriefDescription": "Read-write data cache collisions" 90 "BriefDescription": "D-cache invalidates sent over the reload bus to the core" 95 …ruction cache was reloaded from the local chip's Memory due to an instruction fetch (not prefetch)" 200 "BriefDescription": "Read-write data cache collisions" 280 …-word boundary, which causes it to require an additional slice than than what normally would be re… 300 "BriefDescription": "I-cache Invalidates sent over the realod bus to the core" 395 …-word boundary, which causes it to require an additional slice than than what normally would be re… 430 "BriefDescription": "TM Load (fav or non-fav) ran into conflict (failed)" 450 …"BriefDescription": "A TM-ineligible instruction tries to execute inside a transaction and the LSU… [all …]
|
/linux/include/linux/dma/ |
H A D | sprd-dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * The Spreadtrum DMA controller supports channel 2-stage tansfer, that means 22 * To support 2-stage tansfer, we must configure the channel mode and trigger 27 * enum sprd_dma_chn_mode: define the DMA channel mode for 2-stage transfer 29 * support the 2-stage transfer. 35 * Now the DMA controller can supports 2 groups 2-stage transfer. 46 * enum sprd_dma_trg_mode: define the DMA channel trigger mode for 2-stage 52 * automatically once the source channel's block request is done. 56 * automatically once the source channel's link-list request is done. 69 * @SPRD_DMA_BLK_REQ: block request mode [all …]
|
/linux/arch/arc/include/asm/ |
H A D | jump_label.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * 16-bit NOP_S if this is required. 22 * It's enough that our 32-bit instruction don't cross L1 cache line boundary / 23 * L1 I$ fetch block boundary which can be achieved by using
|
/linux/lib/ |
H A D | textsearch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * both linear and non-linear data. Individual search algorithms are 21 * .. code-block:: none 24 * +----------------+ 25 * | finish()|<--------------(6)-----------------+ 26 * |get_next_block()|<--------------(5)---------------+ | 28 * | | +------------------------------+ 30 * | | +------------------------------+ 32 * | | +---------------+ (2) (4) (8) 33 * | (1)|----->| prepare() |---+ | | [all …]
|
/linux/tools/perf/pmu-events/arch/x86/grandridge/ |
H A D | grr-metrics.json | 4 "MetricExpr": "cstate_core@c1\\-residency@ / TSC", 11 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 18 "MetricExpr": "cstate_module@c6\\-residency@ / TSC", 25 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 82 …ed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total numbe… 85 …ed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total numbe… 89 …o of number of completed page walks (for all page sizes) caused by a code fetch to the total numbe… 92 …o of number of completed page walks (for all page sizes) caused by a code fetch to the total numbe… 169 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 317 "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction", [all …]
|