/Linux-v4.19/tools/perf/arch/x86/util/ |
D | event.c | 21 union perf_event *event = zalloc(sizeof(event->mmap) + in perf_event__synthesize_extra_kmaps() 39 size = sizeof(event->mmap) - sizeof(event->mmap.filename) + in perf_event__synthesize_extra_kmaps() 45 event->mmap.header.type = PERF_RECORD_MMAP; in perf_event__synthesize_extra_kmaps() 56 event->mmap.header.size = size; in perf_event__synthesize_extra_kmaps() 58 event->mmap.start = pos->start; in perf_event__synthesize_extra_kmaps() 59 event->mmap.len = pos->end - pos->start; in perf_event__synthesize_extra_kmaps() 60 event->mmap.pgoff = pos->pgoff; in perf_event__synthesize_extra_kmaps() 61 event->mmap.pid = machine->pid; in perf_event__synthesize_extra_kmaps() 63 strlcpy(event->mmap.filename, kmap->name, PATH_MAX); in perf_event__synthesize_extra_kmaps()
|
/Linux-v4.19/Documentation/media/uapi/dvb/ |
D | dmx-munmap.rst | 32 :ref:`mmap() <dmx-mmap>` function. 36 :ref:`mmap() <dmx-mmap>`. 42 Unmaps a previously with the :ref:`mmap() <dmx-mmap>` function mapped
|
D | dmx-mmap.rst | 1 .. _dmx-mmap: 4 Digital TV mmap() 10 dmx-mmap - Map device memory into application address space 23 .. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset ) 24 :name: dmx-mmap 32 multiple of the pagesize and mmap will fail when the specified 55 :ref:`mmap() <dmx-mmap>` will fail. If ``MAP_FIXED`` is specified, 80 The :ref:`mmap() <dmx-mmap>` function asks to map ``length`` bytes starting at 95 On success :ref:`mmap() <dmx-mmap>` returns a pointer to the mapped buffer. On
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/ |
D | xen.txt | 29 xen,uefi-mmap-start | 64-bit | Guest physical address of the UEFI memory 32 xen,uefi-mmap-size | 32-bit | Size in bytes of the UEFI memory map 35 xen,uefi-mmap-desc-size | 32-bit | Size in bytes of each entry in the UEFI 38 xen,uefi-mmap-desc-ver | 32-bit | Version of the mmap descriptor format. 49 xen,uefi-mmap-start = <0xXXXXXXXX>; 50 xen,uefi-mmap-size = <0xXXXXXXXX>; 51 xen,uefi-mmap-desc-size = <0xXXXXXXXX>; 52 xen,uefi-mmap-desc-ver = <0xXXXXXXXX>;
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | func-munmap.rst | 32 :ref:`mmap() <func-mmap>` function. 36 :ref:`mmap() <func-mmap>` and returned by the driver in the struct 46 Unmaps a previously with the :ref:`mmap() <func-mmap>` function mapped
|
D | func-mmap.rst | 3 .. _func-mmap: 6 V4L2 mmap() 12 v4l2-mmap - Map device memory into application address space 24 .. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset ) 25 :name: v4l2-mmap 33 multiple of the pagesize and mmap will fail when the specified 57 :ref:`mmap() <func-mmap>` function fails. 73 :ref:`mmap() <func-mmap>` will fail. If ``MAP_FIXED`` is specified, 104 The :ref:`mmap() <func-mmap>` function asks to map ``length`` bytes starting at 120 On success :ref:`mmap() <func-mmap>` returns a pointer to the mapped buffer. On
|
D | mmap.rst | 38 address space with the :ref:`mmap() <func-mmap>` function. The 43 parameter to the :ref:`mmap() <func-mmap>` function. When using the 48 separately, so the number of calls to :ref:`mmap() <func-mmap>` should 74 printf("Video capturing or mmap-streaming is not supported\\n"); 107 buffers[i].start = mmap(NULL, buffer.length, 115 perror("mmap"); 148 printf("Video capturing or mmap-streaming is not supported\\n"); 188 buffers[i].start[j] = mmap(NULL, buffer.m.planes[j].length, 196 perror("mmap"); 261 and :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls, the :ref:`mmap() [all …]
|
/Linux-v4.19/arch/um/kernel/ |
D | tlb.c | 28 } mmap; member 71 ret = map(hvc->id, op->u.mmap.addr, op->u.mmap.len, in do_ops() 72 op->u.mmap.prot, op->u.mmap.fd, in do_ops() 73 op->u.mmap.offset, finished, &hvc->data); in do_ops() 109 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap() 110 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap() 111 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap() 112 last->u.mmap.len += len; in add_mmap() 124 .u = { .mmap = { .addr = virt, in add_mmap() 145 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap() [all …]
|
/Linux-v4.19/Documentation/ia64/ |
D | aliasing.txt | 87 mmap of /dev/mem 101 mmap of /sys/class/pci_bus/.../legacy_mem 103 This is very similar to mmap of /dev/mem, except that legacy_mem 104 only allows mmap of the one megabyte "legacy MMIO" area for a 113 The /dev/mem mmap constraints apply. 115 mmap of /proc/bus/pci/.../??.? 117 This is an MMIO mmap of PCI functions, which additionally may or 160 mmap of various MMIO regions from /dev/mem by "X" on Intel platforms 165 when the EFI memory map is incomplete, every /dev/mem mmap must 169 mmap of 0x0-0x9FFFF /dev/mem by "hwinfo" on HP sx1000 with VGA enabled [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | event.c | 440 event->mmap2.len -= event->mmap.start; in perf_event__synthesize_mmap_events() 468 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_modules() 494 event->mmap.header.type = PERF_RECORD_MMAP; in perf_event__synthesize_modules() 495 event->mmap.header.size = (sizeof(event->mmap) - in perf_event__synthesize_modules() 496 (sizeof(event->mmap.filename) - size)); in perf_event__synthesize_modules() 497 memset(event->mmap.filename + size, 0, machine->id_hdr_size); in perf_event__synthesize_modules() 498 event->mmap.header.size += machine->id_hdr_size; in perf_event__synthesize_modules() 499 event->mmap.start = pos->start; in perf_event__synthesize_modules() 500 event->mmap.len = pos->end - pos->start; in perf_event__synthesize_modules() 501 event->mmap.pid = machine->pid; in perf_event__synthesize_modules() [all …]
|
D | machine.c | 1434 is_entry_trampoline(event->mmap.filename); in perf_event__is_extra_kernel_mmap() 1443 .start = event->mmap.start, in machine__process_extra_kernel_map() 1444 .end = event->mmap.start + event->mmap.len, in machine__process_extra_kernel_map() 1445 .pgoff = event->mmap.pgoff, in machine__process_extra_kernel_map() 1451 strlcpy(xm.name, event->mmap.filename, KMAP_NAME_LEN); in machine__process_extra_kernel_map() 1472 is_kernel_mmap = memcmp(event->mmap.filename, in machine__process_kernel_mmap_event() 1475 if (event->mmap.filename[0] == '/' || in machine__process_kernel_mmap_event() 1476 (!is_kernel_mmap && event->mmap.filename[0] == '[')) { in machine__process_kernel_mmap_event() 1477 map = machine__findnew_module_map(machine, event->mmap.start, in machine__process_kernel_mmap_event() 1478 event->mmap.filename); in machine__process_kernel_mmap_event() [all …]
|
/Linux-v4.19/tools/testing/selftests/vm/ |
D | virtual_address_range.c | 88 ptr = mmap((void *) (1UL << 45), MAP_CHUNK_SIZE, PROT_READ | in validate_lower_address_hint() 105 ptr[i] = mmap(NULL, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main() 121 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
|
D | mlock2-tests.c | 298 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_mlock_lock() 407 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_mlock_onfault() 450 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_lock_onfault_of_present() 497 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_munlockall() 523 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_munlockall() 578 map = mmap(NULL, 3 * page_size, PROT_READ | PROT_WRITE, in test_vma_management()
|
D | map_populate.c | 57 smap = mmap(0, MMAP_SZ, PROT_READ | PROT_WRITE, in child_f() 87 smap = mmap(0, MMAP_SZ, PROT_READ | PROT_WRITE, in main()
|
/Linux-v4.19/Documentation/arm/ |
D | uefi.txt | 50 linux,uefi-mmap-start | 64-bit | Physical address of the UEFI memory map, 53 linux,uefi-mmap-size | 32-bit | Size in bytes of the UEFI memory map 56 linux,uefi-mmap-desc-size | 32-bit | Size in bytes of each entry in the UEFI 59 linux,uefi-mmap-desc-ver | 32-bit | Version of the mmap descriptor format.
|
/Linux-v4.19/Documentation/mic/ |
D | scif_overview.txt | 18 6. Remote memory mapping for low latency CPU accesses via mmap 28 DMA, CPU copies or remote memory mapping via mmap. SCIF supports both user and 60 SCIF allows memory sharing via mmap(..) between processes on different PCIe 61 nodes and thus provides bare-metal PCIe latency. The round trip SCIF mmap 93 mmap(..) mmap(..)
|
/Linux-v4.19/tools/testing/selftests/memfd/ |
D | memfd_test.c | 159 p = mmap(NULL, in mfd_assert_mmap_shared() 177 p = mmap(NULL, in mfd_assert_mmap_private() 232 p = mmap(NULL, in mfd_assert_read() 245 p = mmap(NULL, in mfd_assert_read() 278 p = mmap(NULL, in mfd_assert_write() 292 p = mmap(NULL, in mfd_assert_write() 307 p = mmap(NULL, in mfd_assert_write() 352 p = mmap(NULL, in mfd_fail_write() 364 p = mmap(NULL, in mfd_fail_write() 377 p = mmap(NULL, in mfd_fail_write()
|
/Linux-v4.19/tools/testing/selftests/powerpc/mm/ |
D | hugetlb_vs_thp_test.c | 18 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body() 34 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body()
|
/Linux-v4.19/drivers/vfio/mdev/ |
D | vfio_mdev.c | 98 if (unlikely(!parent->ops->mmap)) in vfio_mdev_mmap() 101 return parent->ops->mmap(mdev, vma); in vfio_mdev_mmap() 111 .mmap = vfio_mdev_mmap,
|
/Linux-v4.19/tools/perf/python/ |
D | twatch.py | 23 task = 1, comm = 1, mmap = 0, freq = 0, 38 evlist.mmap()
|
/Linux-v4.19/fs/proc/ |
D | inode.c | 299 int (*mmap)(struct file *, struct vm_area_struct *); in proc_reg_mmap() local 301 mmap = pde->proc_fops->mmap; in proc_reg_mmap() 302 if (mmap) in proc_reg_mmap() 303 rv = mmap(file, vma); in proc_reg_mmap() 412 .mmap = proc_reg_mmap, 425 .mmap = proc_reg_mmap,
|
/Linux-v4.19/Documentation/filesystems/ |
D | sysfs-pci.txt | 43 resource0..N PCI resource N, if present (binary, mmap, rw[1]) 44 resource0_wc..N_wc PCI WC map resource N, if prefetchable (binary, mmap) 54 mmap - file is mmapable 64 mmapable files are available via an mmap of the file at offset 0 and can be 67 value from any attempted mmap. The most notable of these are I/O port 118 mmap() through files in /proc/bus/pci, platforms may also set HAVE_PCI_MMAP.
|
/Linux-v4.19/drivers/firmware/efi/ |
D | arm-init.c | 240 data.phys_map = params.mmap; in efi_init() 263 memblock_reserve(params.mmap & PAGE_MASK, in efi_init() 265 (params.mmap & ~PAGE_MASK))); in efi_init()
|
/Linux-v4.19/Documentation/vm/ |
D | overcommit-accounting.rst | 46 guarantees and run close to the edge you MUST mmap your stack for the 68 | Pages made writable copies by mmap 74 * We account mmap memory mappings
|
/Linux-v4.19/fs/9p/ |
D | vfs_file.c | 646 .mmap = v9fs_file_mmap, 658 .mmap = v9fs_file_mmap, 669 .mmap = generic_file_readonly_mmap, 681 .mmap = generic_file_readonly_mmap, 692 .mmap = v9fs_mmap_file_mmap, 704 .mmap = v9fs_mmap_file_mmap,
|