/linux-6.12.1/Documentation/admin-guide/mm/ |
D | pagemap.rst | 12 physical frame each virtual page is mapped to. It contains one 64-bit 16 * Bits 0-54 page frame number (PFN) if present 17 * Bits 0-4 swap type if swapped 18 * Bits 5-54 swap offset if swapped 19 * Bit 55 pte is soft-dirty (see 20 Documentation/admin-guide/mm/soft-dirty.rst) 22 * Bit 57 pte is uffd-wp write-protected (since 5.13) (see 23 Documentation/admin-guide/mm/userfaultfd.rst) 24 * Bits 58-60 zero 25 * Bit 61 page is file-page or shared-anon (since 3.5) [all …]
|
D | zswap.rst | 9 in the process of being swapped out and attempts to compress them into a 10 dynamically allocated RAM-based memory pool. zswap basically trades CPU cycles 11 for potentially reduced swap I/O. This trade-off can also result in a 24 drastically reducing life-shortening writes. 31 the ``CONFIG_ZSWAP_DEFAULT_ON`` Kconfig option is enabled or not. 41 being swapped out. However, it will _not_ immediately write out or fault 46 fault back into memory all swapped out pages, including those in the 57 allocation in zpool is not directly accessible by address. Rather, a handle is 60 pages are freed. The pool is not preallocated. By default, a zpool 69 means the compression ratio will always be 2:1 or worse (because of half-full [all …]
|
D | concepts.rst | 7 systems from MMU-less microcontrollers to supercomputers. The memory 21 the amount of memory that can be installed. The physical memory is not 80 improves TLB hit-rate and thus improves overall system performance. 87 Documentation/admin-guide/mm/hugetlbpage.rst. 94 name. See Documentation/admin-guide/mm/transhuge.rst for more details 107 devices for DMA, ZONE_HIGHMEM will contain memory that is not 111 The actual layout of the memory zones is hardware dependent as not all 118 Many multi-processor machines are NUMA - Non-Uniform Memory Access - 126 Documentation/admin-guide/mm/numa_memory_policy.rst. 144 is not backed by a filesystem. Such mappings are implicitly created [all …]
|
/linux-6.12.1/arch/sparc/kernel/ |
D | adi_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * pages. When ADI enabled pages are being swapped out, it would be 32 * Hypervisor reports ADI capabilities of platform in "hwcap-list" property 33 * for "cpu" node. If the platform supports ADI, "hwcap-list" property 35 * node will contain "adp-blksz", "adp-nbits" and "ue-on-adp" properties 52 prop = mdesc_get_property(hp, pn, "hwcap-list", &len); in mdesc_adi_init() 57 * Look for "adp" keyword in hwcap-list which would indicate in mdesc_adi_init() 71 len -= plen; in mdesc_adi_init() 78 * properties are not found, ADI support is incomplete and in mdesc_adi_init() 79 * do not enable ADI in the kernel. in mdesc_adi_init() [all …]
|
/linux-6.12.1/sound/firewire/dice/ |
D | dice-interface.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * block read transactions with at least quadlet-aligned offset and length. 12 * Writes are not allowed except where noted; quadlet-sized registers must be 15 * All values are in big endian. The DICE firmware runs on a little-endian CPU 16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness 17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver. 32 * size values are measured in quadlets. Read-only. 50 * Stores the full 64-bit address (node ID and offset in the node's address 60 * A bitmask with asynchronous events; read-only. When any event(s) happen, 74 /* Other bits may be used for device-specific events. */ [all …]
|
/linux-6.12.1/include/linux/ |
D | zswap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * Number of swapped in pages from disk, i.e not found in the zswap pool. 21 * LRU active/protected and not written them back, we would not have had to 22 * swapped them in.
|
/linux-6.12.1/drivers/media/platform/renesas/ |
D | renesas-ceu.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org> 6 * Based on soc-camera driver "soc_camera/sh_mobile_ceu_camera.c" 9 * Based on V4L2 Driver for PXA camera host - "pxa_camera.c", 16 #include <linux/dma-mapping.h> 32 #include <media/v4l2-async.h> 33 #include <media/v4l2-common.h> 34 #include <media/v4l2-ctrls.h> 35 #include <media/v4l2-dev.h> 36 #include <media/v4l2-device.h> [all …]
|
/linux-6.12.1/drivers/platform/x86/ |
D | touchscreen_dmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 /* The EFI embedded-fw code expects this to be the first member! */ 33 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), 34 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), 35 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), 36 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), 37 PROPERTY_ENTRY_BOOL("silead,home-button"), 38 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"), 48 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), 49 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), [all …]
|
/linux-6.12.1/mm/ |
D | shmem.c | 6 * 2000-2001 Christoph Rohland 7 * 2000-2001 SAP AG 9 * Copyright (C) 2002-2011 Hugh Dickins. 11 * Copyright (C) 2002-2005 VERITAS Software Corporation. 18 * tiny-shmem: 61 #include <linux/backing-dev.h> 102 * inode->i_private (with i_rwsem making sure that it has only one user at 103 * a time): we would prefer not to enlarge the shmem inode just for that. 151 return min3(nr_pages - totalhigh_pages(), nr_pages / 2, in shmem_default_max_inodes() 162 return sb->s_fs_info; in SHMEM_SB() [all …]
|
D | mincore.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1994-2006 Linus Torvalds 30 unsigned char *vec = walk->private; in mincore_hugetlb() 34 * swapped out, but theoretically it needs to be checked. in mincore_hugetlb() 36 present = pte && !huge_pte_none_mostly(huge_ptep_get(walk->mm, addr, pte)); in mincore_hugetlb() 39 walk->private = vec; in mincore_hugetlb() 49 * and is up to date; i.e. that no page-in operation would be required 59 * file will not get a swp_entry_t in its pte, but rather it is like in mincore_page() 61 * tmpfs's .fault). So swapped out tmpfs mappings are tested here. in mincore_page() 75 unsigned long nr = (end - addr) >> PAGE_SHIFT; in __mincore_unmapped_range() [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | userp.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 14 particular user pointer method (not only memory mapping) is supported 21 data are exchanged, these pointers and meta-information are passed in 23 :c:type:`v4l2_plane` in the multi-planar API case). The 26 No buffers (planes) are allocated beforehand, consequently they are not 33 .. code-block:: c 41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) { 43 printf ("Video capturing or user pointer streaming is not supported\\n"); 57 swapped out to disk they are brought back and finally locked in physical 66 Applications must take care not to free buffers without dequeuing. [all …]
|
/linux-6.12.1/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 6 * Copyright (C) 2004-2017 Cavium, Inc. 18 #include <asm/octeon/cvmx-helper-board.h> 24 #include <asm/octeon/cvmx-uctlx-defs.h> 78 if (dev->of_node) { in octeon2_usb_clocks_start() 82 uctl_node = of_get_parent(dev->of_node); in octeon2_usb_clocks_start() 88 "refclk-frequency", &clock_rate); in octeon2_usb_clocks_start() 90 dev_err(dev, "No UCTL \"refclk-frequency\"\n"); in octeon2_usb_clocks_start() 95 "refclk-type", &clock_type); in octeon2_usb_clocks_start() 203 * Step 4: Program the power-on reset field in the UCTL in octeon2_usb_clocks_start() 204 * clock-reset-control register. in octeon2_usb_clocks_start() [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | virtio_balloon.h | 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 64 #define VIRTIO_BALLOON_S_SWAP_IN 0 /* Amount of memory swapped in */ 65 #define VIRTIO_BALLOON_S_SWAP_OUT 1 /* Amount of memory swapped out */ 83 VIRTIO_BALLOON_S_NAMES_prefix "swap-in", \ 84 VIRTIO_BALLOON_S_NAMES_prefix "swap-out", \ 85 VIRTIO_BALLOON_S_NAMES_prefix "major-faults", \ 86 VIRTIO_BALLOON_S_NAMES_prefix "minor-faults", \ 87 VIRTIO_BALLOON_S_NAMES_prefix "free-memory", \ 88 VIRTIO_BALLOON_S_NAMES_prefix "total-memory", \ [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_exec.c | 1 // SPDX-License-Identifier: MIT 24 * userspace-managable portion of the VA space. It provides operations to map 25 * and unmap memory. Mappings may be flagged as sparse. Sparse mappings are not 30 * bounds (but not crossing those bounds) of a previously mapped sparse 38 * Unmap requests are not bound to the range of existing mappings and can even 49 * The kernel does not permit to: 50 * - unmap non-existent sparse mappings 51 * - unmap a sparse mapping and map a new sparse mapping overlapping the range 53 * - unmap a sparse mapping and map new memory backed mappings overlapping the 59 * mappings are created in the GPU's MMU. If the given memory is swapped out [all …]
|
/linux-6.12.1/Documentation/input/devices/ |
D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 38 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 39 Bit0 => Left Button, 1 is pressed, 0 is not pressed. 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 43 valid values, -8 ~ +7 [all …]
|
/linux-6.12.1/Documentation/mm/ |
D | arch_pgtable_helpers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 +---------------------------+--------------------------------------------------+ 20 +---------------------------+--------------------------------------------------+ 22 +---------------------------+--------------------------------------------------+ 24 +---------------------------+--------------------------------------------------+ 26 +---------------------------+--------------------------------------------------+ 28 +---------------------------+--------------------------------------------------+ 30 +---------------------------+--------------------------------------------------+ 32 +---------------------------+--------------------------------------------------+ 34 +---------------------------+--------------------------------------------------+ [all …]
|
/linux-6.12.1/arch/s390/appldata/ |
D | appldata_mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ 37 same. If not, the record has been updated on 43 u64 pswpin; /* pages swapped in */ 44 u64 pswpout; /* pages swapped out */ 58 // New in 2.6 --> 62 // <-- New in 2.6 83 mem_data->sync_count_1++; in appldata_get_mem_data() 86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data() [all …]
|
/linux-6.12.1/net/bluetooth/ |
D | lib.c | 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 12 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 34 * baswap() - Swaps the order of a bd address 35 * @dst: Pointer to a bdaddr_t struct that will store the swapped 37 * @src: Pointer to the bdaddr_t struct to be swapped. 49 d[i] = s[5 - i]; in baswap() 54 * bt_to_errno() - Bluetooth error codes to standard errno 64 * If the given bt error code is not known, ENOSYS is returned. 160 * bt_status() - Standard errno value to Bluetooth error code [all …]
|
/linux-6.12.1/drivers/cpuidle/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 CPU idle is a generic framework for supporting software-controlled 11 idle processor power management. It includes modular cross-platform 12 governors that can be swapped during runtime. 14 If you're using an ACPI-enabled platform, you should say Y here. 31 focused on timer events and does not do any interactivity boosting. 34 to use. Say Y here if you are not happy with the alternatives. 69 menu "RISC-V CPU Idle Drivers"
|
/linux-6.12.1/drivers/mtd/parsers/ |
D | redboot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Parse RedBoot-style Flash Image System (FIS) tables and 7 * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org> 26 unsigned char _pad[256 - (16 + 7 * sizeof(u32))]; 60 ret = of_property_read_u32(npart, "fis-index-block", &dirblock); in parse_redboot_of() 95 offset = master->size + directory * master->erasesize; in parse_redboot_partitions() 99 pr_notice("Failed to find a non-bad block to check for RedBoot partition table\n"); in parse_redboot_partitions() 100 return -EIO; in parse_redboot_partitions() 102 offset -= master->erasesize; in parse_redboot_partitions() 105 offset = (unsigned long) directory * master->erasesize; in parse_redboot_partitions() [all …]
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | pgtable-bits.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 * _PAGE_PROT_NONE is set on not-present pages (and ignored by the hardware) to 27 * distinguish them from swapped out pages
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_shrinker.c | 2 * SPDX-License-Identifier: MIT 4 * Copyright © 2008-2015 Intel Corporation 13 #include <linux/dma-buf.h> 37 return swap_available() || obj->mm.madv == I915_MADV_DONTNEED; in can_release_pages() 61 if (obj->ops->shrink) { in try_to_writeback() 70 return obj->ops->shrink(obj, shrink_flags); in try_to_writeback() 77 * i915_gem_shrink - Shrink buffer object caches 89 * Note that it's not guaranteed that released amount is actually available as 90 * free system memory - the pages might still be in-used to due to other reasons 95 * Also note that any kind of pinning (both per-vma address space pins and [all …]
|
/linux-6.12.1/arch/sh/include/cpu-sh2/cpu/ |
D | watchdog.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * include/asm-sh/cpu-sh2/watchdog.h 11 * More SH-2 brilliance .. its not good enough that we can't read 35 * sh_wdt_read_rstcsr - Read from Reset Control/Status Register 42 * Same read/write brain-damage as for WTCNT here.. in sh_wdt_read_rstcsr() 48 * sh_wdt_write_csr - Write to Reset Control/Status Register 58 * Note: Due to the brain-damaged nature of this register, in sh_wdt_write_rstcsr() 60 * has to be swapped for this. So just leave it alone.. in sh_wdt_write_rstcsr()
|
/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | imagis,ist3038c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Markuss Broks <markuss.broks@gmail.com> 14 pattern: "^touchscreen@[0-9a-f]+$" 18 - imagis,ist3032c 19 - imagis,ist3038 20 - imagis,ist3038b 21 - imagis,ist3038c 29 vdd-supply: [all …]
|
/linux-6.12.1/Documentation/virt/kvm/s390/ |
D | s390-pv-dump.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 27 ------------ 45 in the dump data. For the same reason it is very important to not only 52 time of the export does not matter as no re-encryption is 53 needed. Memory that has been swapped out and hence was exported can be
|