Home
last modified time | relevance | path

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

12345678910>>...33

/linux-6.6.21/drivers/vfio/
Diova_bitmap.c100 struct iova_bitmap_map mapped; member
130 unsigned long pgsize = 1 << bitmap->mapped.pgshift; in iova_bitmap_offset_to_index()
141 unsigned long pgshift = bitmap->mapped.pgshift; in iova_bitmap_index_to_offset()
163 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_get() local
192 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
196 mapped->npages = (unsigned long)ret; in iova_bitmap_get()
198 mapped->iova = iova_bitmap_mapped_iova(bitmap); in iova_bitmap_get()
205 mapped->pgoff = offset_in_page(addr); in iova_bitmap_get()
216 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_put() local
218 if (mapped->npages) { in iova_bitmap_put()
[all …]
/linux-6.6.21/arch/sh/mm/
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-6.6.21/Documentation/mm/
Darch_pgtable_helpers.rst21 | pte_bad | Tests a non-table mapped PTE |
23 | pte_present | Tests a valid mapped PTE |
35 | pte_devmap | Tests a ZONE_DEVICE mapped PTE |
59 | pte_mkdevmap | Creates a ZONE_DEVICE mapped PTE |
69 | pte_mknotpresent | Invalidates a mapped PTE |
91 | pmd_bad | Tests a non-table mapped PMD |
93 | pmd_leaf | Tests a leaf mapped PMD |
95 | pmd_huge | Tests a HugeTLB mapped PMD |
111 | pmd_devmap | Tests a ZONE_DEVICE mapped PMD |
135 | pmd_mkdevmap | Creates a ZONE_DEVICE mapped PMD |
[all …]
/linux-6.6.21/arch/x86/um/os-Linux/
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-6.6.21/drivers/gpu/drm/msm/
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-6.6.21/drivers/gpu/host1x/
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-6.6.21/Documentation/devicetree/bindings/gpio/
Dxylon,logicvc-gpio.yaml19 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-6.6.21/drivers/platform/chrome/
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-6.6.21/drivers/gpu/host1x/hw/
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-6.6.21/arch/parisc/kernel/
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-6.6.21/arch/powerpc/mm/nohash/
D40x.c89 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-6.6.21/drivers/gpu/drm/sti/
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-6.6.21/Documentation/userspace-api/media/dvb/
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.
/linux-6.6.21/Documentation/userspace-api/media/v4l/
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-6.6.21/fs/jfs/
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-6.6.21/mm/kmsan/
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()
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-6.6.21/Documentation/devicetree/bindings/display/
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-6.6.21/Documentation/arch/loongarch/
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-6.6.21/Documentation/scsi/
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-6.6.21/Documentation/admin-guide/mm/
Dpagemap.rst12 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.
/linux-6.6.21/arch/sh/boards/mach-microdev/
Dirq.c20 unsigned char mapped; member
72 if (!fpgaIrqTable[irq].mapped) in disable_microdev_irq()
89 if (unlikely(!fpgaIrqTable[irq].mapped)) in enable_microdev_irq()
/linux-6.6.21/drivers/dma-buf/heaps/
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()
/linux-6.6.21/arch/x86/include/asm/
Defi.h338 #define __efi64_argmap(mapped, args) \ argument
339 __PASTE(__efi64_argmap__, __efi_nargs(__efi_eat mapped))(mapped, args)
340 #define __efi64_argmap__0(mapped, args) __efi_eval mapped argument
341 #define __efi64_argmap__1(mapped, args) __efi_eval args argument
/linux-6.6.21/fs/nilfs2/
Dfile.c69 goto mapped; in nilfs_page_mkwrite()
85 goto mapped; in nilfs_page_mkwrite()
107 mapped: in nilfs_page_mkwrite()

12345678910>>...33