| /kernel/linux/linux-6.6/Documentation/dev-tools/ |
| D | kasan.rst | 5 -------- 8 designed to find out-of-bounds and use-after-free bugs. 13 2. Software Tag-Based KASAN 14 3. Hardware Tag-Based KASAN 20 Software Tag-Based KASAN or SW_TAGS KASAN, enabled with CONFIG_KASAN_SW_TAGS, 23 using it for testing on memory-restricted devices with real workloads. 25 Hardware Tag-Based KASAN or HW_TAGS KASAN, enabled with CONFIG_KASAN_HW_TAGS, 26 is the mode intended to be used as an in-field memory bug detector or as a 34 The Generic and the Software Tag-Based modes are commonly referred to as the 35 software modes. The Software Tag-Based and the Hardware Tag-Based modes are [all …]
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | pagemap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define trace_pagemap_flags(page) ( \ argument 20 (PageAnon(page) ? PAGEMAP_ANONYMOUS : PAGEMAP_FILE) | \ 21 (page_mapped(page) ? PAGEMAP_MAPPED : 0) | \ 22 (PageSwapCache(page) ? PAGEMAP_SWAPCACHE : 0) | \ 23 (PageSwapBacked(page) ? PAGEMAP_SWAPBACKED : 0) | \ 24 (PageMappedToDisk(page) ? PAGEMAP_MAPPEDDISK : 0) | \ 25 (page_has_private(page) ? PAGEMAP_BUFFERS : 0) \ 31 struct page *page, 35 TP_ARGS(page, lru), [all …]
|
| /kernel/linux/linux-5.10/Documentation/dev-tools/ |
| D | kasan.rst | 5 -------- 8 find out-of-bound and use-after-free bugs. KASAN has two modes: generic KASAN 9 (similar to userspace ASan) and software tag-based KASAN (similar to userspace 12 KASAN uses compile-time instrumentation to insert validity checks before every 17 out-of-bounds accesses for global variables is only supported since Clang 11. 19 Tag-based KASAN is only supported in Clang. 22 and riscv architectures, and tag-based KASAN is supported only for arm64. 25 ----- 32 CONFIG_KASAN_SW_TAGS (to enable software tag-based KASAN). 36 smaller binary while the latter is 1.1 - 2 times faster. [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 This driver supports Chelsio gigabit and 10-gigabit 34 For customer support, please visit our customer support page at 37 Please send feedback to <linux-bugs@chelsio.com>. 55 This driver supports Chelsio T3-based gigabit and 10Gb Ethernet 61 For customer support, please visit our customer support page at 64 Please send feedback to <linux-bugs@chelsio.com>. 77 This driver supports Chelsio T4, T5 & T6 based gigabit, 10Gb Ethernet 78 adapter and T5/T6 based 40Gb and T6 based 25Gb, 50Gb and 100Gb 84 For customer support, please visit our customer support page at [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 This driver supports Chelsio gigabit and 10-gigabit 34 For customer support, please visit our customer support page at 37 Please send feedback to <linux-bugs@chelsio.com>. 55 This driver supports Chelsio T3-based gigabit and 10Gb Ethernet 61 For customer support, please visit our customer support page at 64 Please send feedback to <linux-bugs@chelsio.com>. 76 This driver supports Chelsio T4, T5 & T6 based gigabit, 10Gb Ethernet 77 adapter and T5/T6 based 40Gb and T6 based 25Gb, 50Gb and 100Gb 83 For customer support, please visit our customer support page at [all …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_vma_manager.h | 83 * drm_vma_offset_exact_lookup_locked() - Look up node by exact address 85 * @start: Start address (page-based, not byte-based) 86 * @pages: Size of object (page-based) 102 return (node && node->vm_node.start == start) ? node : NULL; in drm_vma_offset_exact_lookup_locked() 106 * drm_vma_offset_lock_lookup() - Lock lookup for extended private use 119 * Note: You're in atomic-context while holding this lock! 123 read_lock(&mgr->vm_lock); in drm_vma_offset_lock_lookup() 127 * drm_vma_offset_unlock_lookup() - Unlock lookup for extended private use 130 * Release lookup-lock. See drm_vma_offset_lock_lookup() for more information. 134 read_unlock(&mgr->vm_lock); in drm_vma_offset_unlock_lookup() [all …]
|
| /kernel/linux/linux-6.6/mm/kasan/ |
| D | hw_tags.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains core hardware tag-based KASAN code. 84 return -EINVAL; in early_kasan_flag() 91 return -EINVAL; in early_kasan_flag() 101 return -EINVAL; in early_kasan_mode() 110 return -EINVAL; in early_kasan_mode() 120 return -EINVAL; in early_kasan_flag_vmalloc() 127 return -EINVAL; in early_kasan_flag_vmalloc() 149 return -EINVAL; in early_kasan_flag_page_alloc_sample() 157 return -EINVAL; in early_kasan_flag_page_alloc_sample() [all …]
|
| D | kasan_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #include <asm/page.h> 37 /* Fields set based on lines observed in the console. */ 63 return -1; in kasan_suite_init() 70 * Temporarily enable multi-shot mode. Otherwise, KASAN would only in kasan_suite_init() 94 * KUNIT_EXPECT_KASAN_FAIL() - check that the executed expression produces a 99 * For hardware tag-based KASAN, when a synchronous tag fault happens, tag 100 * checking is auto-disabled. When this happens, this test handler reenables 162 size_t size = 128 - KASAN_GRANULE_SIZE - 5; in kmalloc_oob_right() 176 * An aligned access into the first out-of-bounds granule that falls in kmalloc_oob_right() [all …]
|
| /kernel/linux/linux-6.6/include/drm/ |
| D | drm_vma_manager.h | 84 * drm_vma_offset_exact_lookup_locked() - Look up node by exact address 86 * @start: Start address (page-based, not byte-based) 87 * @pages: Size of object (page-based) 103 return (node && node->vm_node.start == start) ? node : NULL; in drm_vma_offset_exact_lookup_locked() 107 * drm_vma_offset_lock_lookup() - Lock lookup for extended private use 120 * Note: You're in atomic-context while holding this lock! 124 read_lock(&mgr->vm_lock); in drm_vma_offset_lock_lookup() 128 * drm_vma_offset_unlock_lookup() - Unlock lookup for extended private use 131 * Release lookup-lock. See drm_vma_offset_lock_lookup() for more information. 135 read_unlock(&mgr->vm_lock); in drm_vma_offset_unlock_lookup() [all …]
|
| /kernel/linux/linux-6.6/Documentation/mm/ |
| D | multigen_lru.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Multi-Gen LRU 6 The multi-gen LRU is an alternative LRU implementation that optimizes 7 page reclaim and improves performance under memory pressure. Page 14 ---------- 20 * Simple self-correcting heuristics 23 implementations. In the multi-gen LRU, each generation represents a 25 (time-based) common frame of reference and therefore help make better 30 accessed bit. A rmap walk targets a single page and does not try to 31 profit from discovering a young PTE. A page table walk can sweep all [all …]
|
| /kernel/linux/linux-6.6/Documentation/virt/hyperv/ |
| D | clocks.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ----- 8 On arm64, Hyper-V virtualizes the ARMv8 architectural system counter 12 architectural system counter is functional in guest VMs on Hyper-V. 13 While Hyper-V also provides a synthetic system clock and four synthetic 14 per-CPU timers as described in the TLFS, they are not used by the 15 Linux kernel in a Hyper-V guest on arm64. However, older versions 16 of Hyper-V for arm64 only partially virtualize the ARMv8 19 Linux kernel versions on these older Hyper-V versions requires an 20 out-of-tree patch to use the Hyper-V synthetic clocks/timers instead. [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
| D | Kconfig | 1 # SPDX-License-Identifier: MIT 16 bool "Enable HMM-based shared virtual memory manager" 23 memory manager supports two modes of operation. One based on 24 preemptions and one based on page faults. To enable page fault 25 based memory management on most GFXv9 GPUs, set the module 29 bool "HSA kernel driver support for peer-to-peer for AMD GPU devices" 32 Enable peer-to-peer (P2P) communication between AMD GPUs over 33 the PCIe bus. This can improve performance of multi-GPU compute
|
| /kernel/linux/linux-6.6/include/xen/arm/ |
| D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <asm/page.h> 9 #include <linux/dma-mapping.h> 22 /* Xen pseudo-physical address */ 33 * The pseudo-physical frame (pfn) used in all the helpers is always based 34 * on Xen page granularity (i.e 4KB). 36 * A Linux page may be split across multiple non-contiguous Xen page so we 37 * have to keep track with frame based on 4KB page granularity. 46 /* Pseudo-physical <-> Guest conversion */ 57 /* Pseudo-physical <-> BUS conversion */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | bvec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 struct page; 20 * struct bio_vec - a contiguous range of physical memory addresses 21 * @bv_page: First page associated with the address range. 32 struct page *bv_page; 38 * bvec_set_page - initialize a bvec based off a struct page 40 * @page: page the bvec should point to 42 * @offset: offset into the page 44 static inline void bvec_set_page(struct bio_vec *bv, struct page *page, in bvec_set_page() argument 47 bv->bv_page = page; in bvec_set_page() [all …]
|
| /kernel/linux/linux-5.10/include/xen/arm/ |
| D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <asm/page.h> 9 #include <linux/dma-mapping.h> 22 /* Xen pseudo-physical address */ 33 * The pseudo-physical frame (pfn) used in all the helpers is always based 34 * on Xen page granularity (i.e 4KB). 36 * A Linux page may be split across multiple non-contiguous Xen page so we 37 * have to keep track with frame based on 4KB page granularity. 46 /* Pseudo-physical <-> Guest conversion */ 57 /* Pseudo-physical <-> BUS conversion */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/ |
| D | mtdnand.rst | 10 The generic NAND driver supports almost all NAND and AG-AND based chips 31 -------------------------- 37 - [MTD Interface] 43 - [NAND Interface] 48 - [GENERIC] 53 - [DEFAULT] 65 ------------------------------- 71 - [INTERN] 77 - [REPLACEABLE] 86 - [BOARDSPECIFIC] [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/ |
| D | mtdnand.rst | 10 The generic NAND driver supports almost all NAND and AG-AND based chips 31 -------------------------- 37 - [MTD Interface] 43 - [NAND Interface] 48 - [GENERIC] 53 - [DEFAULT] 65 ------------------------------- 71 - [INTERN] 77 - [REPLACEABLE] 86 - [BOARDSPECIFIC] [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/ |
| D | numa_memory_policy.rst | 10 supported platforms with Non-Uniform Memory Access architectures since 2.4.?. 16 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``) 19 programming interface that a NUMA-aware application can take advantage of. When 28 ------------------------ 35 that governs all page allocations that aren't controlled by 41 not to overload the initial boot node with boot-time 45 this is an optional, per-task policy. When defined for a 46 specific task, this policy controls all page allocations made 49 all page allocations that would have been controlled by the 61 In a multi-threaded task, task policies apply only to the thread [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | fsverity.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * fs-verity: read-only file-based authenticity protection 6 * filesystems that support fs-verity. 25 * The filesystem must do any needed filesystem-specific preparations 27 * -EBUSY if verity is already being enabled on the given file. 31 * Return: 0 on success, -errno on failure 45 * verity descriptor to a fs-specific location associated with the inode 46 * and do any fs-specific actions needed to mark the inode as a verity 47 * inode, e.g. setting a bit in the on-disk inode. The filesystem is 51 * ->begin_enable_verity() and ->end_enable_verity(). [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
| D | numa_memory_policy.rst | 12 supported platforms with Non-Uniform Memory Access architectures since 2.4.?. 18 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``) 21 programming interface that a NUMA-aware application can take advantage of. When 30 ------------------------ 37 that governs all page allocations that aren't controlled by 43 not to overload the initial boot node with boot-time 47 this is an optional, per-task policy. When defined for a 48 specific task, this policy controls all page allocations made 51 all page allocations that would have been controlled by the 63 In a multi-threaded task, task policies apply only to the thread [all …]
|
| /kernel/linux/linux-5.10/arch/loongarch/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 149 bool "Loongson 64-bit family of machines" 170 This enables the support of Loongson 64-bit family of machines. These 171 machines are based on new Loongson-3 processors (Old Loongson is MIPS 172 compatible, while new Loongson is based on LoongArch ISA). 191 def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x)) 221 bool "Loongson 64-bit CPU" 232 The Loongson 64-bit processor implements the LoongArch64 (the 64-bit 270 actually benefits from 64-bit processing or if your machine has 272 menu if your system does not support both 32-bit and 64-bit kernels. [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 33 compress them into a dynamically allocated RAM-based memory pool. 65 If exclusive loads are enabled, when a page is loaded from zswap, 69 This avoids having two copies of the same page in memory 70 (compressed and uncompressed) after faulting in a page from zswap. 71 The cost is that if the page was never dirtied and needs to be 72 swapped out again, it will be re-compressed. 84 available at the following LWN page: 190 page. While this design limits storage density, it has simple and 200 linux-mm@kvack.org and the zswap maintainers. [all …]
|
| /kernel/linux/linux-6.6/Documentation/mm/damon/ |
| D | design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - Operations Set: Implements fundamental operations for DAMON that depends on 14 the given monitoring target address-space and available set of 16 - Core: Implements core logics including monitoring overhead/accurach control 17 and access-aware system operations on top of the operations set layer, and 18 - Modules: Implements kernel modules for various purposes that provides 23 --------------------------- 45 -------------------- 66 VMA-based Target Address Range Construction 67 ------------------------------------------- [all …]
|
| /kernel/linux/linux-6.6/drivers/clocksource/ |
| D | hyperv_timer.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * provided by the Hyper-V hypervisor to guest VMs, as described 6 * in the Hyper-V Top Level Functional Spec (TLFS). This driver 26 #include <asm/hyperv-tlfs.h> 36 * mechanism is used when running on older versions of Hyper-V 37 * that don't support Direct Mode. While Hyper-V provides 44 * However, for legacy versions of Hyper-V when Direct Mode 51 static int stimer0_irq = -1; 64 ce->event_handler(ce); in hv_stimer0_isr() 70 * per-cpu interrupts, which also implies Direct Mode. [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/include/asm/ |
| D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Based on arch/arm/include/asm/page.h 5 * Copyright (C) 1995-2003 Russell King 11 #include <asm/page-def.h> 17 #include <asm/pgtable-types.h> 19 struct page; 25 void copy_user_highpage(struct page *to, struct page *from, 29 void copy_highpage(struct page *to, struct page *from); 36 void tag_clear_highpage(struct page *to); 39 #define clear_user_page(page, vaddr, pg) clear_page(page) argument [all …]
|