Searched refs:mapped (Results 1 - 25 of 163) sorted by relevance

1234567

/linux-master/drivers/iommu/iommufd/
H A Diova_bitmap.c16 * Main data structure for tracking mapped user pages of bitmap data.
90 * which u64 word of the bitmap is mapped, up to @mapped_total_index.
94 * The IOVA bitmap is usually located on what tracks DMA mapped ranges or
99 /* IOVA range representing the currently mapped bitmap data */
100 struct iova_bitmap_map mapped; member in struct:iova_bitmap
105 /* 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.
133 unsigned long pgsize = 1 << bitmap->mapped
166 struct iova_bitmap_map *mapped = &bitmap->mapped; local
219 struct iova_bitmap_map *mapped = &bitmap->mapped; local
244 struct iova_bitmap_map *mapped; local
286 struct iova_bitmap_map *mapped = &bitmap->mapped; local
446 struct iova_bitmap_map *mapped = &bitmap->mapped; local
[all...]
/linux-master/arch/sh/mm/
H A Dioremap.c8 * 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.
65 /* P4 above the store queues are always mapped. */
78 void __iomem *mapped; local
81 mapped = __ioremap_trapped(phys_addr, size);
82 if (mapped)
83 return mapped;
85 mapped = __ioremap_29bit(phys_addr, size, pgprot);
86 if (mapped)
[all...]
/linux-master/arch/x86/um/os-Linux/
H A Dtask_size.c21 void *mapped = NULL; local
35 mapped = mmap(address, UM_KERN_PAGE_SIZE,
38 if (mapped == MAP_FAILED)
40 if (mapped != address)
63 if (mapped != NULL)
64 munmap(mapped, UM_KERN_PAGE_SIZE);
74 * 0xffffe000. It is mapped, is readable, can be reprotected writeable
/linux-master/arch/parisc/kernel/
H A Dpatch.c61 int mapped; local
68 p = fixmap = patch_map(addr, FIX_TEXT_POKE0, &flags, &mapped);
83 if (mapped)
86 &mapped);
92 if (mapped)
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c47 /* Don't do anything if the memory isn't mapped */
48 if (!vma->mapped)
53 vma->mapped = false;
67 if (vma->mapped)
70 vma->mapped = true;
87 vma->mapped = false;
98 GEM_WARN_ON(vma->mapped);
146 vma->mapped = false;
/linux-master/fs/jfs/
H A Dioctl.c45 long mapped=0; local
50 mapped |= jfs_map[index].jfs_flag;
53 mapped |= jfs_map[index].ext2_flag;
57 return mapped;
/linux-master/arch/powerpc/mm/nohash/
H A D40x.c94 unsigned long v, s, mapped; local
137 mapped = total_lowmem - s;
146 memblock_set_current_limit(mapped);
148 return mapped;
/linux-master/drivers/gpu/host1x/hw/
H A Ddebug_hw.c206 pb->dma + job->first_get, pb->mapped + job->first_get);
210 u32 *mapped; local
218 mapped = (u32 *)job->gather_copy_mapped;
220 mapped = host1x_bo_mmap(g->bo);
222 if (!mapped) {
231 g->base, mapped);
234 host1x_bo_munmap(g->bo, mapped);
/linux-master/fs/nilfs2/
H A Dfile.c68 * check to see if the folio is mapped already (no holes)
71 goto mapped;
87 goto mapped;
109 mapped:
/linux-master/drivers/gpu/drm/armada/
H A Darmada_gem.h16 bool mapped; member in struct:armada_gem_object
/linux-master/drivers/gpu/host1x/
H A Dcdma.c53 if (!pb->mapped)
61 dma_free_wc(host1x->dev, pb->alloc_size, pb->mapped, pb->phys);
63 pb->mapped = NULL;
78 pb->mapped = NULL;
93 pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys,
95 if (!pb->mapped)
112 pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys,
114 if (!pb->mapped)
129 dma_free_wc(host1x->dev, size, pb->mapped, pb->phys);
140 u32 *p = (u32 *)((void *)pb->mapped
453 u32 *mapped = cdma->push_buffer.mapped; local
[all...]
/linux-master/mm/kmsan/
H A Dshadow.c225 int nr, mapped, err = 0; local
252 mapped = __vmap_pages_range_noflush(shadow_start, shadow_end, prot,
254 if (mapped) {
255 err = mapped;
258 mapped = __vmap_pages_range_noflush(origin_start, origin_end, prot,
260 if (mapped) {
261 err = mapped;
H A Dhooks.c147 * This function creates new shadow/origin pages for the physical pages mapped
158 int nr, err = 0, clean = 0, mapped; local
172 mapped = __vmap_pages_range_noflush(
176 if (mapped) {
177 err = mapped;
181 mapped = __vmap_pages_range_noflush(
185 if (mapped) {
189 err = mapped;
/linux-master/drivers/platform/chrome/
H A Dcros_ec_proto.c259 int ret, mapped; local
272 mapped = cros_ec_map_error(msg->result);
273 if (mapped) {
274 ret = mapped;
295 int ret, mapped; local
326 mapped = cros_ec_map_error(msg->result);
327 if (mapped) {
328 ret = mapped;
374 int ret, mapped; local
395 mapped
451 int ret, mapped; local
670 int ret, mapped; local
[all...]
/linux-master/drivers/hid/
H A Dhid-plantronics.c91 goto mapped;
95 goto mapped;
102 * otherwise, ignore everything else that was not mapped
113 mapped:
115 hid_dbg(hdev, "usage: %08x (appl: %08x) - mapped to key %d\n",
/linux-master/arch/x86/include/asm/
H A Defi.h329 #define __efi64_argmap(mapped, args) \
330 __PASTE(__efi64_argmap__, __efi_nargs(__efi_eat mapped))(mapped, args)
331 #define __efi64_argmap__0(mapped, args) __efi_eval mapped
332 #define __efi64_argmap__1(mapped, args) __efi_eval args
/linux-master/drivers/sh/intc/
H A Dvirq.c149 struct intc_map_entry *mapped; local
154 mapped = radix_tree_lookup(&d->tree, subgroup->parent_id);
155 if (!mapped) {
160 pirq = mapped - intc_irq_xlate;
/linux-master/arch/arm/include/debug/
H A Dvexpress.S28 @ - all other (RS1 complaint) tiles use UART mapped
/linux-master/drivers/xen/
H A Dxlate_mmu.c74 int mapped; member in struct:remap_data
129 info->mapped++;
134 * all the fgmfn are not mapped. We still have to update the pte
166 data.mapped = 0;
170 return err < 0 ? err : data.mapped;
207 * @virt: returns the virtual address of the mapped region
/linux-master/include/rdma/
H A Diw_cm.h72 bool mapped:1; member in struct:iw_cm_id
88 * mappings but the real and mapped port numbers are the
91 * to play in the port mapped iwarp space.
/linux-master/drivers/dax/
H A Dkmem.c96 int i, rc, mapped = 0; local
169 if (mapped)
201 if (mapped)
205 mapped++;
/linux-master/arch/powerpc/mm/book3s64/
H A Diommu_api.c31 atomic64_t mapped; member in struct:mm_iommu_table_group_mem_t
125 atomic64_set(&mem->mapped, 1);
267 if (atomic64_cmpxchg(&mem->mapped, 1, 0) != 1) {
276 /* @mapped became 0 so now mappings are disabled, release the region */
385 if (atomic64_inc_not_zero(&mem->mapped))
395 atomic64_add_unless(&mem->mapped, -1, 1);
/linux-master/drivers/dma-buf/heaps/
H A Dsystem_heap.c40 bool mapped; member in struct:dma_heap_attachment
102 a->mapped = false;
139 a->mapped = true;
149 a->mapped = false;
165 if (!a->mapped)
186 if (!a->mapped)
H A Dcma_heap.c47 bool mapped; member in struct:dma_heap_attachment
72 a->mapped = false;
107 a->mapped = true;
117 a->mapped = false;
133 if (!a->mapped)
154 if (!a->mapped)
250 WARN(1, "%s: buffer still mapped in the kernel\n", __func__);
/linux-master/arch/s390/include/asm/
H A Dpage.h129 unsigned char skey, int mapped)
131 if (!mapped)
128 page_set_storage_key(unsigned long addr, unsigned char skey, int mapped) argument

Completed in 329 milliseconds

1234567