Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.12.1/drivers/iommu/iommufd/
Diova_bitmap.c103 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()
168 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_get() local
197 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
201 mapped->npages = (unsigned long)ret; in iova_bitmap_get()
203 mapped->iova = iova_bitmap_mapped_iova(bitmap); in iova_bitmap_get()
210 mapped->pgoff = offset_in_page(addr); in iova_bitmap_get()
211 mapped->length = iova_bitmap_mapped_length(bitmap); in iova_bitmap_get()
222 struct iova_bitmap_map *mapped = &bitmap->mapped; in iova_bitmap_put() local
[all …]
/linux-6.12.1/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.12.1/Documentation/mm/
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 |
107 | pmd_devmap | Tests a ZONE_DEVICE mapped PMD |
131 | pmd_mkdevmap | Creates a ZONE_DEVICE mapped PMD |
166 | pud_bad | Tests a non-table mapped PUD |
168 | pud_leaf | Tests a leaf mapped PUD |
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.
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-6.12.1/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.12.1/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.12.1/mm/kmsan/
Dshadow.c223 int nr, mapped, err = 0; in kmsan_vmap_pages_range_noflush() local
249 mapped = __vmap_pages_range_noflush(shadow_start, shadow_end, prot, in kmsan_vmap_pages_range_noflush()
251 if (mapped) { in kmsan_vmap_pages_range_noflush()
252 err = mapped; in kmsan_vmap_pages_range_noflush()
255 mapped = __vmap_pages_range_noflush(origin_start, origin_end, prot, in kmsan_vmap_pages_range_noflush()
257 if (mapped) { in kmsan_vmap_pages_range_noflush()
258 err = mapped; in kmsan_vmap_pages_range_noflush()
Dhooks.c156 int nr, err = 0, clean = 0, mapped; in kmsan_ioremap_page_range() local
170 mapped = __vmap_pages_range_noflush( in kmsan_ioremap_page_range()
174 if (mapped) { in kmsan_ioremap_page_range()
175 err = mapped; in kmsan_ioremap_page_range()
179 mapped = __vmap_pages_range_noflush( in kmsan_ioremap_page_range()
183 if (mapped) { in kmsan_ioremap_page_range()
187 err = mapped; in kmsan_ioremap_page_range()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/arch/x86/include/asm/
Defi.h334 #define __efi64_argmap(mapped, args) \ argument
335 __PASTE(__efi64_argmap__, __efi_nargs(__efi_eat mapped))(mapped, args)
336 #define __efi64_argmap__0(mapped, args) __efi_eval mapped argument
337 #define __efi64_argmap__1(mapped, args) __efi_eval args argument
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Ddelay.rst35 # Create mapped device named "delayed" delaying read, write and flush operations for 500ms.
42 # Create mapped device delaying write and flush operations for 400ms and
51 # Create mapped device delaying reads for 50ms, writes for 100ms and flushs for 333ms
/linux-6.12.1/fs/nilfs2/
Dfile.c71 goto mapped; in nilfs_page_mkwrite()
87 goto mapped; in nilfs_page_mkwrite()
109 mapped: in nilfs_page_mkwrite()
/linux-6.12.1/drivers/mtd/maps/
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 …]
/linux-6.12.1/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.
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 …]

12345678910>>...29