| /linux/drivers/md/dm-vdo/ |
| H A D | priority-table.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "priority-table.h" 11 #include "memory-alloc.h" 14 #include "status-codes.h" 16 /* We use a single 64-bit search vector, so the maximum priority is 63 */ 34 * of the queue in the appropriate bucket. The dequeue operation finds the highest-priority 35 * non-empty bucket by searching a bit vector represented as a single 8-byte word, which is very 41 /* A bit vector flagging all buckets that are currently non-empty */ 48 * vdo_make_priority_table() - Allocate and initialize a new priority_table. 69 struct bucket *bucket = &table->buckets[priority]; in vdo_make_priority_table() [all …]
|
| H A D | funnel-queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "funnel-queue.h" 9 #include "memory-alloc.h" 23 * queue->newest and queue->oldest are never null. in vdo_make_funnel_queue() 25 queue->stub.next = NULL; in vdo_make_funnel_queue() 26 queue->newest = &queue->stub; in vdo_make_funnel_queue() 27 queue->oldest = &queue->stub; in vdo_make_funnel_queue() 45 struct funnel_queue_entry *oldest = queue->oldest; in get_oldest() 46 struct funnel_queue_entry *next = READ_ONCE(oldest->next); in get_oldest() 48 if (oldest == &queue->stub) { in get_oldest() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | uncore-interconnect.json | 31 "BriefDescription": "FAF - request insert from TC.", 47 "BriefDescription": "FAF allocation -- sent to ADQ", 84 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 94 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 104 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 114 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 124 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 134 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 144 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 154 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | uncore-interconnect.json | 31 "BriefDescription": "FAF - request insert from TC.", 47 "BriefDescription": "FAF allocation -- sent to ADQ", 84 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 94 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 104 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 114 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 124 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 134 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 144 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 154 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | uncore-io.json | 17 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 27 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 37 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 47 …nto the IIO, but was rejected because no credits were available. NCB, or non-coherent bypass mess… 57 …nto the IIO, but was rejected because no credits were available. NCB, or non-coherent bypass mess… 67 …nto the IIO, but was rejected because no credits were available. NCB, or non-coherent bypass mess… 77 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 87 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 97 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 241 "BriefDescription": "Ingress Cycles Not Empty; DRS", [all …]
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | radix-sort.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "radix-sort.h" 11 #include "memory-alloc.h" 12 #include "string-utils.h" 23 /* Sort keys are pointers to immutable fixed-length arrays of bytes. */ 31 /* The number of non-empty bins */ 33 /* The index (key byte) of the first non-empty bin */ 35 /* The index (key byte) of the last non-empty bin */ 42 * Sub-tasks are manually managed on a stack, both for performance and to put a logarithmic bound 65 /* Compare a segment of two fixed-length keys starting at an offset. */ [all …]
|
| /linux/include/linux/ |
| H A D | pagewalk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 /* vma will be write-locked during the walk */ 15 /* vma is expected to be already write-locked during the walk */ 17 /* vma is expected to be already read-locked during the walk */ 22 * struct mm_walk_ops - callbacks for walk_page_range 23 * @pgd_entry: if set, called for each non-empty PGD (top-level) entry 24 * @p4d_entry: if set, called for each non-empty P4D entry 25 * @pud_entry: if set, called for each non-empty PUD entry 26 * @pmd_entry: if set, called for each non-empty PMD entry 30 * @pte_entry: if set, called for each PTE (lowest-level) entry [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | uncore-interconnect.json | 164 "BriefDescription": "BL Ingress Occupancy - DRS", 189 "BriefDescription": "BL Ingress Occupancy - NCB", 214 "BriefDescription": "BL Ingress Occupancy - NCS", 236 …ny requests behind it in the switch queue will lose ownership and have to re-acquire it later when… 256 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 266 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 276 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 286 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 341 …er of cycles when there are pending write ACK's in the switch but the switch->IRP pipeline is not … 363 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress Credits", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | uncore-interconnect.json | 111 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 116 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 121 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 126 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 131 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 136 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 146 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 151 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 156 "PublicDescription": "Counts Timeouts - Se [all...] |
| H A D | uncore-io.json | 53 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 63 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 73 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 83 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 93 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 103 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 338 "BriefDescription": "Ingress Cycles Not Empty; NCB", 343 …"PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty. This trac… 348 "BriefDescription": "Ingress Cycles Not Empty; NCS", 353 …"PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty. This trac… [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/ |
| H A D | pipeline.json | 9 …e to the frontend, cache miss.This event counts every cycle the DPU IQ is empty and there is an in… 12 …e to the frontend, cache miss.This event counts every cycle the DPU IQ is empty and there is an in… 15 …due to the frontend, TLB miss.This event counts every cycle the DPU IQ is empty and there is an in… 18 …due to the frontend, TLB miss.This event counts every cycle the DPU IQ is empty and there is an in… 21 …ion issued due to the frontend, pre-decode error.This event counts every cycle the DPU IQ is empty… 24 …ion issued due to the frontend, pre-decode error.This event counts every cycle the DPU IQ is empty… 57 …Wr stage due to a load which is waiting on data (due to missing the cache or being non-cacheable)", 60 … Wr stage due to a load which is waiting on data (due to missing the cache or being non-cacheable)"
|
| /linux/arch/xtensa/variants/dc232b/include/variant/ |
| H A D | tie.h | 10 * Copyright (C) 1999-2007 Tensilica Inc. 44 /* Save area for non-coprocessor optional and custom (TIE) state: */ 49 #define XCHAL_TOTAL_SA_SIZE 32 /* with 16-byte align padding */ 62 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 70 * dbnum = unique target number f/debug (see <xtensa-libdb-macros.h>) 72 * regnum = reg index in regfile, or special/TIE-user reg number 79 * To filter out certain registers, e.g. to expand only the non-global 104 #define XCHAL_CP0_SA_LIST(s) /* empty */ 107 #define XCHAL_CP1_SA_LIST(s) /* empty */ 110 #define XCHAL_CP2_SA_LIST(s) /* empty */ [all …]
|
| /linux/kernel/rcu/ |
| H A D | rcu_segcblist.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 rclp->head = NULL; in rcu_cblist_init() 21 rclp->tail = &rclp->head; in rcu_cblist_init() 22 rclp->len = 0; in rcu_cblist_init() 30 *rclp->tail = rhp; in rcu_cblist_enqueue() 31 rclp->tail = &rhp->next; in rcu_cblist_enqueue() 32 WRITE_ONCE(rclp->len, rclp->len + 1); in rcu_cblist_enqueue() 37 * any contents of the first. If rhp is non-NULL, enqueue it as the sole 39 * rcu_cblist structure, if initially non-empty, always appears non-empty 41 * is instead initialized to empty. [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | uncore-interconnect.json | 111 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 116 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 121 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 126 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 131 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 136 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 146 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 151 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 156 "PublicDescription": "Counts Timeouts - Se [all...] |
| H A D | uncore-io.json | 53 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 63 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 73 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 83 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 93 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 103 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 368 "BriefDescription": "Ingress Cycles Not Empty; NCB", 373 …"PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty. This trac… 378 "BriefDescription": "Ingress Cycles Not Empty; NCS", 383 …"PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty. This trac… [all …]
|
| /linux/arch/xtensa/variants/dc233c/include/variant/ |
| H A D | tie.h | 2 * tie.h -- compile-time HAL definitions dependent on CORE & TIE configuration 11 Copyright (c) 1999-2010 Tensilica Inc. 63 /* Save area for non-coprocessor optional and custom (TIE) state: */ 68 #define XCHAL_TOTAL_SA_SIZE 32 /* with 16-byte align padding */ 81 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 89 * dbnum = unique target number f/debug (see <xtensa-libdb-macros.h>) 91 * regnum = reg index in regfile, or special/TIE-user reg number 98 * To filter out certain registers, e.g. to expand only the non-global 123 #define XCHAL_CP0_SA_LIST(s) /* empty */ 126 #define XCHAL_CP1_SA_LIST(s) /* empty */ [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
| H A D | other.json | 3 "PublicDescription": "This event counts the occurrence count of the micro-operation split.", 6 "BriefDescription": "This event counts the occurrence count of the micro-operation split." 63 …mmitted and the oldest and uncommitted instruction is an integer or floating-point/SIMD instructio… 66 …mmitted and the oldest and uncommitted instruction is an integer or floating-point/SIMD instructio… 69 …ction was committed and the oldest and uncommitted instruction is a floating-point/SIMD instructio… 72 …ction was committed and the oldest and uncommitted instruction is a floating-point/SIMD instructio… 81 …tion": "This event counts every cycle that no instruction was committed because the CSE is empty.", 84 …ption": "This event counts every cycle that no instruction was committed because the CSE is empty." 87 …t counts every cycle that no instruction was committed because the CSE is empty and the store port… 90 …t counts every cycle that no instruction was committed because the CSE is empty and the store port… [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_bit.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 11 * XFS bit manipulation routines, used in non-realtime code. 15 * Return whether bitmap is empty. 17 * Returns 1 for empty, 0 for non-empty. 46 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits() 47 start_bit &= (NBWORD - 1); in xfs_contig_bits() 51 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits() 55 size -= NBWORD; in xfs_contig_bits() 61 size -= NBWORD; in xfs_contig_bits() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 104 * This register can be used to configure the core after power-on or a change in 105 * mode of operation. This register mainly contains AHB system-related 117 * @ptxfemplvl: Periodic TxFIFO Empty Level (PTxFEmpLvl) 119 * Indicates when the Periodic TxFIFO Empty Interrupt bit in the 123 * TxFIFO is half empty 125 * TxFIFO is completely empty 126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl) 128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelakex/ |
| H A D | uncore-interconnect.json | 111 "BriefDescription": "FAF allocation -- sent to ADQ", 148 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 158 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 168 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 178 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 188 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 198 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 208 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 218 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", 228 "BriefDescription": "Misc Events - Set 1 : Lost Forward", [all …]
|
| /linux/arch/xtensa/variants/de212/include/variant/ |
| H A D | tie.h | 2 * tie.h -- compile-time HAL definitions dependent on CORE & TIE configuration 11 Copyright (c) 1999-2015 Cadence Design Systems Inc. 40 /* Save area for non-coprocessor optional and custom (TIE) state: */ 45 #define XCHAL_TOTAL_SA_SIZE 32 /* with 16-byte align padding */ 58 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 66 * dbnum = unique target number f/debug (see <xtensa-libdb-macros.h>) 68 * regnum = reg index in regfile, or special/TIE-user reg number 75 * To filter out certain registers, e.g. to expand only the non-global 99 #define XCHAL_CP0_SA_LIST(s) /* empty */ 102 #define XCHAL_CP1_SA_LIST(s) /* empty */ [all …]
|
| /linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
| H A D | tie.h | 9 * Copyright (C) 1999-2009 Tensilica Inc. 43 /* Save area for non-coprocessor optional and custom (TIE) state: */ 48 #define XCHAL_TOTAL_SA_SIZE 128 /* with 16-byte align padding */ 61 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 69 * dbnum = unique target number f/debug (see <xtensa-libdb-macros.h>) 71 * regnum = reg index in regfile, or special/TIE-user reg number 78 * To filter out certain registers, e.g. to expand only the non-global 98 #define XCHAL_CP0_SA_LIST(s) /* empty */ 120 #define XCHAL_CP2_SA_LIST(s) /* empty */ 123 #define XCHAL_CP3_SA_LIST(s) /* empty */ [all …]
|
| /linux/Documentation/devicetree/bindings/iio/multiplexer/ |
| H A D | io-channel-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/multiplexer/io-channel-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 16 For each non-empty string in the channels property, an io-channel will be 17 created. The number of this io-channel is the same as the index into the list 20 Documentation/devicetree/bindings/mux/mux-controller.yaml 25 const: io-channel-mux 27 io-channels: [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
| H A D | uncore-io.json | 53 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 63 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 73 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 83 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 93 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 103 …t. These credits are for either the NCB or NCS message classes. NCB, or non-coherent bypass mess… 368 "BriefDescription": "Ingress Cycles Not Empty; NCB", 373 …"PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty. This trac… 378 "BriefDescription": "Ingress Cycles Not Empty; NCS", 383 …"PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty. This trac… [all …]
|
| /linux/fs/tests/ |
| H A D | binfmt_elf_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 struct elf_phdr empty[] = { in total_mapping_size_test() local 11 * readelf -lW /bin/mount | grep '^ .*0x0' | awk '{print "\t\t{ .p_type = PT_" \ in total_mapping_size_test() 30 /* https://lore.kernel.org/linux-fsdevel/YfF18Dy85mCntXrx@fractal.localdomain */ in total_mapping_size_test() 40 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 0), 0); in total_mapping_size_test() 41 /* Empty headers, no size. */ in total_mapping_size_test() 42 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 1), 0); in total_mapping_size_test() 44 KUNIT_EXPECT_EQ(test, total_mapping_size(&empty[1], 1), 0); in total_mapping_size_test() 45 /* Empty PT_LOAD and non-PT_LOAD headers, no size. */ in total_mapping_size_test() 46 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 2), 0); in total_mapping_size_test()
|