Home
last modified time | relevance | path

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

12345678910

/linux-6.15/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()
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()
259 INIT_LIST_HEAD(&obj->mappings.list); in panfrost_gem_create_object()
[all …]
H A Dpanfrost_gem_shrinker.c47 if (!mutex_trylock(&bo->mappings.lock)) in panfrost_gem_purge()
60 mutex_unlock(&bo->mappings.lock); in panfrost_gem_purge()
H A Dpanfrost_drv.c196 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos()
199 if (!job->mappings) in panfrost_lookup_bos()
213 job->mappings[i] = mapping; in panfrost_lookup_bos()
456 mutex_lock(&bo->mappings.lock); in panfrost_ioctl_madvise()
460 first = list_first_entry(&bo->mappings.list, in panfrost_ioctl_madvise()
472 if (!list_is_singular(&bo->mappings.list) || in panfrost_ioctl_madvise()
490 mutex_unlock(&bo->mappings.lock); in panfrost_ioctl_madvise()
/linux-6.15/Documentation/mm/
H A Dhighmem.rst15 at all times. This means the kernel needs to start using temporary mappings of
55 short term mappings. They can be invoked from any context (including
56 interrupts) but the mappings can only be used in the context which acquired
64 These mappings are thread-local and CPU-local, meaning that the mapping
89 mappings, the local mappings are only valid in the context of the caller
94 Most code can be designed to use thread local mappings. User should
103 mappings.
119 finished, lest some other task displace its mappings.
152 long time but the bulk of high-memory mappings in the kernel are
155 term mappings but it has morphed in that direction and its use is
[all …]
H A Dhugetlbfs_reserv.rst87 of mappings. Location differences are:
89 - For private mappings, the reservation map hangs off the VMA structure.
93 inode->i_mapping->private_data. Since shared mappings are always backed
121 One of the big differences between PRIVATE and SHARED mappings is the way
138 are needed for the current mapping/segment. For private mappings, this is
168 mappings, no modifications are made to the reservation map as lack of an
242 map. For shared mappings where the reservation was present, an entry
265 to the page cache and pages in private mappings are added to an anonymous
337 biggest reservation concern for COW is private mappings. In this case,
464 shared mappings and hide this detail from the caller::
[all …]
/linux-6.15/Documentation/arch/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.
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-6.15/drivers/gpu/drm/tegra/
H A Dsubmit.c150 xa_lock(&context->mappings); in tegra_drm_mapping_get()
152 mapping = xa_load(&context->mappings, id); in tegra_drm_mapping_get()
156 xa_unlock(&context->mappings); in tegra_drm_mapping_get()
261 struct tegra_drm_used_mapping *mappings; in submit_process_bufs() local
273 mappings = kcalloc(args->num_bufs, sizeof(*mappings), GFP_KERNEL); in submit_process_bufs()
274 if (!mappings) { in submit_process_bufs()
303 mappings[i].mapping = mapping; in submit_process_bufs()
304 mappings[i].flags = buf->flags; in submit_process_bufs()
307 job_data->used_mappings = mappings; in submit_process_bufs()
316 tegra_drm_mapping_put(mappings[i].mapping); in submit_process_bufs()
[all …]
H A Duapi.c39 xa_for_each(&context->mappings, id, mapping) in tegra_drm_channel_context_close()
42 xa_destroy(&context->mappings); in tegra_drm_channel_context_close()
141 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
252 err = xa_alloc(&context->mappings, &args->mapping, mapping, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_map()
287 mapping = xa_erase(&context->mappings, args->mapping); in tegra_drm_ioctl_channel_unmap()
/linux-6.15/Documentation/driver-api/
H 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-6.15/drivers/soc/aspeed/
H 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-6.15/Documentation/features/core/mseal_sys_mappings/
H A Darch-support.txt2 # Feature name: mseal-system-mappings
4 # description: arch supports mseal system mappings
/linux-6.15/drivers/regulator/
H A Drpi-panel-attiny-regulator.c58 static const struct gpio_signal_mappings mappings[NUM_GPIO] = { variable
224 last_val = attiny_get_port_state(state, mappings[off].reg); in attiny_gpio_set()
226 last_val |= mappings[off].mask; in attiny_gpio_set()
228 last_val &= ~mappings[off].mask; in attiny_gpio_set()
230 attiny_set_port_state(state, mappings[off].reg, last_val); in attiny_gpio_set()
/linux-6.15/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 …]
/linux-6.15/Documentation/devicetree/bindings/iommu/
H A Dxen,grant-dma.yaml13 The Xen IOMMU represents the Xen grant table interface. Grant mappings
16 The binding is required to restrict memory access using Xen grant mappings.
/linux-6.15/Documentation/devicetree/bindings/
H A D.yamllint36 forbid-in-block-mappings: true
37 forbid-in-flow-mappings: true
/linux-6.15/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.)
/linux-6.15/Documentation/userspace-api/
H A Dmseal.rst133 - System mappings:
134 The system mappings are created by the kernel and includes vdso, vvar,
137 Those system mappings are readonly only or execute only, memory sealing can
143 the CONFIG_MSEAL_SYSTEM_MAPPINGS seals all system mappings of this
150 or unmapping system mappings. Known broken software at the time
174 the heap manager's ability to manage the mappings; the outcome is
188 attributes, such as protection bits (RWX). Sealed mappings doesn't mean the
/linux-6.15/Documentation/arch/x86/x86_64/
H A Dmm.rst38 … | | | | starting offset of kernel mappings.
49 … | | | | starting offset of kernel mappings.
93 from 0.125 PB to 64 PB. All kernel mappings shift down to the -64 PB starting
109 … | | | | starting offset of kernel mappings.
119 … | | | | starting offset of kernel mappings.
168 The mappings are not part of any other kernel PGD and are only available
/linux-6.15/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
/linux-6.15/Documentation/arch/arm64/
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
/linux-6.15/include/linux/
H A Dhost1x.h47 struct list_head mappings; member
53 INIT_LIST_HEAD(&cache->mappings); in host1x_bo_cache_init()
158 struct list_head mappings; member
165 INIT_LIST_HEAD(&bo->mappings); in host1x_bo_init()
/linux-6.15/tools/testing/nvdimm/test/
H A Dndtest.c414 struct nd_mapping_desc mappings[NDTEST_MAX_MAPPING]; in ndtest_create_region() local
422 memset(&mappings, 0, sizeof(mappings)); in ndtest_create_region()
430 ndr_desc->mapping = mappings; in ndtest_create_region()
451 mappings[i].start = region->mapping[i].start; in ndtest_create_region()
452 mappings[i].size = region->mapping[i].size; in ndtest_create_region()
453 mappings[i].position = region->mapping[i].position; in ndtest_create_region()
454 mappings[i].nvdimm = p->config->dimms[ndimm].nvdimm; in ndtest_create_region()
/linux-6.15/Documentation/filesystems/iomap/
H A Ddesign.rst24 This layer tries to obtain mappings of each file ranges to storage
28 2. An upper layer that acts upon the space mappings provided by the
31 The iteration can involve mappings of file's logical offset ranges to
62 units (generally memory pages or blocks) and looks up space mappings on
64 largest space mappings that it can create for a given file operation and
69 Larger space mappings improve runtime performance by amortizing the cost
238 * **IOMAP_F_MERGED**: Multiple contiguous block mappings were
276 ``IOMAP_INLINE`` mappings.
286 that should be used to detect stale mappings.
290 Filesystems with completely static mappings need not set this value.
[all …]
/linux-6.15/drivers/cxl/
H A Dpmem.c377 struct nd_mapping_desc mappings[CXL_DECODER_MAX_INTERLEAVE]; in cxl_pmem_region_probe() local
389 memset(&mappings, 0, sizeof(mappings)); in cxl_pmem_region_probe()
458 mappings[i] = (struct nd_mapping_desc) { in cxl_pmem_region_probe()
466 ndr_desc.mapping = mappings; in cxl_pmem_region_probe()
/linux-6.15/mm/
H A DKconfig.debug123 bool "Check for invalid mappings in user page tables"
187 bool "Warn on W+X mappings at boot"
193 Generate a warning if any W+X mappings are found at boot.
196 mappings after applying NX, as such mappings are a security risk.
200 <arch>/mm: Checked W+X mappings: passed, no W+X pages found.
204 <arch>/mm: Checked W+X mappings: failed, <N> W+X pages found.
207 still fine, as W+X mappings are not a security hole in

12345678910