/openbmc/qemu/hw/vfio/ |
H A D | helpers.c | 341 region->mmaps = g_realloc(region->mmaps, j * sizeof(VFIOMmap)); in vfio_setup_region_sparse_mmaps() 396 munmap(region->mmaps[index].mmap, region->mmaps[index].size); in vfio_subregion_unmap() 398 region->mmaps[index].mmap = NULL; in vfio_subregion_unmap() 414 region->mmaps[i].mmap = mmap(NULL, region->mmaps[i].size, prot, in vfio_region_mmap() 465 if (region->mmaps[i].mmap) { in vfio_region_unmap() 480 if (region->mmaps[i].mmap) { in vfio_region_exit() 497 if (region->mmaps[i].mmap) { in vfio_region_finalize() 498 munmap(region->mmaps[i].mmap, region->mmaps[i].size); in vfio_region_finalize() 506 g_free(region->mmaps); in vfio_region_finalize() 511 region->mmaps = NULL; in vfio_region_finalize() [all …]
|
H A D | pci.c | 1186 mmap_mr = ®ion->mmaps[0].mem; in vfio_sub_page_bar_update_mapping() 1409 g_free(region->mmaps); in vfio_pci_fixup_msix_region() 1410 region->mmaps = NULL; in vfio_pci_fixup_msix_region() 1418 region->mmaps[0].offset + region->mmaps[0].size); in vfio_pci_fixup_msix_region() 1423 region->mmaps[0].size = start; in vfio_pci_fixup_msix_region() 1426 region->mmaps[0].offset + region->mmaps[0].size); in vfio_pci_fixup_msix_region() 1431 region->mmaps = g_renew(VFIOMmap, region->mmaps, 2); in vfio_pci_fixup_msix_region() 1433 memcpy(®ion->mmaps[1], ®ion->mmaps[0], sizeof(VFIOMmap)); in vfio_pci_fixup_msix_region() 1435 region->mmaps[0].size = start; in vfio_pci_fixup_msix_region() 1438 region->mmaps[0].offset + region->mmaps[0].size); in vfio_pci_fixup_msix_region() [all …]
|
H A D | display.c | 455 assert(dpy->region.buffer.mmaps[0].mmap != NULL); in vfio_display_region_update() 462 plane.stride, dpy->region.buffer.mmaps[0].mmap); in vfio_display_region_update()
|
H A D | trace-events | 110 …nt index, unsigned long offset, unsigned long size, int fault) "Region %s mmaps[%d], [0x%lx - 0x%l… 114 vfio_region_mmaps_set_enabled(const char *name, bool enabled) "Region %s mmaps enabled: %d"
|
/openbmc/linux/tools/perf/tests/attr/ |
H A D | test-record-C0 | 17 # Dummy event handles mmaps, comm and task.
|
/openbmc/linux/tools/perf/util/ |
H A D | session.c | 2255 char *mmaps[NUM_MMAPS]; member 2272 char **mmaps = rd->mmaps; in reader__init() local 2284 memset(mmaps, 0, sizeof(rd->mmaps)); in reader__init() 2304 char *buf, **mmaps = rd->mmaps; in reader__mmap() local 2317 if (mmaps[rd->mmap_idx]) { in reader__mmap() 2318 munmap(mmaps[rd->mmap_idx], rd->mmap_size); in reader__mmap() 2319 mmaps[rd->mmap_idx] = NULL; in reader__mmap() 2332 mmaps[rd->mmap_idx] = rd->mmap_cur = buf; in reader__mmap() 2333 rd->mmap_idx = (rd->mmap_idx + 1) & (ARRAY_SIZE(rd->mmaps) - 1); in reader__mmap()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | Kconfig.profile | 28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 32 userspace GGTT mmaps and force userspace to take a pagefault on
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 526 struct list_head mmaps; member 549 list_for_each_safe(pos, nxt, &ucontext->mmaps) { in remove_mmap() 570 list_add_tail(&mm->entry, &ucontext->mmaps); in insert_mmap()
|
H A D | provider.c | 71 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in c4iw_dealloc_ucontext() 88 INIT_LIST_HEAD(&context->mmaps); in c4iw_alloc_ucontext()
|
/openbmc/linux/Documentation/fb/ |
H A D | deferred_io.rst | 10 - userspace app like Xfbdev mmaps framebuffer
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | cachetlb.rst | 214 这并不能解决共享mmaps的问题,请查看sparc64移植解决
|
/openbmc/linux/drivers/misc/ |
H A D | fastrpc.c | 295 struct list_head mmaps; member 1203 list_for_each_entry_safe(buf, b, &fl->mmaps, node) { in fastrpc_internal_invoke() 1541 list_for_each_entry_safe(buf, b, &fl->mmaps, node) { in fastrpc_device_release() 1578 INIT_LIST_HEAD(&fl->mmaps); in fastrpc_device_open() 1833 list_for_each_entry_safe(iter, b, &fl->mmaps, node) { in fastrpc_req_munmap() 1931 list_add_tail(&buf->node, &fl->mmaps); in fastrpc_req_mmap()
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-common.h | 57 VFIOMmap *mmaps; member
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-record.txt | 471 Use per-thread mmaps. By default per-cpu mmaps are created. This option 472 overrides that and uses per-thread mmaps. A side-effect of that is that
|
H A D | perf-report.txt | 539 --mmaps:: 543 Please note that not all mmaps are stored, options affecting which ones
|
H A D | perf-intel-pt.txt | 210 inability to match side-band information (such as context switches and mmaps) 730 software event has been introduced that permits tracking events (like mmaps) to
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kcov.rst | 136 mmaps coverage buffer, and then forks child processes in a loop. The child
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | transhuge.rst | 270 is used for SysV SHM, memfds, shared anonymous mmaps (of /dev/zero or
|
H A D | hugetlbpage.rst | 446 applications to use any combination of mmaps and shm* calls, though the mount of
|
/openbmc/linux/Documentation/core-api/ |
H A D | cachetlb.rst | 243 This does not fix shared mmaps, check out the sparc64 port for
|
/openbmc/linux/Documentation/gpu/ |
H A D | drm-uapi.rst | 208 descriptors and removed all mmaps, the DRM driver can tear down its
|
/openbmc/linux/Documentation/driver-api/ |
H A D | vfio.rst | 225 /* Setup mappings... read/write offsets, mmaps
|
/openbmc/u-boot/common/ |
H A D | dlmalloc.src | 1569 /* Tracking mmaps */
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | cgroup-v2.rst | 1886 Page cache is dirtied through buffered writes and shared mmaps and
|