Home
last modified time | relevance | path

Searched refs:mapped (Results 1 – 25 of 717) sorted by relevance

12345678910>>...29

/linux/drivers/iommu/iommufd/
H A Diova_bitmap.c100 struct iova_bitmap_map mapped; member
133 unsigned long pgsize = 1 << bitmap->mapped.pgshift; in iova_bitmap_offset_to_index()
144 unsigned long pgshift = bitmap->mapped.pgshift; in iova_bitmap_index_to_offset()
166 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_get() local
195 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
199 mapped->npages = (unsigned long)ret; in iova_bitmap_get()
201 mapped->iova = iova_bitmap_mapped_iova(bitmap); in iova_bitmap_get()
208 mapped->pgoff = offset_in_page(addr); in iova_bitmap_get()
219 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_put() local
221 if (mapped->npages) { in iova_bitmap_put()
[all …]
/linux/arch/sh/mm/
H A Dioremap.c78 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()
87 return mapped; in ioremap_prot()
99 mapped = pmb_remap_caller(phys_addr, size, pgprot, in ioremap_prot()
101 if (mapped && !IS_ERR(mapped)) in ioremap_prot()
102 return mapped; in ioremap_prot()
/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst21 | pte_present | Tests a valid mapped PTE |
33 | 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 |
109 | pmd_devmap | Tests a ZONE_DEVICE mapped PMD |
133 | pmd_mkdevmap | Creates a ZONE_DEVICE mapped PMD |
143 | pmd_mkinvalid | Invalidates a mapped PMD [1] |
[all …]
/linux/arch/x86/um/os-Linux/
H A Dtask_size.c21 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/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c48 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/gpu/host1x/
H A Dcdma.c53 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/drivers/platform/chrome/
H A Dcros_ec_proto.c259 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/drivers/gpu/host1x/hw/
H A Ddebug_hw.c206 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/arch/parisc/kernel/
H A Dpatch.c61 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/arch/powerpc/mm/nohash/
H A D40x.c94 unsigned long v, s, mapped; in mmu_mapin_ram() local
137 mapped = total_lowmem - s; in mmu_mapin_ram()
146 memblock_set_current_limit(mapped); in mmu_mapin_ram()
148 return mapped; in mmu_mapin_ram()
/linux/drivers/gpu/drm/sti/
H A DNOTES39 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/Documentation/userspace-api/media/dvb/
H A Ddmx-munmap.rst31 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.
H A Ddmx-reqbufs.rst36 This ioctl is used to initiate a memory mapped or DMABUF based demux I/O.
38 Memory mapped buffers are located in device memory and must be allocated
39 with this ioctl before they can be mapped into the application's address
63 buffers, however this cannot succeed when any buffers are still mapped.
/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-munmap.rst29 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/fs/jfs/
H A Dioctl.c45 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/mm/kmsan/
H A Dshadow.c225 int nr, mapped, err = 0; in kmsan_vmap_pages_range_noflush() local
252 mapped = __vmap_pages_range_noflush(shadow_start, shadow_end, prot, in kmsan_vmap_pages_range_noflush()
254 if (mapped) { in kmsan_vmap_pages_range_noflush()
255 err = mapped; in kmsan_vmap_pages_range_noflush()
258 mapped = __vmap_pages_range_noflush(origin_start, origin_end, prot, in kmsan_vmap_pages_range_noflush()
260 if (mapped) { in kmsan_vmap_pages_range_noflush()
261 err = mapped; in kmsan_vmap_pages_range_noflush()
H A Dhooks.c158 int nr, err = 0, clean = 0, mapped; in kmsan_ioremap_page_range() local
172 mapped = __vmap_pages_range_noflush( in kmsan_ioremap_page_range()
176 if (mapped) { in kmsan_ioremap_page_range()
177 err = mapped; in kmsan_ioremap_page_range()
181 mapped = __vmap_pages_range_noflush( in kmsan_ioremap_page_range()
185 if (mapped) { in kmsan_ioremap_page_range()
189 err = mapped; in kmsan_ioremap_page_range()
/linux/Documentation/devicetree/bindings/display/
H A Dst,stih4xx.txt6 - 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/Documentation/arch/loongarch/
H A Dintroduction.rst293 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/Documentation/scsi/
H A Dg_NCR5380.rst16 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/drivers/dma-buf/heaps/
H A Dcma_heap.c47 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()
H A Dsystem_heap.c40 bool mapped; member
102 a->mapped = false; in system_heap_attach()
139 a->mapped = true; in system_heap_map_dma_buf()
149 a->mapped = false; in system_heap_unmap_dma_buf()
165 if (!a->mapped) in system_heap_dma_buf_begin_cpu_access()
186 if (!a->mapped) in system_heap_dma_buf_end_cpu_access()
/linux/arch/x86/include/asm/
H A Defi.h329 #define __efi64_argmap(mapped, args) \ argument
330 __PASTE(__efi64_argmap__, __efi_nargs(__efi_eat mapped))(mapped, args)
331 #define __efi64_argmap__0(mapped, args) __efi_eval mapped argument
332 #define __efi64_argmap__1(mapped, args) __efi_eval args argument
/linux/fs/nilfs2/
H A Dfile.c71 goto mapped; in nilfs_page_mkwrite()
87 goto mapped; in nilfs_page_mkwrite()
109 mapped: in nilfs_page_mkwrite()
/linux/drivers/mtd/maps/
H A DKconfig17 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 …]

12345678910>>...29