Home
last modified time | relevance | path

Searched refs:mmaps (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Dhelpers.c341 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 Dpci.c1186 mmap_mr = &region->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(&region->mmaps[1], &region->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 Ddisplay.c455 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 Dtrace-events110 …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 Dtest-record-C017 # Dummy event handles mmaps, comm and task.
/openbmc/linux/tools/perf/util/
H A Dsession.c2255 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 DKconfig.profile28 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 Diw_cxgb4.h526 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 Dprovider.c71 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 Ddeferred_io.rst10 - userspace app like Xfbdev mmaps framebuffer
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dcachetlb.rst214 这并不能解决共享mmaps的问题,请查看sparc64移植解决
/openbmc/linux/drivers/misc/
H A Dfastrpc.c295 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 Dvfio-common.h57 VFIOMmap *mmaps; member
/openbmc/linux/tools/perf/Documentation/
H A Dperf-record.txt471 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 Dperf-report.txt539 --mmaps::
543 Please note that not all mmaps are stored, options affecting which ones
H A Dperf-intel-pt.txt210 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 Dkcov.rst136 mmaps coverage buffer, and then forks child processes in a loop. The child
/openbmc/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst270 is used for SysV SHM, memfds, shared anonymous mmaps (of /dev/zero or
H A Dhugetlbpage.rst446 applications to use any combination of mmaps and shm* calls, though the mount of
/openbmc/linux/Documentation/core-api/
H A Dcachetlb.rst243 This does not fix shared mmaps, check out the sparc64 port for
/openbmc/linux/Documentation/gpu/
H A Ddrm-uapi.rst208 descriptors and removed all mmaps, the DRM driver can tear down its
/openbmc/linux/Documentation/driver-api/
H A Dvfio.rst225 /* Setup mappings... read/write offsets, mmaps
/openbmc/u-boot/common/
H A Ddlmalloc.src1569 /* Tracking mmaps */
/openbmc/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst1886 Page cache is dirtied through buffered writes and shared mmaps and