Home
last modified time | relevance | path

Searched +full:not +full:- +full:swapped (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/linux/Documentation/admin-guide/mm/
H A Dpagemap.rst12 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 …]
H A Dconcepts.rst7 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/sound/firewire/dice/
H A Ddice-interface.h1 /* 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/Documentation/gpu/
H A Ddrm-compute.rst5 Long running workloads (compute) are workloads that will not complete in 10
10 Some hardware may schedule compute jobs, and have no way to pre-empt them, or
11 have their memory swapped out from them. Or they simply want their workload
12 not to be preempted or swapped out at all.
14 This means that it differs from what is described in driver-api/dma-buf.rst.
16 As with normal compute jobs, dma-fence may not be used at all. In this case,
17 not even to force preemption. The driver with is simply forced to unmap a BO
18 from the long compute job's address space on unbind immediately, not even
32 not to evict when creating a new job (any kind). If all of userspace opts in
36 If job preemption and recoverable pagefaults are not available, those are the
[all …]
/linux/drivers/platform/x86/
H A Dtouchscreen_dmi.c1 // 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/arch/mips/cavium-octeon/
H A Docteon-platform.c6 * 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/mm/
H A Dshmem.c6 * 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:
62 #include <linux/backing-dev.h>
103 * inode->i_private (with i_rwsem making sure that it has only one user at
104 * a time): we would prefer not to enlarge the shmem inode just for that.
157 return min3(nr_pages - totalhigh_pages(), nr_pages / 2, in shmem_default_max_inodes()
168 return sb->s_fs_info; in SHMEM_SB()
[all …]
H A Dmincore.c1 // 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/Documentation/userspace-api/media/v4l/
H A Duserp.rst1 .. 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/include/uapi/linux/
H A Dvirtio_balloon.h18 * 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/drivers/gpu/drm/nouveau/
H A Dnouveau_exec.c1 // 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/Documentation/mm/
H A Darch_pgtable_helpers.rst1 .. SPDX-License-Identifier: GPL-2.0
18 +---------------------------+--------------------------------------------------+
20 +---------------------------+--------------------------------------------------+
22 +---------------------------+--------------------------------------------------+
24 +---------------------------+--------------------------------------------------+
26 +---------------------------+--------------------------------------------------+
28 +---------------------------+--------------------------------------------------+
30 +---------------------------+--------------------------------------------------+
32 +---------------------------+--------------------------------------------------+
34 +---------------------------+--------------------------------------------------+
[all …]
/linux/Documentation/input/devices/
H A Dsentelic.rst8 :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/arch/s390/appldata/
H A Dappldata_mem.c1 // 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/net/bluetooth/
H A Dlib.c2 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/drivers/mtd/parsers/
H A Dredboot.c1 // 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/drivers/cpuidle/
H A DKconfig1 # 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/arch/riscv/include/asm/
H A Dpgtable-bits.h1 /* 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/arch/sh/include/cpu-sh2/cpu/
H A Dwatchdog.h1 /* 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/fs/btrfs/
H A Dqgroup.h1 /* SPDX-License-Identifier: GPL-2.0 */
38 * - Newly allocated extents
39 * - Extents going to be deleted (in this trans)
40 * - Extents whose owner is going to be modified
71 * 1) Record the subtree root block get swapped.
83 * In this case, NA and OA are going to be swapped, record (NA, OA) into
110 * modification to the swapped subtrees, no need to trigger heavy qgroup
133 * fs_info->sectorsize_bits.
176 * Space reserved for metadata (per-transaction)
202 * *currently* meta is just reserve-and-clear during transaction.
[all …]
/linux/Documentation/arch/sparc/
H A Dadi.rst34 SPARC M7 processor, MMU uses bits 63-60 for version tags and ADI block
37 virtual addresses that contain 0xa in bits 63-60.
58 - Version tag values of 0x0 and 0xf are reserved. These values match any
61 - Version tags are set on virtual addresses from userspace even though
66 - When a task frees a memory page it had set version tags on, the page
67 goes back to free page pool. When this page is re-allocated to a task,
73 - ADI tag mismatches are not detected for non-faulting loads.
75 - Kernel does not set any tags for user pages and it is entirely a
77 version tags are preserved if a page is swapped out to the disk and
78 swapped back in. It also preserves that version tags if a page is
[all …]
/linux/Documentation/virt/kvm/s390/
H A Ds390-pv-dump.rst1 .. 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
/linux/drivers/gpu/drm/kmb/
H A Dkmb_plane.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2018-2020 Intel Corporation
27 /* Conversion (yuv->rgb) matrix from myriadx */
30 1024, -352, -731,
32 -179, 125, -226
72 int plane_id = kmb_plane->id; in check_pixel_format()
75 kmb = to_kmb(plane->dev); in check_pixel_format()
76 init_disp_cfg = kmb->init_disp_cfg[plane_id]; in check_pixel_format()
78 * plane configuration is not supported. in check_pixel_format()
81 drm_dbg(&kmb->drm, "Cannot change format after initial plane configuration"); in check_pixel_format()
[all …]
/linux/Documentation/trace/
H A Dring-buffer-design.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-only
19 ---------------------------------
22 - where new writes happen in the ring buffer.
25 - where new reads happen in the ring buffer.
28 - the task that writes into the ring buffer (same as writer)
31 - same as producer
34 - the task that reads from the buffer (same as reader)
37 - same as consumer.
40 - A page outside the ring buffer used solely (for the most part)
44 - a pointer to the page that the reader will use next
[all …]
/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v2.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2016-2020 HabanaLabs, Ltd.
15 * hl_mmu_v2_ctx_init() - initialize a context for using the MMU module.
20 * Return: 0 on success, non-zero otherwise.
24 hash_init(ctx->mmu_shadow_hash); in hl_mmu_v2_ctx_init()
30 * hl_mmu_v2_ctx_fini - disable a ctx from using the mmu module
35 * - Free any pgts which were not freed yet
36 * - Free the mutex
37 * - Free DRAM default page mapping hops
41 struct hl_device *hdev = ctx->hdev; in hl_mmu_v2_ctx_fini()
[all …]

12345678910>>...15