Home
last modified time | relevance | path

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

12345678

/linux/drivers/gpu/drm/panfrost/
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()
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()
183 mutex_unlock(&bo->mappings.lock); in panfrost_gem_close()
226 INIT_LIST_HEAD(&obj->mappings.list); in panfrost_gem_create_object()
[all …]
A Dpanfrost_drv.c147 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos()
150 if (!job->mappings) in panfrost_lookup_bos()
164 job->mappings[i] = mapping; in panfrost_lookup_bos()
407 mutex_lock(&bo->mappings.lock); in panfrost_ioctl_madvise()
411 first = list_first_entry(&bo->mappings.list, in panfrost_ioctl_madvise()
423 if (!list_is_singular(&bo->mappings.list) || in panfrost_ioctl_madvise()
441 mutex_unlock(&bo->mappings.lock); in panfrost_ioctl_madvise()
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()
/linux/drivers/gpu/drm/tegra/
A Dsubmit.c121 xa_lock(&context->mappings); in tegra_drm_mapping_get()
123 mapping = xa_load(&context->mappings, id); in tegra_drm_mapping_get()
127 xa_unlock(&context->mappings); in tegra_drm_mapping_get()
237 struct tegra_drm_used_mapping *mappings; in submit_process_bufs() local
249 mappings = kcalloc(args->num_bufs, sizeof(*mappings), GFP_KERNEL); in submit_process_bufs()
250 if (!mappings) { in submit_process_bufs()
279 mappings[i].mapping = mapping; in submit_process_bufs()
280 mappings[i].flags = buf->flags; in submit_process_bufs()
283 job_data->used_mappings = mappings; in submit_process_bufs()
292 tegra_drm_mapping_put(mappings[i].mapping); in submit_process_bufs()
[all …]
A Duapi.c40 xa_for_each(&context->mappings, id, mapping) in tegra_drm_channel_context_close()
43 xa_destroy(&context->mappings); in tegra_drm_channel_context_close()
115 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
227 err = xa_alloc(&context->mappings, &args->mapping, mapping, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_map()
266 mapping = xa_erase(&context->mappings, args->mapping); in tegra_drm_ioctl_channel_unmap()
/linux/Documentation/arm/
A Dmemory.rst62 Machine specific static mappings are also
72 PKMAP_BASE PAGE_OFFSET-1 Permanent kernel mappings
78 placed here using dynamic mappings.
85 00001000 TASK_SIZE-1 User space mappings
86 Per-thread mappings are placed here via
96 Please note that mappings which collide with the above areas may result
103 must set up their own mappings using open() and mmap().
/linux/Documentation/ia64/
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
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
197 so it is safe to use WB mappings.
[all …]
/linux/Documentation/driver-api/
A Dio-mapping.rst44 used with mappings created by io_mapping_create_wc()
46 Temporary mappings are only valid in the context of the caller. The mapping
56 Nested mappings need to be undone in reverse order because the mapping
65 The mappings are released with::
83 The mappings are released with::
/linux/mm/
A DKconfig.debug105 bool "Warn on W+X mappings at boot"
110 Generate a warning if any W+X mappings are found at boot.
113 mappings after applying NX, as such mappings are a security risk.
117 <arch>/mm: Checked W+X mappings: passed, no W+X pages found.
121 <arch>/mm: Checked W+X mappings: failed, <N> W+X pages found.
124 still fine, as W+X mappings are not a security hole in
/linux/Documentation/admin-guide/mm/
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 …]
/linux/drivers/soc/aspeed/
A DKconfig13 Control LPC firmware cycle mappings through ioctl()s. The driver
43 Control ASPEED P2A VGA MMIO to BMC mappings through ioctl()s. The
44 driver also provides an interface for userspace mappings to a
/linux/tools/testing/nvdimm/test/
A Dndtest.c525 struct nd_mapping_desc mappings[NDTEST_MAX_MAPPING]; in ndtest_create_region() local
534 memset(&mappings, 0, sizeof(mappings)); in ndtest_create_region()
542 ndr_desc->mapping = mappings; in ndtest_create_region()
562 mappings[0].start = 0; in ndtest_create_region()
563 mappings[0].size = DIMM_SIZE; in ndtest_create_region()
564 mappings[0].nvdimm = p->config->dimms[ndimm].nvdimm; in ndtest_create_region()
566 ndr_desc->mapping = &mappings[0]; in ndtest_create_region()
578 mappings[i].start = region->mapping[i].start; in ndtest_create_region()
579 mappings[i].size = region->mapping[i].size; in ndtest_create_region()
580 mappings[i].position = region->mapping[i].position; in ndtest_create_region()
[all …]
/linux/Documentation/vm/
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
A Dhugetlbfs_reserv.rst89 of mappings. Location differences are:
91 - For private mappings, the reservation map hangs off the VMA structure.
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
140 are needed for the current mapping/segment. For private mappings, this is
170 mappings, no modifications are made to the reservation map as lack of an
243 map. For shared mappings where the reservation was present, an entry
266 to the page cache and pages in private mappings are added to an anonymous
338 biggest reservation concern for COW is private mappings. In this case,
465 shared mappings and hide this detail from the caller::
[all …]
/linux/Documentation/devicetree/bindings/
A D.yamllint31 forbid-in-block-mappings: true
32 forbid-in-flow-mappings: true
/linux/Documentation/arm64/
A Dmemory.rst24 mappings while the user pgd contains only user (non-global) mappings.
39 fffffbfff0000000 fffffbfffdffffff 224MB fixed mappings (top down)
57 fffffbfff0000000 fffffbfffdffffff 224MB fixed mappings (top down)
103 mappings are created, since the host kernel runs directly in EL2.
A Dhugetlbpage.rst15 1) Block mappings at the pud/pmd level
20 mappings reduce the depth of page table walk needed to translate hugepage
/linux/Documentation/ABI/testing/
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
/linux/Documentation/driver-api/usb/
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.)
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_mmu.c159 list_for_each_entry(free, &context->mappings, mmu_node) { in etnaviv_iommu_find_iova()
248 list_add_tail(&mapping->mmu_node, &context->mappings); in etnaviv_iommu_map_gem()
274 list_add_tail(&mapping->mmu_node, &context->mappings); in etnaviv_iommu_map_gem()
397 list_add_tail(&mapping->mmu_node, &context->mappings); in etnaviv_iommu_get_suballoc_va()
/linux/Documentation/core-api/
A Ddma-api-howto.rst35 mappings between physical and bus addresses.
172 The setup for streaming mappings is performed via a call to
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.
332 Good examples of what to use streaming mappings for are:
348 Using Consistent DMA mappings
480 Only streaming mappings specify a direction, consistent mappings
[all …]
/linux/drivers/iommu/
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()
793 node = interval_tree_iter_first(&vdomain->mappings, iova, iova); in viommu_iova_to_phys()
/linux/Documentation/x86/x86_64/
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.
145 The mappings are not part of any other kernel PGD and are only available
/linux/Documentation/userspace-api/media/drivers/
A Duvcvideo.rst23 - through mappings of XU controls to V4L2 controls
37 Control mappings
41 control mappings at runtime. These allow for individual XU controls or byte
47 The ioctl used to create these control mappings is called UVCIOC_CTRL_MAP.
117 control and a V4L2 control. Once mappings are defined, userspace
/linux/drivers/rapidio/devices/
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()
1108 list_add_tail(&map->node, &md->mappings); in rio_mport_create_dma_mapping()
1235 list_add_tail(&map->node, &md->mappings); in rio_mport_create_inbound_mapping()
1260 list_for_each_entry(map, &md->mappings, node) { in rio_mport_get_inbound_mapping()
2210 list_for_each_entry(map, &md->mappings, node) { in mport_cdev_mmap()
2392 INIT_LIST_HEAD(&md->mappings); in mport_cdev_add()
[all …]

Completed in 42 milliseconds

12345678