/linux/drivers/iommu/iommufd/ |
H A D | iova_bitmap.c | 16 * Main data structure for tracking mapped user pages of bitmap data. 38 /* mapped length */ 93 * which u64 word of the bitmap is mapped, up to @mapped_total_index. 97 * The IOVA bitmap is usually located on what tracks DMA mapped ranges or 102 /* IOVA range representing the currently mapped bitmap data */ 103 struct iova_bitmap_map mapped; member 108 /* u64 index that @mapped points to */ 125 * Relative IOVA means relative to the bitmap::mapped base IOVA 126 * (stored in mapped::iova). All computations in this file are done using 127 * relative IOVAs and thus avoid an extra subtraction against mapped::iova. [all …]
|
/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 …]
|
/linux/tools/testing/selftests/mm/ |
H A D | map_fixed_noreplace.c | 86 * +1 | mapped | new in main() 87 * +2 | mapped | new in main() 88 * +3 | mapped | new in main() 105 * +1 | mapped | in main() 106 * +2 | mapped | new in main() 107 * +3 | mapped | in main() 123 * +1 | mapped | in main() 124 * +2 | mapped | in main() 125 * +3 | mapped | new in main() 141 * +1 | mapped | ne in main() [all...] |
/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 */
|
/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 …]
|
/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
|
/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()
|
/linux/drivers/md/ |
H A D | dm-zone.c | 147 * Revalidate the zones of a mapped device to initialize resource necessary 149 * blk_revalidate_disk_zones() function here as the mapped device is suspended 222 * Count the total number of and the number of mapped sequential zones of a 276 * number of mapped sequential zones: if this number is smaller than the in device_get_zone_resource_limits() 319 * Also count the total number of sequential zones for the mapped in device_get_zone_resource_limits() 321 * able to check if the mapped device actually has any sequential zones. in device_get_zone_resource_limits() 340 * mapped device queue as needing zone append emulation. in dm_set_zones_restrictions() 351 * Determine the max open and max active zone limits for the mapped in dm_set_zones_restrictions() 352 * device by inspecting the zone resource limits and the zones mapped in dm_set_zones_restrictions() 362 * sequential write required zones mapped. in dm_set_zones_restrictions() [all …]
|
/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 cause 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.
|
/linux/arch/riscv/include/uapi/asm/ |
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 …]
|
/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 …]
|
/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()
|
/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 …]
|
/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
|
/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 */
|
/linux/mm/ |
H A D | page_vma_mapped.c | 52 * page is not CPU accessible and thus is mapped as in map_pte() 77 * mapped at the @pvmw->pte 82 * mapped. check_pte() has to validate this. 150 * page_vma_mapped_walk - check if @pvmw->pfn is mapped in @pvmw->vma at 155 * Returns true if the page is mapped in the vma. @pvmw->pmd and @pvmw->pte point 157 * adjusted if needed (for PTE-mapped THPs). 159 * If @pvmw->pmd is set but @pvmw->pte is not, you have found PMD-mapped page 160 * (usually THP). For PTE-mapped THP, you should run page_vma_mapped_walk() in 164 * regardless of which page table level the page is mapped at. @pvmw->pmd is 319 * page_mapped_in_vma - check whether a page is really mapped i [all...] |
/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. 121 Contiguous pages which construct THP of any size and mapped by any granularity. 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. [all …]
|
/linux/fs/ |
H A D | mnt_idmapping.c | 27 * mapping. This means that {g,u}id 0 is mapped to {g,u}id 0, {g,u}id 1 is 28 * mapped to {g,u}id 1, [...], {g,u}id 1000 to {g,u}id 1000, [...]. 37 * This means that all {g,u}ids are mapped to INVALID_VFS{G,U}ID. 62 * @kuid : kuid to be mapped 74 * Return: @kuid mapped according to @idmap. 103 * @kgid : kgid to be mapped 115 * Return: @kgid mapped according to @idmap. 142 * @vfsuid : vfsuid to be mapped 147 * Return: @vfsuid mapped into the filesystem idmapping 171 * @vfsgid : vfsgid to be mapped [all …]
|
/linux/tools/mm/ |
H A D | thpmaps | 233 # dictionary of statistics describing the mapped THPs. 254 # Account pages for any partially mapped THP at the front. In that case, 259 # Account pages for any partially mapped THP at the back. In that case, 269 # Account fully mapped THPs in the middle of the range. 282 # Account PMD-mapped THPs spearately, so filter out of the stats. There is a 342 # Account blocks that are PMD-mapped spearately, so filter out of the stats. 528 pages are mapped, either system-wide, or for a specified 553 contiguously-mapped THPs whose mapping address is aligned to 555 Separate counters describe THPs mapped by PTE vs those 556 mapped by PMD. (Although note a THP can only be mapped by [all …]
|
/linux/tools/perf/pmu-events/arch/x86/goldmontplus/ |
H A D | virtual-memory.json | 7 …prefetches) whose address translations missed in all TLB levels and were mapped to 1GB pages. The… 16 …prefetches) whose address translations missed in all TLB levels and were mapped to 2M or 4M pages.… 25 …prefetches) whose address translations missed in all TLB levels and were mapped to 4K pages. The … 43 …demand data stores whose address translations missed in the TLB and were mapped to 1GB pages. The… 52 …demand data stores whose address translations missed in the TLB and were mapped to 2M or 4M pages.… 61 …demand data stores whose address translations missed in the TLB and were mapped to 4K pages. The … 97 …nstruction fetches whose address translations missed in the TLB and were mapped to 1GB pages. The… 106 …nstruction fetches whose address translations missed in the TLB and were mapped to 2M or 4M pages.… 115 …nstruction fetches whose address translations missed in the TLB and were mapped to 4K pages. The …
|
/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | virtual-memory.json | 23 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. … 32 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1GB pages. Incl… 41 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.… 50 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages. Inclu… 84 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. … 93 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1G pages. Incl… 102 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.… 111 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages. Incl… 199 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. … 208 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1G pages. Incl… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/elkhartlake/ |
H A D | virtual-memory.json | 23 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. … 32 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1GB pages. Incl… 41 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.… 50 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages. Inclu… 84 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. … 93 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1G pages. Incl… 102 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.… 111 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages. Incl… 199 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. … 208 …lations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1G pages. Incl… [all …]
|
/linux/drivers/gpu/host1x/ |
H A D | cdma.c | 53 if (!pb->mapped) in host1x_pushbuffer_destroy() 61 dma_free_wc(host1x->dev, pb->alloc_size, pb->mapped, pb->phys); in host1x_pushbuffer_destroy() 63 pb->mapped = NULL; in host1x_pushbuffer_destroy() 78 pb->mapped = NULL; in host1x_pushbuffer_init() 93 pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys, in host1x_pushbuffer_init() 95 if (!pb->mapped) in host1x_pushbuffer_init() 112 pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys, in host1x_pushbuffer_init() 114 if (!pb->mapped) in host1x_pushbuffer_init() 129 dma_free_wc(host1x->dev, size, pb->mapped, pb->phys); in host1x_pushbuffer_init() 140 u32 *p = (u32 *)((void *)pb->mapped + pb->pos); in host1x_pushbuffer_push() [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | dmx-munmap.rst | 31 Address of the mapped buffer as returned by the 35 Length of the mapped buffer. This must be the same value as given to 41 Unmaps a previously with the :c:func:`mmap()` function mapped 52 mapped yet.
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | func-munmap.rst | 29 Address of the mapped buffer as returned by the 33 Length of the mapped buffer. This must be the same value as given to 43 Unmaps a previously with the :c:func:`mmap()` function mapped 54 mapped yet.
|