Home
last modified time | relevance | path

Searched refs:mappings (Results 1 – 25 of 243) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/
H A Dpanfrost_gem.c36 WARN_ON_ONCE(!list_empty(&bo->mappings.list)); in panfrost_gem_free_object()
61 mutex_lock(&bo->mappings.lock); in panfrost_gem_mapping_get()
62 list_for_each_entry(iter, &bo->mappings.list, node) { in panfrost_gem_mapping_get()
69 mutex_unlock(&bo->mappings.lock); in panfrost_gem_mapping_get()
110 list_for_each_entry(mapping, &bo->mappings.list, node) in panfrost_gem_teardown_mappings_locked()
158 mutex_lock(&bo->mappings.lock); in panfrost_gem_open()
160 list_add_tail(&mapping->node, &bo->mappings.list); in panfrost_gem_open()
161 mutex_unlock(&bo->mappings.lock); in panfrost_gem_open()
175 mutex_lock(&bo->mappings.lock); in panfrost_gem_close()
176 list_for_each_entry(iter, &bo->mappings.list, node) { in panfrost_gem_close()
[all …]
H A Dpanfrost_drv.c152 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos()
155 if (!job->mappings) in panfrost_lookup_bos()
169 job->mappings[i] = mapping; in panfrost_lookup_bos()
403 mutex_lock(&bo->mappings.lock); in panfrost_ioctl_madvise()
407 first = list_first_entry(&bo->mappings.list, in panfrost_ioctl_madvise()
419 if (!list_is_singular(&bo->mappings.list) || in panfrost_ioctl_madvise()
437 mutex_unlock(&bo->mappings.lock); in panfrost_ioctl_madvise()
H A Dpanfrost_gem_shrinker.c48 if (!mutex_trylock(&bo->mappings.lock)) in panfrost_gem_purge()
61 mutex_unlock(&bo->mappings.lock); in panfrost_gem_purge()
H A Dpanfrost_job.c281 if (job->mappings) { in panfrost_job_cleanup()
283 if (!job->mappings[i]) in panfrost_job_cleanup()
286 atomic_dec(&job->mappings[i]->obj->gpu_usecount); in panfrost_job_cleanup()
287 panfrost_gem_mapping_put(job->mappings[i]); in panfrost_job_cleanup()
289 kvfree(job->mappings); in panfrost_job_cleanup()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_descriptor_mapping.c87 …_mali_osk_memcpy(new_table->mappings, old_table->mappings, map->current_nr_mappings * sizeof(void … in ump_descriptor_mapping_allocate_mapping()
95 map->table->mappings[descriptor] = target; in ump_descriptor_mapping_allocate_mapping()
108 *target = map->table->mappings[descriptor]; in ump_descriptor_mapping_get()
120 map->table->mappings[descriptor] = target; in ump_descriptor_mapping_set()
131 map->table->mappings[descriptor] = NULL; in ump_descriptor_mapping_free()
145 …table->mappings = (void **)((u8 *)table + sizeof(ump_descriptor_table) + ((sizeof(unsigned long) *… in descriptor_table_alloc()
/OK3568_Linux_fs/kernel/Documentation/arm/
H A Dmemory.rst62 Machine specific static mappings are also
72 PKMAP_BASE PAGE_OFFSET-1 Permanent kernel mappings
78 placed here using dynamic mappings.
80 00001000 TASK_SIZE-1 User space mappings
81 Per-thread mappings are placed here via
91 Please note that mappings which collide with the above areas may result
98 must set up their own mappings using open() and mmap().
/OK3568_Linux_fs/kernel/Documentation/ia64/
H A Daliasing.rst67 Linux/ia64 identity mappings are done with large pages, currently
68 either 16MB or 64MB, referred to as "granules." Cacheable mappings
78 Uncacheable mappings are not speculative, so the processor will
80 software. This allows UC identity mappings to cover granules that
87 User mappings are typically done with 16K or 64K pages. The smaller
94 There are several ways the kernel creates new mappings:
99 This uses remap_pfn_range(), which creates user mappings. These
100 mappings may be either WB or UC. If the region being mapped
167 region safely with kernel page table mappings, we can use
182 succeed. It may create either WB or UC user mappings, depending
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/aspeed/
H A DKconfig12 Control Aspeed ast2400/2500 HOST LPC to BMC mappings through
28 Control Aspeed ast2400/2500 HOST P2A VGA MMIO to BMC mappings through
29 ioctl()s, the driver also provides an interface for userspace mappings to
/OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/
H A Dnommu-mmap.rst29 These behave very much like private mappings, except that they're
133 In the no-MMU case, however, anonymous mappings are backed by physical
147 (#) A list of all the private copy and anonymous mappings on the system is
150 (#) A list of all the mappings in use by a process is visible through
176 mappings made by a process or if the mapping in which the address lies does not
191 Shared mappings may not be moved. Shareable mappings may not be moved either,
196 mappings, move parts of existing mappings or resize parts of mappings. It must
243 mappings may still be mapped directly off the device under some
250 Provision of shared mappings on memory backed files is similar to the provision
253 of pages and permit mappings to be made on that.
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Doe-pkgdata-util211 mappings = OrderedDict()
216 mappings[pkg] = os.path.basename(os.readlink(revlink))
218 mappings = defaultdict(list)
226 mappings[pkg].append(fields[1])
228 return mappings
236 mappings = lookup_pkglist(pkgs, args.pkgdata_dir, args.reverse)
238 if len(mappings) < len(pkgs):
239 missing = list(set(pkgs) - set(mappings.keys()))
244 items = list(mappings.values())
248 items.extend(mappings.get(pkg, []))
/OK3568_Linux_fs/kernel/mm/
H A DKconfig.debug121 bool "Warn on W+X mappings at boot"
126 Generate a warning if any W+X mappings are found at boot.
129 mappings after applying NX, as such mappings are a security risk.
133 <arch>/mm: Checked W+X mappings: passed, no W+X pages found.
137 <arch>/mm: Checked W+X mappings: failed, <N> W+X pages found.
140 still fine, as W+X mappings are not a security hole in
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/readline/files/
H A Dinputrc34 # mappings for "page up" and "page down" to step to the beginning/end
39 # alternate mappings for "page up" and "page down" to search the history
43 # # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dhighmem.rst17 at all times. This means the kernel needs to start using temporary mappings of
53 The kernel contains several ways of creating temporary mappings:
67 CPU until it has finished, lest some other task displace its mappings.
113 The cost of creating temporary mappings can be quite high. The arch has to
118 a pointer to the page contents rather than juggling mappings about. In such a
121 If CONFIG_MMU is not set, then there can be no temporary mappings and no
H A Dhugetlbfs_reserv.rst89 of mappings. Location differences are:
91 - For private mappings, the reservation map hangs off the VMA structure.
94 - For shared mappings, the reservation map hangs off the inode. Specifically,
95 inode->i_mapping->private_data. Since shared mappings are always backed
123 One of the big differences between PRIVATE and SHARED mappings is the way
126 - For shared mappings, an entry in the reservation map indicates a reservation
129 - For private mappings, the lack of an entry in the reservation map indicates
135 For private mappings, hugetlb_reserve_pages() creates the reservation map and
140 are needed for the current mapping/segment. For private mappings, this is
141 always the value (to - from). However, for shared mappings it is possible that
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A D.yamllint31 forbid-in-block-mappings: true
32 forbid-in-flow-mappings: true
/OK3568_Linux_fs/kernel/Documentation/arm64/
H A Dmemory.rst24 mappings while the user pgd contains only user (non-global) mappings.
40 fffffdfffe5f9000 fffffdfffe9fffff 4124KB fixed mappings
60 fffffc1ffe590000 fffffc1ffe9fffff 4544KB fixed mappings
106 mappings are created, since the host kernel runs directly in EL2.
H A Dhugetlbpage.rst15 1) Block mappings at the pud/pmd level
20 mappings reduce the depth of page table walk needed to translate hugepage
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A DKconfig30 bool "Enable removal of RAM from kernel mappings for tracing"
34 from the kernel mappings to be used for hardware tracing.
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-firmware-efi-runtime-map10 the same physical to virtual address mappings as the first
11 kernel. The mappings are exported to sysfs so userspace tools
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A Ddma.rst19 manage dma mappings for existing dma-ready buffers (see below).
27 don't manage dma mappings for URBs.
41 IOMMU to manage the DMA mappings. It can cost MUCH more to set up and
42 tear down the IOMMU mappings with each request than perform the I/O!
64 "streaming" DMA mappings.)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c157 list_for_each_entry(free, &context->mappings, mmu_node) { in etnaviv_iommu_find_iova()
244 list_add_tail(&mapping->mmu_node, &context->mappings); in etnaviv_iommu_map_gem()
270 list_add_tail(&mapping->mmu_node, &context->mappings); in etnaviv_iommu_map_gem()
399 list_add_tail(&mapping->mmu_node, &context->mappings); in etnaviv_iommu_get_suballoc_va()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Ddma-api-howto.rst35 mappings between physical and bus addresses.
172 The setup for streaming mappings is performed via a call to
214 coherent allocations, but supports full 64-bits for streaming mappings
237 kernel will use this information later when you make DMA mappings.
276 Types of DMA mappings
279 There are two types of DMA mappings:
281 - Consistent DMA mappings which are usually mapped at driver
294 Good examples of what to use consistent mappings for are:
303 versa. Consistent mappings guarantee this.
325 - Streaming DMA mappings which are usually mapped for one DMA
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Dvirtio-iommu.c71 struct rb_root_cached mappings; member
329 interval_tree_insert(&mapping->iova, &vdomain->mappings); in viommu_add_mapping()
355 next = interval_tree_iter_first(&vdomain->mappings, iova, last); in viommu_del_mappings()
371 interval_tree_remove(node, &vdomain->mappings); in viommu_del_mappings()
395 node = interval_tree_iter_first(&vdomain->mappings, 0, -1UL); in viommu_replay_mappings()
599 vdomain->mappings = RB_ROOT_CACHED; in viommu_domain_alloc()
801 node = interval_tree_iter_first(&vdomain->mappings, iova, iova); in viommu_iova_to_phys()
/OK3568_Linux_fs/kernel/Documentation/x86/x86_64/
H A Dmm.rst37 … | | | | starting offset of kernel mappings.
81 from 0.125 PB to 64 PB. All kernel mappings shift down to the -64 PB starting
96 … | | | | starting offset of kernel mappings.
149 The mappings are not part of any other kernel PGD and are only available
/OK3568_Linux_fs/kernel/drivers/rapidio/devices/
H A Drio_mport_cdev.c176 struct list_head mappings; member
385 list_add_tail(&map->node, &md->mappings); in rio_mport_create_outbound_mapping()
401 list_for_each_entry(map, &md->mappings, node) { in rio_mport_get_outbound_mapping()
475 list_for_each_entry_safe(map, _map, &md->mappings, node) { in rio_mport_obw_free()
903 list_for_each_entry(map, &md->mappings, node) { in rio_dma_transfer()
1107 list_add_tail(&map->node, &md->mappings); in rio_mport_create_dma_mapping()
1154 list_for_each_entry_safe(map, _map, &md->mappings, node) { in rio_mport_free_dma()
1234 list_add_tail(&map->node, &md->mappings); in rio_mport_create_inbound_mapping()
1259 list_for_each_entry(map, &md->mappings, node) { in rio_mport_get_inbound_mapping()
1340 list_for_each_entry_safe(map, _map, &md->mappings, node) { in rio_mport_inbound_free()
[all …]

12345678910