Home
last modified time | relevance | path

Searched +full:memory +full:- +full:region (Results 1 – 25 of 1103) sorted by relevance

12345678910>>...45

/OK3568_Linux_fs/kernel/drivers/fpga/
H A Ddfl-afu-dma-region.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for FPGA Accelerated Function Unit (AFU) DMA Region Management
5 * Copyright (C) 2017-2018 Intel Corporation, Inc.
12 #include <linux/dma-mapping.h>
17 #include "dfl-afu.h"
23 afu->dma_regions = RB_ROOT; in afu_dma_region_init()
27 * afu_dma_pin_pages - pin pages of given dma memory region
29 * @region: dma memory region to be pinned
35 struct dfl_afu_dma_region *region) in afu_dma_pin_pages() argument
37 int npages = region->length >> PAGE_SHIFT; in afu_dma_pin_pages()
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dlmb.c2 * Procedures for maintaining information about logical memory blocks.
7 * SPDX-License-Identifier: GPL-2.0+
21 debug(" memory.cnt = 0x%lx\n", lmb->memory.cnt); in lmb_dump_all()
22 debug(" memory.size = 0x%llx\n", in lmb_dump_all()
23 (unsigned long long)lmb->memory.size); in lmb_dump_all()
24 for (i=0; i < lmb->memory.cnt ;i++) { in lmb_dump_all()
25 debug(" memory.reg[0x%lx].base = 0x%llx\n", i, in lmb_dump_all()
26 (long long unsigned)lmb->memory.region[i].base); in lmb_dump_all()
28 (long long unsigned)lmb->memory.region[i].size); in lmb_dump_all()
32 lmb->reserved.cnt); in lmb_dump_all()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_linux.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2010, 2012-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
23 * DOC: Base kernel memory APIs, Linux implementation.
37 * kbase_mem_alloc - Create a new allocation for GPU
43 * grows the region.
46 * @gpu_va: Start address of the memory region which was allocated from GPU
58 * kbase_mem_query - Query properties of a GPU memory region
61 * @gpu_addr: A GPU address contained within the memory region
63 * regarding the amount of backing physical memory allocated so far
[all …]
H A Dmali_kbase_mem.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2010-2023 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
23 * DOC: Base kernel memory APIs
49 /* Part of the workaround for PRLAM-9630 requires us to grow/shrink memory by
50 * 8 pages. The MMU reads in 8 page table entries from memory at a time, if we
52 * updated accordingly, the MMU does not re-read the page table entries from
53 * memory for the subsequent page table updates and generates duplicate page
72 struct kbase_va_region *region; member
89 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/reserved-memory/
H A Dreserved-memory.txt1 *** Reserved memory regions ***
3 Reserved memory is specified as a node under the /reserved-memory node.
4 The operating system shall exclude reserved memory from normal usage
6 normal use) memory regions. Such memory regions are usually designed for
9 Parameters for each memory region can be encoded into the device tree
12 /reserved-memory node
13 ---------------------
14 #address-cells, #size-cells (required) - standard definition
15 - Should use the same values as the root node
16 ranges (required) - standard definition
[all …]
/OK3568_Linux_fs/kernel/arch/um/kernel/
H A Dphysmem.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
12 #include <as-layout.h>
18 static int physmem_fd = -1;
50 if (err == -ENOMEM) in map_memory()
53 "memory size>/4096\n"); in map_memory()
60 * setup_physmem() - Setup physical memory for UML
61 * @start: Start address of the physical kernel memory,
63 * @reserve_end: end address of the physical kernel memory.
64 * @len: Length of total physical memory that should be mapped/made
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dmemblock.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Procedures for maintaining information about logical memory blocks.
35 * Memblock is a method of managing memory regions during the early
36 * boot period when the usual kernel memory allocators are not up and
39 * Memblock views the system memory as collections of contiguous
42 * * ``memory`` - describes the physical memory available to the
43 * kernel; this may differ from the actual physical memory installed
44 * in the system, for instance when the memory is restricted with
46 * * ``reserved`` - describes the regions that were allocated
47 * * ``physmem`` - describes the actual physical memory available during
[all …]
H A Dnommu.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * have any form of memory management unit (thus no virtual memory).
8 * See Documentation/admin-guide/mm/nommu-mmap.rst
10 * Copyright (c) 2004-2008 David Howells <dhowells@redhat.com>
11 * Copyright (c) 2000-2003 David McCullough <davidm@snapgear.com>
12 * Copyright (c) 2000-2001 D Jeff Dionne <jeff@uClinux.org>
14 * Copyright (c) 2007-2010 Paul Mundt <lethal@linux-sh.org>
31 #include <linux/backing-dev.h>
68 * Return the total memory allocated for this pointer, not
95 * region. This test is intentionally done in reverse order, in kobjsize()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/ld.html/
H A DMEMORY.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
3 <!-- This file documents the GNU linker LD
4 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))
7 Copyright (C) 1991-2021 Free Software Foundation, Inc.
12 with no Invariant Sections, with no Front-Cover Texts, and with no
13 Back-Cover Texts. A copy of the license is included in the
14 section entitled "GNU Free Documentation License". -->
15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
17 <title>LD: MEMORY</title>
19 <meta name="description" content="LD: MEMORY">
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/ld.html/
H A DMEMORY.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
3 <!-- This file documents the GNU linker LD
4 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))
7 Copyright (C) 1991-2021 Free Software Foundation, Inc.
12 with no Invariant Sections, with no Front-Cover Texts, and with no
13 Back-Cover Texts. A copy of the license is included in the
14 section entitled "GNU Free Documentation License". -->
15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
17 <title>LD: MEMORY</title>
19 <meta name="description" content="LD: MEMORY">
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1 // SPDX-License-Identifier: GPL-2.0-only
26 size_t mask = size - 1; in align()
27 TEST_ASSERT(size != 0 && !(size & (size - 1)), in align()
36 * cap - Capability
69 * vm - Virtual Machine
70 * cap - Capability
82 ret = ioctl(vm->fd, KVM_ENABLE_CAP, cap); in vm_enable_cap()
92 * vm - Virtual Machine
93 * vcpu_id - VCPU
94 * cap - Capability
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dnitro_enclaves.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 * NE_CREATE_VM - The command is used to create a slot that is associated with
20 * setting any resources, such as memory and vCPUs, for an
21 * enclave. Memory and vCPUs are set for the slot mapped to an enclave.
25 * Its format is the detailed in the cpu-lists section:
26 * https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
34 * * Enclave file descriptor - Enclave file descriptor used with
35 * ioctl calls to set vCPUs and memory
37 * * -1 - There was a failure in the ioctl logic.
39 * * EFAULT - copy_to_user() failure.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DMemory-Region-Attributes.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc.
9 Free Documentation", with the Front-Cover Texts being "A GNU Manual,"
10 and with the Back-Cover Texts as in (a) below.
12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify
14 developing GNU and promoting software freedom." -->
15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
17 <title>Debugging with GDB: Memory Region Attributes</title>
19 <meta name="description" content="Debugging with GDB: Memory Region Attributes">
20 <meta name="keywords" content="Debugging with GDB: Memory Region Attributes">
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DMemory-Region-Attributes.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc.
9 Free Documentation", with the Front-Cover Texts being "A GNU Manual,"
10 and with the Back-Cover Texts as in (a) below.
12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify
14 developing GNU and promoting software freedom." -->
15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
17 <title>Debugging with GDB: Memory Region Attributes</title>
19 <meta name="description" content="Debugging with GDB: Memory Region Attributes">
20 <meta name="keywords" content="Debugging with GDB: Memory Region Attributes">
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem_linux.h3 * (C) COPYRIGHT 2010, 2012-2017 ARM Limited. All rights reserved.
12 * Boston, MA 02110-1301, USA.
22 * Base kernel memory APIs, Linux implementation.
46 * kbase_mem_commit - Change the physical backing size of a region
49 * @gpu_addr: Handle to the memory region
50 * @new_pages: Number of physical pages to back the region with
59 * kbase_mem_evictable_init - Initialize the Ephemeral memory the eviction
63 * Return: Zero on success or -errno on failure.
68 * kbase_mem_evictable_deinit - De-initialize the Ephemeral memory eviction
70 * @kctx: The kbase context to de-initialize.
[all …]
/OK3568_Linux_fs/kernel/arch/x86/boot/compressed/
H A Dkaslr.c1 // SPDX-License-Identifier: GPL-2.0
8 * handles walking the physical memory maps (and tracking memory regions
9 * to avoid) in order to select a physical memory location that can
45 /* Simplified build-specific string for starting entropy. */
57 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7); in rotate_xor()
86 * Store memory limit: MAXMEM on 64-bit and KERNEL_IMAGE_SIZE on 32-bit.
91 /* Number of immovable memory regions */
100 MEM_AVOID_MEMMAP_END = MEM_AVOID_MEMMAP_BEGIN + MAX_MEMMAP_REGIONS - 1,
109 if (one->start + one->size <= two->start) in mem_overlaps()
112 if (one->start >= two->start + two->size) in mem_overlaps()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dnvs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
5 * Copyright (C) 2008-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
38 struct nvs_region *region; in acpi_nvs_register() local
40 region = kmalloc(sizeof(*region), GFP_KERNEL); in acpi_nvs_register()
41 if (!region) in acpi_nvs_register()
42 return -ENOMEM; in acpi_nvs_register()
43 region->phys_start = start; in acpi_nvs_register()
44 region->size = size; in acpi_nvs_register()
45 list_add_tail(&region->node, &nvs_region_list); in acpi_nvs_register()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dmemblock.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Logical memory blocks.
33 * enum memblock_flags - definition of memory region attributes
35 * @MEMBLOCK_HOTPLUG: hotpluggable region
36 * @MEMBLOCK_MIRROR: mirrored region
41 MEMBLOCK_HOTPLUG = 0x1, /* hotpluggable region */
42 MEMBLOCK_MIRROR = 0x2, /* mirrored region */
47 * struct memblock_region - represents a memory region
48 * @base: base address of the region
49 * @size: size of the region
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dsections.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * _text, _data: architecture specific, don't use them in arch-independent code
50 /* Start and end of .ctors section - used for constructor calls. */
53 /* Start and end of .opd section - used for function descriptors. */
87 * memory can be allocated from it, and such allocations would then have
98 * memory_contains - checks if an object is contained within a memory region
99 * @begin: virtual address of the beginning of the memory region
100 * @end: virtual address of the end of the memory region
101 * @virt: virtual address of the memory object
102 * @size: size of the memory object
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ipa/
H A Dipa_mem.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
13 * DOC: IPA Local Memory
15 * The IPA has a block of shared memory, divided into regions used for
19 * the "ipa-shared" memory range) and size found in the IPA_SHARED_MEM_SIZE
22 * Each region is optionally preceded by one or more 32-bit "canary" values.
23 * These are meant to detect out-of-range writes (if they become corrupted).
24 * A given region (such as a filter or routing table) has the same number
28 * The set of memory regions is defined in configuration data. They are
[all …]
H A Dipa_mem.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
10 #include <linux/dma-mapping.h>
23 /* "Canary" value placed between memory regions to detect overflow */
29 /* Add an immediate command to a transaction that zeroes a memory region */
33 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_mem_zero_region_add()
34 dma_addr_t addr = ipa->zero_addr; in ipa_mem_zero_region_add()
36 if (!mem->size) in ipa_mem_zero_region_add()
39 ipa_cmd_dma_shared_mem_add(trans, mem->offset, mem->size, addr, true); in ipa_mem_zero_region_add()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include/sanitizer/
H A Dasan_interface.h1 //===-- sanitizer/asan_interface.h ------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
21 /// Marks a memory region (<c>[addr, addr+size)</c>) as unaddressable.
23 /// This memory must be previously allocated by your program. Instrumented
24 /// code is forbidden from accessing addresses in this region until it is
25 /// unpoisoned. This function is not guaranteed to poison the entire region -
29 /// \note This function is not thread-safe because no two threads can poison or
30 /// unpoison memory in the same memory region simultaneously.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include/sanitizer/
H A Dasan_interface.h1 //===-- sanitizer/asan_interface.h ------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
21 /// Marks a memory region (<c>[addr, addr+size)</c>) as unaddressable.
23 /// This memory must be previously allocated by your program. Instrumented
24 /// code is forbidden from accessing addresses in this region until it is
25 /// unpoisoned. This function is not guaranteed to poison the entire region -
29 /// \note This function is not thread-safe because no two threads can poison or
30 /// unpoison memory in the same memory region simultaneously.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/remoteproc/
H A Dti,k3-dsp-rproc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
13 The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems
14 that are used to offload some of the processor-intensive tasks or algorithms,
17 These processor sub-systems usually contain additional sub-modules like
18 L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory
23 Each DSP Core sub-system is represented as a single DT node. Each node has a
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pmem/
H A Dpmem-region.txt1 Device-tree bindings for persistent memory regions
2 -----------------------------------------------------
4 Persistent memory refers to a class of memory devices that are:
6 a) Usable as main system memory (i.e. cacheable), and
9 Given b) it is best to think of persistent memory as a kind of memory mapped
11 persistent regions separately to the normal memory pool. To aid with that this
13 memory regions exist inside the physical address space.
15 Bindings for the region nodes:
16 -----------------------------
19 - compatible = "pmem-region"
[all …]

12345678910>>...45