/linux-4.4.14/tools/perf/util/ |
D | event.c | 331 event->mmap2.len -= event->mmap.start; in perf_event__synthesize_mmap_events() 360 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_modules() 386 event->mmap.header.type = PERF_RECORD_MMAP; in perf_event__synthesize_modules() 387 event->mmap.header.size = (sizeof(event->mmap) - in perf_event__synthesize_modules() 388 (sizeof(event->mmap.filename) - size)); in perf_event__synthesize_modules() 389 memset(event->mmap.filename + size, 0, machine->id_hdr_size); in perf_event__synthesize_modules() 390 event->mmap.header.size += machine->id_hdr_size; in perf_event__synthesize_modules() 391 event->mmap.start = pos->start; in perf_event__synthesize_modules() 392 event->mmap.len = pos->end - pos->start; in perf_event__synthesize_modules() 393 event->mmap.pid = machine->pid; in perf_event__synthesize_modules() [all …]
|
D | evlist.c | 111 zfree(&evlist->mmap); in perf_evlist__exit() 714 struct perf_mmap *md = &evlist->mmap[idx]; in perf_evlist__mmap_read() 788 atomic_inc(&evlist->mmap[idx].refcnt); in perf_evlist__mmap_get() 793 BUG_ON(atomic_read(&evlist->mmap[idx].refcnt) == 0); in perf_evlist__mmap_put() 795 if (atomic_dec_and_test(&evlist->mmap[idx].refcnt)) in perf_evlist__mmap_put() 801 struct perf_mmap *md = &evlist->mmap[idx]; in perf_evlist__mmap_consume() 843 if (evlist->mmap[idx].base != NULL) { in __perf_evlist__munmap() 844 munmap(evlist->mmap[idx].base, evlist->mmap_len); in __perf_evlist__munmap() 845 evlist->mmap[idx].base = NULL; in __perf_evlist__munmap() 846 atomic_set(&evlist->mmap[idx].refcnt, 0); in __perf_evlist__munmap() [all …]
|
D | machine.c | 1123 machine->vmlinux_maps[i]->start = event->mmap.start; in machine__set_kernel_mmap_len() 1124 machine->vmlinux_maps[i]->end = (event->mmap.start + in machine__set_kernel_mmap_len() 1125 event->mmap.len); in machine__set_kernel_mmap_len() 1165 is_kernel_mmap = memcmp(event->mmap.filename, in machine__process_kernel_mmap_event() 1168 if (event->mmap.filename[0] == '/' || in machine__process_kernel_mmap_event() 1169 (!is_kernel_mmap && event->mmap.filename[0] == '[')) { in machine__process_kernel_mmap_event() 1170 map = machine__findnew_module_map(machine, event->mmap.start, in machine__process_kernel_mmap_event() 1171 event->mmap.filename); in machine__process_kernel_mmap_event() 1175 map->end = map->start + event->mmap.len; in machine__process_kernel_mmap_event() 1177 const char *symbol_name = (event->mmap.filename + in machine__process_kernel_mmap_event() [all …]
|
D | python.c | 88 pevent->event.mmap.pid, pevent->event.mmap.tid, in pyrf_mmap_event__repr() 89 pevent->event.mmap.start, pevent->event.mmap.len, in pyrf_mmap_event__repr() 90 pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) { in pyrf_mmap_event__repr() 602 mmap = 0, in pyrf_evsel__init() local 622 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 645 attr.mmap = mmap; in pyrf_evsel__init()
|
D | session.c | 303 if (tool->mmap == NULL) in perf_tool__fill_defaults() 304 tool->mmap = process_event_stub; in perf_tool__fill_defaults() 383 event->mmap.pid = bswap_32(event->mmap.pid); in perf_event__mmap_swap() 384 event->mmap.tid = bswap_32(event->mmap.tid); in perf_event__mmap_swap() 385 event->mmap.start = bswap_64(event->mmap.start); in perf_event__mmap_swap() 386 event->mmap.len = bswap_64(event->mmap.len); in perf_event__mmap_swap() 387 event->mmap.pgoff = bswap_64(event->mmap.pgoff); in perf_event__mmap_swap() 390 void *data = &event->mmap.filename; in perf_event__mmap_swap() 969 pid = event->mmap.pid; in machines__find_for_cpumode() 1078 return tool->mmap(tool, event, sample, machine); in machines__deliver_event() [all …]
|
D | tool.h | 40 event_op mmap, member
|
D | zlib.c | 36 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file()
|
/linux-4.4.14/arch/um/kernel/ |
D | tlb.c | 27 } mmap; member 70 ret = map(hvc->id, op->u.mmap.addr, op->u.mmap.len, in do_ops() 71 op->u.mmap.prot, op->u.mmap.fd, in do_ops() 72 op->u.mmap.offset, finished, &hvc->data); in do_ops() 108 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap() 109 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap() 110 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap() 111 last->u.mmap.len += len; in add_mmap() 123 .u = { .mmap = { .addr = virt, in add_mmap() 144 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap() [all …]
|
/linux-4.4.14/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 …]
|
D | aliasing-test.c | 45 addr = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in map_mem()
|
/linux-4.4.14/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.
|
D | memory.txt | 73 the mmap() system call. 88 must set up their own mappings using open() and mmap().
|
/linux-4.4.14/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-4.4.14/tools/testing/selftests/memfd/ |
D | memfd_test.c | 152 p = mmap(NULL, in mfd_assert_mmap_shared() 170 p = mmap(NULL, in mfd_assert_mmap_private() 225 p = mmap(NULL, in mfd_assert_read() 238 p = mmap(NULL, in mfd_assert_read() 265 p = mmap(NULL, in mfd_assert_write() 279 p = mmap(NULL, in mfd_assert_write() 294 p = mmap(NULL, in mfd_assert_write() 339 p = mmap(NULL, in mfd_fail_write() 351 p = mmap(NULL, in mfd_fail_write() 364 p = mmap(NULL, in mfd_fail_write()
|
D | fuse_test.c | 128 p = mmap(NULL, in mfd_assert_mmap_shared() 146 p = mmap(NULL, in mfd_assert_mmap_private()
|
/linux-4.4.14/tools/testing/selftests/powerpc/mm/ |
D | hugetlb_vs_thp_test.c | 17 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body() 33 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body()
|
D | subpage_prot.c | 194 fileblock = mmap(NULL, filesize, PROT_READ | PROT_WRITE, in test_file()
|
/linux-4.4.14/tools/perf/python/ |
D | twatch.py | 23 task = 1, comm = 1, mmap = 0, freq = 0, 38 evlist.mmap()
|
/linux-4.4.14/fs/proc/ |
D | inode.c | 270 int (*mmap)(struct file *, struct vm_area_struct *); in proc_reg_mmap() local 272 mmap = pde->proc_fops->mmap; in proc_reg_mmap() 273 if (mmap) in proc_reg_mmap() 274 rv = mmap(file, vma); in proc_reg_mmap() 376 .mmap = proc_reg_mmap, 389 .mmap = proc_reg_mmap,
|
/linux-4.4.14/Documentation/filesystems/ |
D | sysfs-pci.txt | 42 resource0..N PCI resource N, if present (binary, mmap, rw[1]) 43 resource0_wc..N_wc PCI WC map resource N, if prefetchable (binary, mmap) 52 mmap - file is mmapable 62 mmapable files are available via an mmap of the file at offset 0 and can be 65 value from any attempted mmap. The most notable of these are I/O port 115 Platforms are free to only support subsets of the mmap functionality, but
|
D | mandatory-locking.txt | 25 and mmap similarly unreliable. 99 mmap() is another interesting case. All the operating systems mentioned 100 prevent mandatory locks from being applied to an mmap()'ed file, but HP-UX 139 shared (via mmap() with MAP_SHARED) will be rejected with the error status 142 6. Attempts to create a shared memory map of a file (via mmap() with MAP_SHARED) 150 write(), readv(), writev(), open(), creat(), mmap(), truncate() and
|
D | dax.txt | 9 by a call to mmap. 62 - implementing an mmap file operation for DAX files which sets the
|
/linux-4.4.14/arch/arm64/kernel/ |
D | efi.c | 212 memblock_reserve(params.mmap & PAGE_MASK, in efi_init() 213 PAGE_ALIGN(params.mmap_size + (params.mmap & ~PAGE_MASK))); in efi_init() 214 memmap.phys_map = params.mmap; in efi_init() 215 memmap.map = early_memremap(params.mmap, params.mmap_size); in efi_init()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | mlock2-tests.c | 356 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_mlock_lock() 465 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_mlock_onfault() 508 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_lock_onfault_of_present() 555 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_munlockall() 581 map = mmap(NULL, 2 * page_size, PROT_READ | PROT_WRITE, in test_munlockall() 636 map = mmap(NULL, 3 * page_size, PROT_READ | PROT_WRITE, in test_vma_management()
|
D | .gitignore | 1 hugepage-mmap
|
D | transhuge-stress.c | 35 if (mmap(ptr, HPAGE_SIZE, PROT_READ | PROT_WRITE, in allocate_transhuge() 89 ptr = mmap(NULL, len + HPAGE_SIZE, PROT_READ | PROT_WRITE, in main()
|
D | on-fault-limit.c | 28 map = mmap(NULL, 2 * lims.rlim_max, PROT_READ | PROT_WRITE, in test_limit()
|
D | Makefile | 5 BINARIES += hugepage-mmap
|
D | map_hugetlb.c | 65 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, 0, 0); in main()
|
D | hugepage-mmap.c | 75 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, fd, 0); in main()
|
D | run_vmtests | 55 ./hugepage-mmap
|
D | compaction_test.c | 191 map = mmap(NULL, MAP_SIZE, PROT_READ | PROT_WRITE, in main()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_qp.c | 426 void __iomem *mmap; in c2_alloc_qp() local 519 mmap = ioremap_nocache(peer_pa, mmap_size); in c2_alloc_qp() 520 if (!mmap) { in c2_alloc_qp() 529 mmap + sizeof(struct c2_mq_shared), /* pool start */ in c2_alloc_qp() 530 mmap, /* peer */ in c2_alloc_qp() 538 mmap = ioremap_nocache(peer_pa, mmap_size); in c2_alloc_qp() 539 if (!mmap) { in c2_alloc_qp() 548 mmap + sizeof(struct c2_mq_shared), /* pool start */ in c2_alloc_qp() 549 mmap, /* peer */ in c2_alloc_qp()
|
/linux-4.4.14/include/linux/ |
D | vfio.h | 43 int (*mmap)(void *device_data, struct vm_area_struct *vma); member 70 int (*mmap)(void *iommu_data, struct vm_area_struct *vma); member
|
D | host1x.h | 65 void *(*mmap)(struct host1x_bo *bo); member 104 return bo->ops->mmap(bo); in host1x_bo_mmap()
|
D | posix-clock.h | 88 int (*mmap) (struct posix_clock *pc, member
|
D | uio_driver.h | 104 int (*mmap)(struct uio_info *info, struct vm_area_struct *vma); member
|
D | dma-buf.h | 105 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma); member
|
/linux-4.4.14/Documentation/vm/ |
D | overcommit-accounting | 39 guarantees and run close to the edge you MUST mmap your stack for the 61 Pages made writable copies by mmap 67 o We account mmap memory mappings
|
D | hugetlbpage.txt | 13 Users can use the huge page support in Linux kernel by either using the mmap 65 pool, a user with appropriate privilege can use either the mmap system call 265 If the user applications are going to request huge pages using mmap system 306 applications are going to use only shmat/shmget system calls or mmap with 307 MAP_HUGETLB. For an example of how to use mmap with MAP_HUGETLB see map_hugetlb 314 filesystem will be required for using mmap calls without MAP_HUGETLB. 330 3) hugepage-mmap: see tools/testing/selftests/vm/hugepage-mmap.c
|
D | remap_file_pages.txt | 4 over using repeated calls to mmap(2) is that the former approach does not
|
D | unevictable-lru.txt | 26 - mmap(MAP_LOCKED) system call handling. 209 list at mlock() or mmap() time, vmscan will not encounter the pages until they 279 (2) in the mmap() system call handler when mmapping a region with the 465 mmap(MAP_LOCKED) SYSTEM CALL HANDLING 469 that a region of memory be mlocked supplying the MAP_LOCKED flag to the mmap() 470 call. There is one important and subtle difference here, though. mmap() + mlock() 472 and returns with ENOMEM while mmap(MAP_LOCKED) will not fail. The mmaped 476 Furthermore, any mmap() call or brk() call that expands the heap by a 483 mmap() handler and task address space expansion functions call
|
/linux-4.4.14/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,
|
/linux-4.4.14/fs/coda/ |
D | file.c | 96 if (!host_file->f_op->mmap) in coda_file_mmap() 120 return host_file->f_op->mmap(host_file, vma); in coda_file_mmap() 224 .mmap = coda_file_mmap,
|
/linux-4.4.14/tools/perf/ |
D | design.txt | 58 mmap : 1, /* include mmap data */ 193 available to user-space using mmap() (see below). 225 The 'mmap' and 'munmap' bits allow recording of PROT_EXEC mmap/munmap 277 Like stated, asynchronous events, like counter overflow or PROT_EXEC mmap 279 accessed through mmap(). 281 The mmap size should be 1+2^n pages, where the first page is a meta-data page 286 * Structure of the page that can be mapped via mmap 319 * Control data for the mmap() data buffer. 462 should select PERF_USE_VMALLOC in order to avoid these for perf mmap().
|
D | builtin-record.c | 78 struct perf_mmap *md = &rec->evlist->mmap[idx]; in record__mmap_read() 224 &rec->evlist->mmap[i].auxtrace_mmap; in record__auxtrace_read_snapshot_all() 409 struct auxtrace_mmap *mm = &rec->evlist->mmap[i].auxtrace_mmap; in record__mmap_read_all() 411 if (rec->evlist->mmap[i].base) { in record__mmap_read_all() 1008 .mmap = perf_event__process_mmap,
|
D | builtin-inject.c | 514 return evsel->attr.mmap || evsel->attr.mmap2 || evsel->attr.comm || in has_tracking() 576 inject->tool.mmap = perf_event__repipe_mmap; in __cmd_inject() 672 .mmap = perf_event__repipe, in cmd_inject()
|
/linux-4.4.14/drivers/char/ |
D | mspec.c | 317 .mmap = fetchop_mmap, 329 .mmap = cached_mmap, 341 .mmap = uncached_mmap,
|
D | uv_mmtimer.c | 52 .mmap = uv_mmtimer_mmap,
|
D | mem.c | 729 .mmap = mmap_mem, 741 .mmap = mmap_kmem, 770 .mmap = mmap_zero,
|
/linux-4.4.14/fs/ufs/ |
D | file.c | 40 .mmap = generic_file_mmap,
|
/linux-4.4.14/fs/romfs/ |
D | Makefile | 10 romfs-$(CONFIG_ROMFS_ON_MTD) += mmap-nommu.o
|
D | mmap-nommu.c | 86 .mmap = romfs_mmap,
|
/linux-4.4.14/fs/adfs/ |
D | file.c | 27 .mmap = generic_file_mmap,
|
/linux-4.4.14/fs/ramfs/ |
D | file-mmu.c | 36 .mmap = generic_file_mmap,
|
D | file-nommu.c | 45 .mmap = ramfs_nommu_mmap,
|
/linux-4.4.14/arch/arc/mm/ |
D | Makefile | 10 obj-y += tlb.o tlbex.o cache.o mmap.o
|
/linux-4.4.14/arch/arm/vdso/ |
D | vdsomunge.c | 158 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main() 199 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
|
/linux-4.4.14/Documentation/x86/ |
D | pat.txt | 69 mmap SYNC flag | | | | 72 mmap !SYNC flag | |(from exist-| (from exist- | 77 mmap !SYNC flag | | | | 83 mmap !SYNC flag | | | | 95 Drivers wanting to export some pages to userspace do it by using mmap
|
/linux-4.4.14/arch/tile/mm/ |
D | Makefile | 6 mmap.o homecache.o migrate_$(BITS).o
|
D | elf.c | 64 for (vma = current->mm->mmap; ; vma = vma->vm_next) { in notify_exec()
|
/linux-4.4.14/tools/perf/tests/attr/ |
D | test-record-group | 17 mmap=0
|
D | test-record-group1 | 18 mmap=0
|
D | base-stat | 21 mmap=0
|
D | base-record | 21 mmap=1
|
D | test-record-group-sampling | 26 mmap=0
|
/linux-4.4.14/fs/kernfs/ |
D | file.c | 488 rc = ops->mmap(of, vma); in kernfs_fop_mmap() 626 has_read = ops->seq_show || ops->read || ops->mmap; in kernfs_fop_open() 627 has_write = ops->write || ops->mmap; in kernfs_fop_open() 628 has_mmap = ops->mmap; in kernfs_fop_open() 889 .mmap = kernfs_fop_mmap, 944 if (ops->mmap) in __kernfs_create_file()
|
/linux-4.4.14/fs/ecryptfs/ |
D | Makefile | 7 ecryptfs-y := dentry.o file.o inode.o main.o super.o mmap.o read_write.o \
|
D | kthread.c | 174 if ((*lower_file)->f_op->mmap == NULL) { in ecryptfs_privileged_open()
|
/linux-4.4.14/fs/ncpfs/ |
D | Makefile | 7 ncpfs-y := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o \
|
/linux-4.4.14/arch/s390/mm/ |
D | Makefile | 5 obj-y := init.o fault.o extmem.o mmap.o vmem.o pgtable.o maccess.o
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | sys_microblaze.c | 36 SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
D | dma.c | 187 .mmap = dma_direct_mmap_coherent,
|
/linux-4.4.14/Documentation/ |
D | nommu-mmap.txt | 7 mapping is made use of in conjunction with the mmap() system call, the shmat() 10 mmap() routines to do the actual work. 82 (such as ramfs or tmpfs) may choose to honour an open, truncate, mmap 102 the mmap() by providing direct access to the underlying device if it 140 returned by malloc() - mmap() can take a MAP_UNINITIALIZED flag to 159 allocated if mmap() chooses not to map the backing device directly. An 211 file->f_op->get_unmapped_area() operation. The mmap() routines will call this 221 The file->f_op->mmap() operation will be called to actually inaugurate the 283 NOMMU mmap automatically rounds up to the nearest power-of-2 number of pages
|
D | dma-buf-sharing.txt | 336 Direct Userspace Access/mmap Support 339 Being able to mmap an export dma-buf buffer object has 2 main use-cases: 341 - supporting existing mmap interfaces in importers. 349 from userspace using mmap. 356 No special interfaces, userspace simply calls mmap on the dma-buf fd. 358 2. Supporting existing mmap interfaces in importers 365 mmap a buffer rather invasive. 368 initial mmap is all that's needed. A survey of some of the existing 379 If the importing subsystem simply provides a special-purpose mmap call to set 401 for userspace mappings. But the current assumption is that using mmap is [all …]
|
/linux-4.4.14/tools/perf/tests/ |
D | Build | 9 perf-y += mmap-basic.o 25 perf-y += mmap-thread-lookup.o
|
D | hists_common.c | 104 .mmap = { in setup_fake_machine() 114 strcpy(fake_mmap_event.mmap.filename, in setup_fake_machine()
|
D | mmap-thread-lookup.c | 32 map = mmap(NULL, page_size, in thread_init()
|
D | attr.c | 104 WRITE_ASS(mmap, "d"); in store_event()
|
D | switch-tracking.c | 429 if (!tracking_evsel->attr.mmap || !tracking_evsel->attr.comm) { in test__switch_tracking() 437 if (evsel->attr.mmap || evsel->attr.comm) { in test__switch_tracking()
|
/linux-4.4.14/Documentation/auxdisplay/ |
D | cfag12864b | 101 Also, you can mmap the framebuffer: open & mmap, munmap & close...
|
D | cfag12864b-example.c | 71 cfag12864b_mem = mmap(0, CFAG12864B_SIZE, PROT_READ | PROT_WRITE, in cfag12864b_init()
|
/linux-4.4.14/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 53 addr_rw = mmap(NULL, 2 * PAGE_SIZE, PROT_READ | PROT_WRITE, in check_error_paths() 60 addr_ro = mmap(addr_rw + PAGE_SIZE, PAGE_SIZE, PROT_READ, in check_error_paths()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | intel-pt.txt | 386 The default snapshot size is the auxtrace mmap size. If neither auxtrace mmap size 389 If an unprivileged user does not specify mmap pages, the mmap pages will be 390 reduced as described in the 'new auxtrace mmap size option' section below. 397 new auxtrace mmap size option 406 Note that the existing functionality of -m is unchanged. The auxtrace mmap size 409 The default auxtrace mmap size for Intel PT is 4MiB/page_size for privileged users 411 If an unprivileged user does not specify mmap pages, the mmap pages will be 424 The mmap size and auxtrace mmap size are displayed if the -vv option is used e.g. 426 mmap length 528384 427 auxtrace mmap length 4198400 [all …]
|
D | intel-bts.txt | 42 auxtrace mmap size option 45 The mmap size option is the same as Intel PT (refer Intel PT documentation).
|
D | perf-trace.txt | 69 --mmap-pages=:: 70 Number of mmap data pages (must be a power of two) or size 124 When processing pre-existing threads /proc/XXX/mmap, it may take a long time,
|
D | perf-kvm.txt | 123 --mmap-pages=:: 124 Number of mmap data pages (must be a power of two) or size 155 When processing pre-existing threads /proc/XXX/mmap, it may take
|
D | perf-top.txt | 69 --mmap-pages=<pages>:: 70 Number of mmap data pages (must be a power of two) or size 206 When processing pre-existing threads /proc/XXX/mmap, it may take
|
D | perf-record.txt | 131 --mmap-pages=:: 132 Number of mmap data pages (must be a power of two) or size 135 Also, by adding a comma, the number of mmap pages for AUX 309 When processing pre-existing threads /proc/XXX/mmap, it may take a long time,
|
/linux-4.4.14/arch/arm64/mm/ |
D | Makefile | 3 ioremap.o mmap.o pgd.o mmu.o \
|
/linux-4.4.14/tools/testing/selftests/x86/ |
D | sysret_ss_attrs.c | 74 unsigned char *stack32 = mmap(NULL, 4096, PROT_READ | PROT_WRITE, in main()
|
D | entry_from_vm86.c | 166 unsigned char *addr = mmap((void *)load_addr, 4096, in main()
|
/linux-4.4.14/drivers/pcmcia/ |
D | tcic.c | 737 u_long base, len, mmap; in tcic_set_mem_map() local 759 mmap = mem->card_start - mem->res->start; in tcic_set_mem_map() 760 mmap = (mmap >> TCIC_MMAP_CA_SHFT) & TCIC_MMAP_CA_MASK; in tcic_set_mem_map() 761 if (mem->flags & MAP_ATTRIB) mmap |= TCIC_MMAP_REG; in tcic_set_mem_map() 763 tcic_setw(TCIC_DATA, mmap); in tcic_set_mem_map()
|
/linux-4.4.14/Documentation/networking/ |
D | packet_mmap.txt | 5 This file documents the mmap() facility available with the PACKET 47 + How to use mmap() to improve capture process 67 + How to use mmap() directly to improve capture process 77 mmap() ---------> mapping of the allocated buffer to the 103 allocated RX and TX buffer ring with a single mmap() call. 111 + How to use mmap() directly to improve transmission process 119 mmap() ---------> mapping of the allocated buffer to the 410 mmap function. Even the circular buffer is compound of several physically 412 just one call to mmap is needed: 414 mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); [all …]
|
D | netlink_mmap.txt | 36 kernel, then a call to mmap() to map the ring into the processes address space: 40 - ring = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0) 204 See commit 4682a0358639b29cf ("netlink: Always copy on mmap TX."). 231 rx_ring = mmap(NULL, 2 * ring_size, PROT_READ | PROT_WRITE,
|
/linux-4.4.14/arch/arc/kernel/ |
D | arc_hostlink.c | 44 .mmap = arc_hl_mmap,
|
/linux-4.4.14/arch/arm/mach-nspire/ |
D | nspire.c | 47 .mmap = nspire_clcd_mmap,
|
/linux-4.4.14/fs/sysv/ |
D | file.c | 26 .mmap = generic_file_mmap,
|
/linux-4.4.14/fs/minix/ |
D | file.c | 19 .mmap = generic_file_mmap,
|
/linux-4.4.14/drivers/gpu/drm/tdfx/ |
D | tdfx_drv.c | 50 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/fs/exofs/ |
D | file.c | 72 .mmap = generic_file_mmap,
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | Makefile | 11 init.o intr.o keys.o mad.o mmap.o mr.o pcie.o pio.o pio_copy.o \
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | mmu_context.h | 76 mm->mmap = NULL; \
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
D | osunixmap.c | 117 mapped_memory = mmap(NULL, (length + offset), PROT_READ, MMAP_FLAGS, in acpi_os_map_memory()
|
/linux-4.4.14/drivers/gpu/drm/i810/ |
D | i810_drv.c | 50 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/drivers/gpu/drm/savage/ |
D | savage_drv.c | 43 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/tools/build/feature/ |
D | Makefile | 20 test-libelf-mmap.bin \ 83 test-libelf-mmap.bin:
|
/linux-4.4.14/kernel/time/ |
D | posix-clock.c | 109 if (clk->ops.mmap) in posix_clock_mmap() 110 err = clk->ops.mmap(clk, vma); in posix_clock_mmap() 203 .mmap = posix_clock_mmap,
|
/linux-4.4.14/fs/ |
D | binfmt_aout.c | 223 if (!bprm->file->f_op->mmap) in load_aout_binary() 299 if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) { in load_aout_binary() 363 if (!file->f_op->mmap) in load_aout_library()
|
D | binfmt_em86.c | 41 !bprm->file->f_op->mmap) { in load_em86()
|
/linux-4.4.14/fs/sysfs/ |
D | file.c | 164 return battr->mmap(of->file, kobj, battr, vma); in sysfs_kf_bin_mmap() 237 .mmap = sysfs_kf_bin_mmap, 281 if (battr->mmap) in sysfs_add_file_mode_ns()
|
/linux-4.4.14/tools/testing/selftests/futex/functional/ |
D | futex_wait_uninitialized_heap.c | 94 buf = mmap(NULL, page_size, PROT_READ|PROT_WRITE, in main()
|
/linux-4.4.14/drivers/xen/xenfs/ |
D | xenstored.c | 50 .mmap = xsd_kva_mmap,
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | proc_powerpc.c | 58 .mmap = page_map_mmap
|
D | dma-swiotlb.c | 52 .mmap = dma_direct_mmap_coherent,
|
D | dma-iommu.c | 111 .mmap = dma_direct_mmap_coherent,
|
/linux-4.4.14/include/sound/ |
D | hwdep.h | 46 int (*mmap)(struct snd_hwdep *hw, struct file *file, member
|
D | compress_driver.h | 126 int (*mmap)(struct snd_compr_stream *stream, member
|
D | info.h | 70 int (*mmap)(struct snd_info_entry *entry, void *file_private_data, member
|
/linux-4.4.14/drivers/gpu/drm/r128/ |
D | r128_drv.c | 49 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/fs/ocfs2/ |
D | Makefile | 29 mmap.o \
|
/linux-4.4.14/scripts/basic/ |
D | fixdep.c | 282 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in do_config_file() 403 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_deps()
|
/linux-4.4.14/drivers/dma-buf/ |
D | dma-buf.c | 95 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap_internal() 256 .mmap = dma_buf_mmap_internal, 304 || !exp_info->ops->mmap)) { in dma_buf_export() 695 ret = dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap()
|
/linux-4.4.14/Documentation/fb/ |
D | udlfb.txt | 44 * Fbdev's mmap interface assumes a real hardware framebuffer is mapped. 49 interface to allow mmap clients to report damage, for the benefit 68 standard fbdev calls. Note that if mmap() is used, by default the user mode 105 Standard fbdev applications that use mmap but that do not
|
/linux-4.4.14/fs/cifs/ |
D | cifsfs.c | 925 .mmap = cifs_file_mmap, 941 .mmap = cifs_file_strict_mmap, 958 .mmap = cifs_file_mmap, 973 .mmap = cifs_file_mmap, 988 .mmap = cifs_file_strict_mmap, 1004 .mmap = cifs_file_mmap,
|
/linux-4.4.14/arch/x86/mm/ |
D | Makefile | 1 obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
|
/linux-4.4.14/sound/soc/pxa/ |
D | pxa2xx-pcm.c | 57 .mmap = pxa2xx_pcm_mmap,
|
/linux-4.4.14/drivers/gpu/drm/mga/ |
D | mga_drv.c | 51 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_prime.c | 115 .mmap = vmw_prime_dmabuf_mmap,
|
/linux-4.4.14/arch/tile/kernel/ |
D | sys.c | 89 SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/linux-4.4.14/arch/x86/um/os-Linux/ |
D | task_size.c | 34 mapped = mmap(address, UM_KERN_PAGE_SIZE, in page_ok()
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 113 .mmap = xenbus_backend_mmap,
|
/linux-4.4.14/arch/parisc/kernel/ |
D | cache.c | 494 for (vma = mm->mmap; vma; vma = vma->vm_next) in mm_total_size() 527 for (vma = mm->mmap; vma; vma = vma->vm_next) { in flush_cache_mm() 537 for (vma = mm->mmap; vma; vma = vma->vm_next) { in flush_cache_mm()
|
/linux-4.4.14/tools/build/ |
D | fixdep.c | 141 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_deps()
|
D | Makefile.feature | 42 libelf-mmap \
|
/linux-4.4.14/tools/perf/arch/x86/tests/ |
D | intel-cqm.c | 104 event = mmap(NULL, mmap_len, PROT_READ, MAP_SHARED, fd[0], 0); in test__intel_cqm_count_nmi_context()
|
D | rdpmc.c | 117 addr = mmap(NULL, page_size, PROT_READ, MAP_SHARED, fd, 0); in __test__rdpmc()
|
D | perf-time-to-tsc.c | 87 pc = evlist->mmap[0].base; in test__perf_time_to_tsc()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | Makefile | 9 obj-y := fault.o mem.o pgtable.o mmap.o \
|
D | tlb_hash32.c | 149 for (mp = mm->mmap; mp != NULL; mp = mp->vm_next) in flush_tlb_mm()
|
/linux-4.4.14/drivers/gpu/drm/via/ |
D | via_drv.c | 65 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/arch/um/drivers/ |
D | mmapper_kern.c | 87 .mmap = mmapper_mmap,
|
/linux-4.4.14/arch/mips/mm/ |
D | Makefile | 6 gup.o init.o mmap.o page.o page-funcs.o \
|
/linux-4.4.14/mm/ |
D | nommu.c | 818 mm->mmap = vma->vm_next; in delete_vma_from_mm() 852 for (vma = mm->mmap; vma; vma = vma->vm_next) { in find_vma() 901 for (vma = mm->mmap; vma; vma = vma->vm_next) { in find_vma_exact() 952 if (!file->f_op->mmap) in validate_mmap_request() 1122 ret = vma->vm_file->f_op->mmap(vma->vm_file, vma); in do_mmap_shared_file() 1153 ret = vma->vm_file->f_op->mmap(vma->vm_file, vma); in do_mmap_private() 1704 while ((vma = mm->mmap)) { in exit_mmap() 1705 mm->mmap = vma->vm_next; in exit_mmap()
|
D | mmap.c | 441 struct vm_area_struct *vma = mm->mmap; in validate_mm() 1061 next = mm->mmap; in vma_merge() 1361 if (!file->f_op->mmap) in do_mmap() 1629 error = file->f_op->mmap(file, vma); in mmap_region() 2404 struct vm_area_struct *next = prev ? prev->vm_next : mm->mmap; in unmap_region() 2427 insertion_point = (prev ? &prev->vm_next : &mm->mmap); in detach_vmas_to_be_unmapped() 2587 vma = prev ? prev->vm_next : mm->mmap; in do_munmap() 2850 vma = mm->mmap; in exit_mmap() 2860 vma = mm->mmap; in exit_mmap() 3222 for (vma = mm->mmap; vma; vma = vma->vm_next) { in mm_take_all_locks() [all …]
|
D | debug.c | 201 mm, mm->mmap, mm->vmacache_seqnum, mm->task_size, in dump_mm()
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_drv.c | 28 .mmap = udl_drm_gem_mmap,
|
/linux-4.4.14/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 133 mem_region = mmap(NULL, page_size * 2, PROT_READ|PROT_WRITE, in test_body()
|
/linux-4.4.14/sound/arm/ |
D | pxa2xx-pcm.c | 80 .mmap = pxa2xx_pcm_mmap,
|
/linux-4.4.14/drivers/gpu/drm/sis/ |
D | sis_drv.c | 73 .mmap = drm_legacy_mmap,
|
/linux-4.4.14/sound/core/ |
D | hwdep.c | 265 if (hw->ops.mmap) in snd_hwdep_mmap() 266 return hw->ops.mmap(hw, file, vma); in snd_hwdep_mmap() 344 .mmap = snd_hwdep_mmap,
|
D | info.c | 245 if (!entry->c.ops->mmap) in snd_info_entry_mmap() 247 return entry->c.ops->mmap(entry, data->file_private_data, in snd_info_entry_mmap() 308 .mmap = snd_info_entry_mmap,
|
/linux-4.4.14/drivers/gpu/drm/mgag200/ |
D | mgag200_drv.c | 83 .mmap = mgag200_mmap,
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_drv.c | 108 .mmap = virtio_gpu_mmap,
|
/linux-4.4.14/drivers/vfio/ |
D | vfio.c | 1096 if (likely(driver && driver->ops->mmap)) in vfio_fops_mmap() 1097 ret = driver->ops->mmap(container->iommu_data, vma); in vfio_fops_mmap() 1114 .mmap = vfio_fops_mmap, 1472 if (unlikely(!device->ops->mmap)) in vfio_device_fops_mmap() 1475 return device->ops->mmap(device->device_data, vma); in vfio_device_fops_mmap() 1496 .mmap = vfio_device_fops_mmap,
|
/linux-4.4.14/crypto/ |
D | algif_rng.c | 105 .mmap = sock_no_mmap,
|
D | algif_hash.c | 233 .mmap = sock_no_mmap, 341 .mmap = sock_no_mmap,
|
/linux-4.4.14/fs/nilfs2/ |
D | file.c | 152 .mmap = nilfs_file_mmap,
|
/linux-4.4.14/arch/arm/mach-netx/ |
D | nxeb500hmi.c | 99 .mmap = netx_clcd_mmap,
|
D | nxdb500.c | 96 .mmap = netx_clcd_mmap,
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 96 .mmap = kvm_spapr_tce_mmap,
|
/linux-4.4.14/sound/oss/ |
D | soundcard.c | 482 if( audio_devs[dev]->d->mmap) in sound_mmap() 483 audio_devs[dev]->d->mmap(dev); in sound_mmap() 499 .mmap = sound_mmap,
|
/linux-4.4.14/arch/um/os-Linux/ |
D | mem.c | 190 addr = mmap(NULL, UM_KERN_PAGE_SIZE, in check_tmpexec()
|
/linux-4.4.14/include/linux/raid/ |
D | pq.h | 156 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \
|
/linux-4.4.14/tools/power/cpupower/debug/i386/ |
D | dump_psb.c | 184 mem = mmap(mem, 0x100000 - 0xc0000, PROT_READ, MAP_SHARED, fd, 0xc0000); in main()
|
/linux-4.4.14/Documentation/video4linux/ |
D | meye.txt | 101 obtained with a VIDIOCGMBUF call and mmap'ed by the 116 available from the first mmap'ed buffer.
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf2-vmalloc.c | 345 .mmap = vb2_vmalloc_dmabuf_ops_mmap, 439 .mmap = vb2_vmalloc_mmap,
|
/linux-4.4.14/arch/sh/mm/ |
D | Makefile | 5 obj-y := alignment.o cache.o init.o consistent.o mmap.o
|
/linux-4.4.14/tools/lib/bpf/ |
D | Makefile | 101 ifeq ($(feature-libelf-mmap), 1)
|
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
D | cirrus_drv.c | 126 .mmap = cirrus_mmap,
|
/linux-4.4.14/net/nfc/ |
D | rawsock.c | 295 .mmap = sock_no_mmap, 315 .mmap = sock_no_mmap,
|
/linux-4.4.14/sound/firewire/dice/ |
D | dice-pcm.c | 391 .mmap = snd_pcm_lib_mmap_vmalloc, in snd_dice_create_pcm() 403 .mmap = snd_pcm_lib_mmap_vmalloc, in snd_dice_create_pcm()
|
/linux-4.4.14/net/atm/ |
D | pvc.c | 127 .mmap = sock_no_mmap,
|
/linux-4.4.14/fs/jfs/ |
D | file.c | 159 .mmap = generic_file_mmap,
|
/linux-4.4.14/include/media/ |
D | v4l2-dev.h | 74 int (*mmap) (struct file *, struct vm_area_struct *); member
|
/linux-4.4.14/samples/bpf/ |
D | trace_output_user.c | 41 base = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in perf_event_mmap()
|
/linux-4.4.14/arch/x86/kernel/ |
D | sys_x86_64.c | 86 SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
D | ast_drv.c | 189 .mmap = ast_mmap,
|
/linux-4.4.14/drivers/gpu/drm/bochs/ |
D | bochs_drv.c | 78 .mmap = bochs_mmap,
|
/linux-4.4.14/sound/firewire/oxfw/ |
D | oxfw-pcm.c | 401 .mmap = snd_pcm_lib_mmap_vmalloc, in snd_oxfw_create_pcm() 413 .mmap = snd_pcm_lib_mmap_vmalloc, in snd_oxfw_create_pcm()
|
/linux-4.4.14/arch/um/os-Linux/skas/ |
D | process.c | 210 addr = mmap((void *) STUB_DATA, in userspace_tramp() 254 stack = mmap(NULL, UM_KERN_PAGE_SIZE, in start_userspace()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | amba-clcd.c | 413 fb->board->mmap) in clcdfb_mmap() 414 ret = fb->board->mmap(fb, vma); in clcdfb_mmap() 802 board->mmap = clcdfb_of_vram_mmap; in clcdfb_of_get_board() 806 board->mmap = clcdfb_of_dma_mmap; in clcdfb_of_get_board()
|
/linux-4.4.14/Documentation/frv/ |
D | mmu-layout.txt | 194 00004000-01ffffff ~32MB lower mmap space (grows up) 198 -bfffffff upper mmap space (grows down) 201 are cached by the TLB handler. The lower mmap space is filled first, and then the upper mmap space
|
/linux-4.4.14/fs/ext2/ |
D | file.c | 186 .mmap = ext2_file_mmap,
|
/linux-4.4.14/drivers/video/fbdev/omap/ |
D | omapfb.h | 174 int (*mmap) (struct fb_info *info, member
|
/linux-4.4.14/fs/jffs2/ |
D | TODO | 6 do shared writable mmap, if we can have a fs hook for do_wp_page() to
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_gem_dmabuf.c | 165 .mmap = omap_gem_dmabuf_mmap,
|
/linux-4.4.14/arch/arm/mach-lpc32xx/ |
D | phy3250.c | 154 .mmap = lpc32xx_clcd_mmap,
|
/linux-4.4.14/fs/bfs/ |
D | file.c | 28 .mmap = generic_file_mmap,
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 312 .mmap = spufs_mem_mmap, 463 .mmap = spufs_cntl_mmap, 1107 .mmap = spufs_signal1_mmap, 1115 .mmap = spufs_signal1_mmap, 1248 .mmap = spufs_signal2_mmap, 1256 .mmap = spufs_signal2_mmap, 1396 .mmap = spufs_mss_mmap, 1454 .mmap = spufs_psmap_mmap, 1825 .mmap = spufs_mfc_mmap,
|
/linux-4.4.14/include/asm-generic/ |
D | dma-mapping-common.h | 216 if (ops->mmap) in dma_mmap_attrs() 217 return ops->mmap(dev, vma, cpu_addr, dma_addr, size, attrs); in dma_mmap_attrs()
|
/linux-4.4.14/drivers/uio/ |
D | uio.c | 692 if (idev->info->mmap) { in uio_mmap() 693 ret = idev->info->mmap(idev->info, vma); in uio_mmap() 714 .mmap = uio_mmap,
|
/linux-4.4.14/Documentation/DocBook/ |
D | alsa-driver-api.xml.db | 66 API-snd-pcm-lib-default-mmap 67 API-snd-pcm-lib-mmap-iomem 104 API-snd-pcm-mmap-data-open 105 API-snd-pcm-mmap-data-close
|
D | gpu.xml.db | 19 API-drm-gem-free-mmap-offset 20 API-drm-gem-create-mmap-offset-size 21 API-drm-gem-create-mmap-offset 25 API-drm-gem-mmap-obj 26 API-drm-gem-mmap 80 API-drm-gem-cma-mmap 84 API-drm-gem-cma-prime-mmap
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vdso2c.c | 198 *addr = mmap(NULL, tmp_len, prot, MAP_PRIVATE, fd, 0); in map_input()
|
/linux-4.4.14/arch/arm/mach-integrator/ |
D | integrator_cp.c | 220 .mmap = versatile_clcd_mmap_dma,
|
/linux-4.4.14/sound/soc/omap/ |
D | omap-pcm.c | 173 .mmap = omap_pcm_mmap,
|
/linux-4.4.14/net/bluetooth/cmtp/ |
D | sock.c | 189 .mmap = sock_no_mmap
|
/linux-4.4.14/net/bluetooth/bnep/ |
D | sock.c | 186 .mmap = sock_no_mmap
|
/linux-4.4.14/drivers/sbus/char/ |
D | flash.c | 154 .mmap = flash_mmap,
|