/openbmc/linux/drivers/vfio/ |
H A D | iova_bitmap.c | 16 * Main data structure for tracking mapped user pages of bitmap data. 90 * which u64 word of the bitmap is mapped, up to @mapped_total_index. 94 * The IOVA bitmap is usually located on what tracks DMA mapped ranges or 99 /* IOVA range representing the currently mapped bitmap data */ 100 struct iova_bitmap_map mapped; member 105 /* u64 index that @mapped points to */ 122 * Relative IOVA means relative to the bitmap::mapped base IOVA 123 * (stored in mapped::iova). All computations in this file are done using 124 * relative IOVAs and thus avoid an extra subtraction against mapped::iova. 130 unsigned long pgsize = 1UL << bitmap->mapped.pgshift; in iova_bitmap_offset_to_index() [all …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | ioremap.c | 8 * This is needed for high PCI addresses that aren't mapped in the 31 * On 32-bit SH, we traditionally have the whole physical address space mapped 46 * mapped. Uncached access for P1 addresses are done through P2. in __ioremap_29bit() 65 /* P4 above the store queues are always mapped. */ in __ioremap_29bit() 78 void __iomem *mapped; in ioremap_prot() local 81 mapped = __ioremap_trapped(phys_addr, size); in ioremap_prot() 82 if (mapped) in ioremap_prot() 83 return mapped; in ioremap_prot() 85 mapped = __ioremap_29bit(phys_addr, size, pgprot); in ioremap_prot() 86 if (mapped) in ioremap_prot() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | map_fixed_noreplace.c | 98 * +1 | mapped | new in main() 99 * +2 | mapped | new in main() 100 * +3 | mapped | new in main() 119 * +1 | mapped | in main() 120 * +2 | mapped | new in main() 121 * +3 | mapped | in main() 139 * +1 | mapped | in main() 140 * +2 | mapped | in main() 141 * +3 | mapped | new in main() 159 * +1 | mapped | new in main() [all …]
|
/openbmc/qemu/docs/devel/migration/ |
H A D | mapped-ram.rst | 1 Mapped-ram 4 Mapped-ram is a new stream format for the RAM section designed to 9 The core of the feature is to ensure that RAM pages are mapped 25 ``mapped-ram`` capabilities: 29 ``migrate_set_capability mapped-ram on`` 35 Mapped-ram migration is best done non-live, i.e. by stopping the VM on 45 The mapped-ram feature was designed for use cases where the migration 54 that's the ideal scenario for mapped-ram migration. Not having to 66 the snapshot operation, then mapped-ram migration can still be used, 69 mapped-ram in this scenario is portability since background-snapshot [all …]
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | Kconfig | 71 Embedded SRAM (eSRAM) memory-mapped base address. 81 Root Complex register block memory-mapped base address. 87 ACPI Power Management 1 (PM1) i/o-mapped base address. 94 ACPI Processor Block (PBLK) i/o-mapped base address. 101 SPI DMA i/o-mapped base address. 107 GPIO i/o-mapped base address. 113 ACPI General Purpose Event 0 (GPE0) i/o-mapped base address. 120 Watchdog timer i/o-mapped base address.
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | lpc_nuvoton.cpp | 56 mapped = reinterpret_cast<uint8_t*>(sys->mmap( in open() 58 if (mapped == MAP_FAILED) in open() 62 mapped = nullptr; in open() 69 output.mapped = mapped; in open() 76 if (mapped) in close() 78 sys->munmap(mapped, memoryRegionSize); in close() 79 mapped = nullptr; in close() 91 * SuperIO. On BMC side the max memory can be mapped is 4kB with the caveat that 98 * - WindowSize = 0 means that the region cannot be mapped otherwise 105 /* We reserve the first 4 bytes from the mapped region; the first byte in mapWindow()
|
H A D | pci_nuvoton_handler.cpp | 41 mapped = reinterpret_cast<uint8_t*>(sys->mmap( in open() 43 if (mapped == MAP_FAILED) in open() 47 mapped = nullptr; in open() 60 if (mapped) in close() 62 sys->munmap(mapped, memoryRegionSize); in close() 63 mapped = nullptr; in close() 78 std::memcpy(results.data(), mapped, length); in copyFrom()
|
H A D | pci_handler.cpp | 69 mapped = reinterpret_cast<std::uint8_t*>( in open() 71 if (mapped == MAP_FAILED) in open() 75 mapped = nullptr; in open() 87 if (mapped) in close() 89 sys->munmap(mapped, memoryRegionSize); in close() 90 mapped = nullptr; in close() 105 std::memcpy(results.data(), mapped, length); in copyFrom()
|
/openbmc/linux/include/linux/dma/ |
H A D | k3-psil.h | 53 * @mapped_channel_id: PKTDMA thread to channel mapping for mapped channels. 56 * @flow_start: PKDMA flow range start of mapped channel. Unmapped 58 * @flow_num: PKDMA flow count of mapped channel. Unmapped channels 60 * @default_flow_id: PKDMA default (r)flow index of mapped channel. 61 * Must be within the flow range of the mapped channel. 75 /* PKDMA mapped channel */ 77 /* PKTDMA tflow and rflow ranges for mapped channel */
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | xylon,logicvc-gpio.yaml | 19 which are mapped by the driver as follows: 20 - GPIO[4:0] (display control) mapped to index 0-4 21 - EN_BLIGHT (power control) mapped to index 5 22 - EN_VDD (power control) mapped to index 6 23 - EN_VEE (power control) mapped to index 7 24 - V_EN (power control) mapped to index 8
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | Kconfig | 17 ROM driver code to communicate with chips which are mapped 43 are mapped on your particular target board. Refer to the 74 and RAM driver code to communicate with chips which are mapped 140 tristate "CFI Flash device mapped on AMD SC520 CDP" 148 tristate "CFI Flash device mapped on AMD NetSc520" 156 tristate "JEDEC Flash device mapped on Technologic Systems TS-5500" 174 tristate "CFI Flash device mapped on Arcom SBC-GXx boards" 185 tristate "CFI Flash device mapped on Intel XScale PXA2xx based boards" 191 tristate "Flash device mapped with DOCCS on NatSemi SCx200" 194 Enable support for a flash chip mapped using the DOCCS signal on a [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_vma.c | 47 /* Don't do anything if the memory isn't mapped */ in msm_gem_vma_purge() 48 if (!vma->mapped) in msm_gem_vma_purge() 53 vma->mapped = false; in msm_gem_vma_purge() 67 if (vma->mapped) in msm_gem_vma_map() 70 vma->mapped = true; in msm_gem_vma_map() 87 vma->mapped = false; in msm_gem_vma_map() 98 GEM_WARN_ON(vma->mapped); in msm_gem_vma_close() 146 vma->mapped = false; in msm_gem_vma_init()
|
/openbmc/linux/Documentation/mm/ |
H A D | vmalloced-kernel-stacks.rst | 4 Virtually Mapped Kernel Stack Support 15 series that introduced the `Virtually Mapped Kernel Stacks feature 25 Virtually-mapped kernel stacks with guard pages causes kernel stack 30 support for virtually mapped stacks with guard pages. This feature 42 Architectures that can support Virtually Mapped Kernel Stacks should 61 mapped task stacks. This option depends on HAVE_ARCH_VMAP_STACK. 63 - Enable this if you want the use virtually-mapped kernel stacks 88 pages are mapped into contiguous kernel virtual space with PAGE_KERNEL 114 virtually mapped kernel stacks are enabled.
|
/openbmc/qemu/qobject/ |
H A D | qdict.c | 188 * qdict_get_double(): Get an number mapped by 'key' 192 * Return number mapped by 'key'. 200 * qdict_get_int(): Get an integer mapped by 'key' 205 * Return integer mapped by 'key'. 213 * qdict_get_bool(): Get a bool mapped by 'key' 218 * Return bool mapped by 'key'. 242 * qdict_get_str(): Get a pointer to the stored string mapped 248 * Return pointer to the string mapped by 'key'. 256 * qdict_get_try_int(): Try to get integer mapped by 'key' 258 * Return integer mapped by 'key', if it is not present in the [all …]
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | kvm.h | 219 /* Config registers are mapped as type 1 */ 224 /* Core registers are mapped as type 2 */ 229 /* Control and status registers are mapped as type 3 */ 241 /* Timer registers are mapped as type 4 */ 246 /* F extension registers are mapped as type 5 */ 251 /* D extension registers are mapped as type 6 */ 256 /* ISA Extension registers are mapped as type 7 */ 268 /* SBI extension registers are mapped as type 8 */ 280 /* V extension registers are mapped as type 9 */ 287 /* Registers for specific SBI extensions are mapped as type 10 */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | st,stih4xx.txt | 6 - reg: Physical base address of the IP registers and length of memory mapped region. 14 - reg: Physical base address of the IP registers and length of memory mapped region. 32 - reg: Physical base address of the IP registers and length of memory mapped region. 48 - reg: Physical base address of the IP registers and length of memory mapped region. 49 - reg-names: names of the mapped memory regions listed in regs property in 60 - reg: Physical base address of the IP registers and length of memory mapped region. 61 - reg-names: names of the mapped memory regions listed in regs property in 76 - reg: Physical base address of the IP registers and length of memory mapped region. 77 - reg-names: names of the mapped memory regions listed in regs property in 89 - reg: Physical base address of the IP registers and length of memory mapped region. [all …]
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 167 /* Config registers are mapped as type 1 */ 172 /* Core registers are mapped as type 2 */ 177 /* Control and status registers are mapped as type 3 */ 186 /* Timer registers are mapped as type 4 */ 191 /* F extension registers are mapped as type 5 */ 196 /* D extension registers are mapped as type 6 */ 201 /* ISA Extension registers are mapped as type 7 */ 213 /* SBI extension registers are mapped as type 8 */ 225 /* V extension registers are mapped as type 9 */ 278 * The device attribute type contains the memory mapped offset of the
|
/openbmc/linux/arch/x86/um/os-Linux/ |
H A D | task_size.c | 21 void *mapped = NULL; in page_ok() local 35 mapped = mmap(address, UM_KERN_PAGE_SIZE, in page_ok() 38 if (mapped == MAP_FAILED) in page_ok() 40 if (mapped != address) in page_ok() 63 if (mapped != NULL) in page_ok() 64 munmap(mapped, UM_KERN_PAGE_SIZE); in page_ok() 74 * 0xffffe000. It is mapped, is readable, can be reprotected writeable in os_get_top_address()
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | pagemap.rst | 12 physical frame each virtual page is mapped to. It contains one 64-bit 21 * Bit 56 page exclusively mapped (since 4.2) 37 precisely which pages are mapped (or in swap) and comparing mapped 41 determine which areas of memory are actually mapped and llseek to 45 times each page is mapped, indexed by PFN. 48 number of times a page is mapped. 165 A memory mapped page. 167 A memory mapped page that is not part of a file. 169 The page is mapped to swap space, i.e. has an associated swap entry. 183 mapped to what.
|
/openbmc/linux/fs/ |
H A D | mnt_idmapping.c | 19 * mapping. This means that {g,u}id 0 is mapped to {g,u}id 0, {g,u}id 1 is 20 * mapped to {g,u}id 1, [...], {g,u}id 1000 to {g,u}id 1000, [...]. 79 * @kuid : kuid to be mapped 91 * Return: @kuid mapped according to @idmap. 119 * @kgid : kgid to be mapped 131 * Return: @kgid mapped according to @idmap. 157 * @vfsuid : vfsuid to be mapped 162 * Return: @vfsuid mapped into the filesystem idmapping 185 * @vfsgid : vfsgid to be mapped 190 * Return: @vfsgid mapped into the filesystem idmapping
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/goldmontplus/ |
H A D | virtual-memory.json | 6 …prefetches) whose address translations missed in all TLB levels and were mapped to 1GB pages. The… 14 …prefetches) whose address translations missed in all TLB levels and were mapped to 2M or 4M pages.… 22 …prefetches) whose address translations missed in all TLB levels and were mapped to 4K pages. The … 38 …demand data stores whose address translations missed in the TLB and were mapped to 1GB pages. The… 46 …demand data stores whose address translations missed in the TLB and were mapped to 2M or 4M pages.… 54 …demand data stores whose address translations missed in the TLB and were mapped to 4K pages. The … 86 …nstruction fetches whose address translations missed in the TLB and were mapped to 1GB pages. The… 94 …nstruction fetches whose address translations missed in the TLB and were mapped to 2M or 4M pages.… 102 …nstruction fetches whose address translations missed in the TLB and were mapped to 4K pages. The …
|
/openbmc/qemu/hw/mem/ |
H A D | sparse-mem.c | 33 GHashTable *mapped; member 48 block = g_hash_table_lookup(s->mapped, (void *)pfn); in sparse_mem_read() 64 if (!g_hash_table_lookup(s->mapped, (void *)pfn) && in sparse_mem_write() 66 g_hash_table_insert(s->mapped, (void *)pfn, in sparse_mem_write() 70 block = g_hash_table_lookup(s->mapped, (void *)pfn); in sparse_mem_write() 84 g_hash_table_remove_all(s->mapped); in sparse_mem_enter_reset() 134 s->mapped = g_hash_table_new_full(NULL, NULL, NULL, in sparse_mem_realize()
|
/openbmc/linux/include/xen/interface/ |
H A D | features.h | 87 * A direct-mapped (or 1:1 mapped) domain is a domain for which its 88 * local pages have gfn == mfn. If a domain is direct-mapped, 93 * - not auto_translated domains (x86 only) are always direct-mapped 94 * - on x86, auto_translated domains are not direct-mapped 95 * - on ARM, Dom0 is direct-mapped, DomUs are not
|
/openbmc/linux/include/linux/ |
H A D | elf-fdpic.h | 32 unsigned long elfhdr_addr; /* mapped ELF header user address */ 33 unsigned long ph_addr; /* mapped PT_PHDR user address */ 34 unsigned long map_addr; /* mapped loadmap user address */ 35 unsigned long entry_addr; /* mapped entry user address */ 37 unsigned long dynamic_addr; /* mapped PT_DYNAMIC user address */
|
/openbmc/linux/Documentation/arch/loongarch/ |
H A D | introduction.rst | 293 LoongArch supports direct-mapped virtual memory and page-mapped virtual memory. 295 Direct-mapped virtual memory is configured by CSR.DMWn (n=0~3), it has a simple 300 Page-mapped virtual memory has arbitrary relationship between VA and PA, which 309 ``UVRANGE`` ``0x00000000 - 0x7FFFFFFF`` Page-mapped, Cached, PLV0~3 310 ``KPRANGE0`` ``0x80000000 - 0x9FFFFFFF`` Direct-mapped, Uncached, PLV0 311 ``KPRANGE1`` ``0xA0000000 - 0xBFFFFFFF`` Direct-mapped, Cached, PLV0 312 ``KVRANGE`` ``0xC0000000 - 0xFFFFFFFF`` Page-mapped, Cached, PLV0 315 User mode (PLV3) can only access UVRANGE. For direct-mapped KPRANGE0 and 317 direct-mapped VA of 0x00001000 is 0x80001000, and the cached direct-mapped 325 ``XUVRANGE`` ``0x0000000000000000 - Page-mapped, Cached, PLV0~3 [all …]
|