/Linux-v6.1/drivers/vfio/ |
D | iova_bitmap.c | 99 struct iova_bitmap_map mapped; member 129 unsigned long pgsize = 1 << bitmap->mapped.pgshift; in iova_bitmap_offset_to_index() 140 unsigned long pgshift = bitmap->mapped.pgshift; in iova_bitmap_index_to_offset() 162 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_get() local 190 FOLL_WRITE, mapped->pages); in iova_bitmap_get() 194 mapped->npages = (unsigned long)ret; in iova_bitmap_get() 196 mapped->iova = iova_bitmap_mapped_iova(bitmap); in iova_bitmap_get() 203 mapped->pgoff = offset_in_page(addr); in iova_bitmap_get() 214 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_put() local 216 if (mapped->npages) { in iova_bitmap_put() [all …]
|
/Linux-v6.1/arch/sh/mm/ |
D | ioremap.c | 90 void __iomem *mapped; in __ioremap_caller() local 92 mapped = __ioremap_trapped(phys_addr, size); in __ioremap_caller() 93 if (mapped) in __ioremap_caller() 94 return mapped; in __ioremap_caller() 96 mapped = __ioremap_29bit(phys_addr, size, pgprot); in __ioremap_caller() 97 if (mapped) in __ioremap_caller() 98 return mapped; in __ioremap_caller() 115 mapped = pmb_remap_caller(phys_addr, size, pgprot, caller); in __ioremap_caller() 116 if (mapped && !IS_ERR(mapped)) in __ioremap_caller() 117 return mapped; in __ioremap_caller()
|
/Linux-v6.1/Documentation/mm/ |
D | arch_pgtable_helpers.rst | 23 | pte_bad | Tests a non-table mapped PTE | 25 | pte_present | Tests a valid mapped PTE | 37 | pte_devmap | Tests a ZONE_DEVICE mapped PTE | 57 | pte_mkdevmap | Creates a ZONE_DEVICE mapped PTE | 67 | pte_mknotpresent | Invalidates a mapped PTE | 89 | pmd_bad | Tests a non-table mapped PMD | 91 | pmd_leaf | Tests a leaf mapped PMD | 93 | pmd_huge | Tests a HugeTLB mapped PMD | 97 | pmd_present | Tests a valid mapped PMD | 109 | pmd_devmap | Tests a ZONE_DEVICE mapped PMD | [all …]
|
/Linux-v6.1/arch/x86/um/os-Linux/ |
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()
|
/Linux-v6.1/drivers/gpu/host1x/ |
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-v6.1/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 68 if (!vma->mapped) in msm_gem_purge_vma() 74 vma->mapped = false; in msm_gem_purge_vma() 109 if (vma->mapped) in msm_gem_map_vma() 112 vma->mapped = true; in msm_gem_map_vma() 119 vma->mapped = false; in msm_gem_map_vma() 130 GEM_WARN_ON(msm_gem_vma_inuse(vma) || vma->mapped); in msm_gem_close_vma() 162 vma->mapped = false; in msm_gem_init_vma()
|
/Linux-v6.1/drivers/platform/chrome/ |
D | cros_ec_proto.c | 259 int ret, mapped; in cros_ec_get_host_event_wake_mask() local 272 mapped = cros_ec_map_error(msg->result); in cros_ec_get_host_event_wake_mask() 273 if (mapped) { in cros_ec_get_host_event_wake_mask() 274 ret = mapped; in cros_ec_get_host_event_wake_mask() 295 int ret, mapped; in cros_ec_get_proto_info() local 326 mapped = cros_ec_map_error(msg->result); in cros_ec_get_proto_info() 327 if (mapped) { in cros_ec_get_proto_info() 328 ret = mapped; in cros_ec_get_proto_info() 374 int ret, mapped; in cros_ec_get_proto_info_legacy() local 395 mapped = cros_ec_map_error(msg->result); in cros_ec_get_proto_info_legacy() [all …]
|
/Linux-v6.1/drivers/gpu/host1x/hw/ |
D | debug_hw.c | 206 pb->dma + job->first_get, pb->mapped + job->first_get); in show_channel_gathers() 210 u32 *mapped; in show_channel_gathers() local 218 mapped = (u32 *)job->gather_copy_mapped; in show_channel_gathers() 220 mapped = host1x_bo_mmap(g->bo); in show_channel_gathers() 222 if (!mapped) { in show_channel_gathers() 231 g->base, mapped); in show_channel_gathers() 234 host1x_bo_munmap(g->bo, mapped); in show_channel_gathers()
|
/Linux-v6.1/arch/parisc/kernel/ |
D | patch.c | 61 int mapped; in __patch_text_multiple() local 68 p = fixmap = patch_map(addr, FIX_TEXT_POKE0, &flags, &mapped); in __patch_text_multiple() 83 if (mapped) in __patch_text_multiple() 86 &mapped); in __patch_text_multiple() 92 if (mapped) in __patch_text_multiple()
|
/Linux-v6.1/arch/powerpc/mm/nohash/ |
D | 40x.c | 89 unsigned long v, s, mapped; in mmu_mapin_ram() local 132 mapped = total_lowmem - s; in mmu_mapin_ram() 141 memblock_set_current_limit(mapped); in mmu_mapin_ram() 143 return mapped; in mmu_mapin_ram()
|
/Linux-v6.1/drivers/gpu/drm/sti/ |
D | NOTES | 39 These IP are mapped to the DRM objects as following: 40 - The CRTCs are mapped to the Compositor Main and Aux Mixers 41 - The Framebuffers and planes are mapped to the Compositor GDP (non video 43 - The Cursor is mapped to the Compositor Cursor 44 - The Encoders are mapped to the TVOut 45 - The Bridges/Connectors are mapped to the HDMI / DVO / HD Analog / SD analog
|
/Linux-v6.1/Documentation/userspace-api/media/dvb/ |
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-v6.1/Documentation/userspace-api/media/v4l/ |
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.
|
/Linux-v6.1/fs/jfs/ |
D | ioctl.c | 45 long mapped=0; in jfs_map_ext2() local 50 mapped |= jfs_map[index].jfs_flag; in jfs_map_ext2() 53 mapped |= jfs_map[index].ext2_flag; in jfs_map_ext2() 57 return mapped; in jfs_map_ext2()
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
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-v6.1/Documentation/loongarch/ |
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-v6.1/Documentation/scsi/ |
D | g_NCR5380.rst | 16 memory mapped modes. 38 base=xx[,...] the port or base address(es) (for port or memory mapped, resp.) 55 mapped, resp.) 71 E.g. a port mapped NCR5380 board, driver to probe for IRQ:: 79 E.g. a memory mapped NCR53C400 board with no IRQ::
|
/Linux-v6.1/arch/x86/include/asm/ |
D | efi.h | 339 #define __efi64_argmap(mapped, args) \ argument 340 __PASTE(__efi64_argmap__, __efi_nargs(__efi_eat mapped))(mapped, args) 341 #define __efi64_argmap__0(mapped, args) __efi_eval mapped argument 342 #define __efi64_argmap__1(mapped, args) __efi_eval args argument
|
/Linux-v6.1/Documentation/admin-guide/mm/ |
D | pagemap.rst | 14 physical frame each virtual page is mapped to. It contains one 64-bit 23 * Bit 56 page exclusively mapped (since 4.2) 39 precisely which pages are mapped (or in swap) and comparing mapped 43 determine which areas of memory are actually mapped and llseek to 47 times each page is mapped, indexed by PFN. 50 number of times a page is mapped. 168 A memory mapped page. 170 A memory mapped page that is not part of a file. 172 The page is mapped to swap space, i.e. has an associated swap entry. 186 mapped to what.
|
/Linux-v6.1/arch/sh/boards/mach-microdev/ |
D | irq.c | 20 unsigned char mapped; member 72 if (!fpgaIrqTable[irq].mapped) in disable_microdev_irq() 89 if (unlikely(!fpgaIrqTable[irq].mapped)) in enable_microdev_irq()
|
/Linux-v6.1/drivers/dma-buf/heaps/ |
D | cma_heap.c | 47 bool mapped; member 72 a->mapped = false; in cma_heap_attach() 107 a->mapped = true; in cma_heap_map_dma_buf() 117 a->mapped = false; in cma_heap_unmap_dma_buf() 133 if (!a->mapped) in cma_heap_dma_buf_begin_cpu_access() 154 if (!a->mapped) in cma_heap_dma_buf_end_cpu_access()
|
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | user_exp_rcv.c | 131 bool mapped) in unpin_rcv_pages() argument 137 if (mapped) { in unpin_rcv_pages() 146 hfi1_release_user_pages(mm, pages, npages, mapped); in unpin_rcv_pages() 253 tididx = 0, mapped, mapped_pages = 0; in hfi1_user_exp_rcv_setup() local 322 tidlist, &tididx, &mapped); in hfi1_user_exp_rcv_setup() 338 mapped_pages += mapped; in hfi1_user_exp_rcv_setup() 368 &tididx, &mapped); in hfi1_user_exp_rcv_setup() 380 mapped_pages += mapped; in hfi1_user_exp_rcv_setup() 621 int mapped = 0; in program_rcvarray() local 662 mapped += npages; in program_rcvarray() [all …]
|
/Linux-v6.1/mm/kmsan/ |
D | shadow.c | 225 int nr, mapped; in kmsan_vmap_pages_range_noflush() local 250 mapped = __vmap_pages_range_noflush(shadow_start, shadow_end, prot, in kmsan_vmap_pages_range_noflush() 252 KMSAN_WARN_ON(mapped); in kmsan_vmap_pages_range_noflush() 253 mapped = __vmap_pages_range_noflush(origin_start, origin_end, prot, in kmsan_vmap_pages_range_noflush() 255 KMSAN_WARN_ON(mapped); in kmsan_vmap_pages_range_noflush()
|
/Linux-v6.1/fs/nilfs2/ |
D | file.c | 69 goto mapped; in nilfs_page_mkwrite() 85 goto mapped; in nilfs_page_mkwrite() 107 mapped: in nilfs_page_mkwrite()
|
/Linux-v6.1/drivers/dax/ |
D | kmem.c | 58 int i, rc, mapped = 0; in dev_dax_kmem_probe() local 124 if (mapped) in dev_dax_kmem_probe() 152 if (mapped) in dev_dax_kmem_probe() 156 mapped++; in dev_dax_kmem_probe()
|