/linux-4.1.27/tools/testing/selftests/powerpc/mm/ |
H A D | hugetlb_vs_thp_test.c | 24 * munmap here before continuing. munmap() length of test_body() 27 if (munmap(addr, SIZE)) { test_body() 28 perror("munmap"); test_body() 56 munmap(addr, SIZE); test_body()
|
/linux-4.1.27/tools/testing/selftests/vm/ |
H A D | map_hugetlb.c | 76 /* munmap() length of MAP_HUGETLB memory must be hugepage aligned */ main() 77 if (munmap(addr, LENGTH)) { main() 78 perror("munmap"); main()
|
H A D | hugetlbfstest.c | 48 ret = munmap(p, length); do_mmap() 49 assert(!ret || !"munmap returned an unexpected error"); do_mmap()
|
H A D | hugepage-mmap.c | 87 munmap(addr, LENGTH); main()
|
H A D | thuge-gen.c | 156 err = munmap(map, size); test_mmap()
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | tlb.h | 19 * This pair is called at time of munmap/exit to flush cache and TLB entries
|
H A D | cacheflush.h | 11 * -likewise for flush_cache_{range,page} (munmap, exit, COW-break) 60 #define flush_cache_mm(mm) /* called on munmap/exit */
|
/linux-4.1.27/tools/perf/util/ |
H A D | zlib.c | 73 munmap(ptr, stbuf.st_size); gzip_decompress_to_file()
|
H A D | util.c | 133 munmap(addr, st.st_size); copyfile_mode()
|
H A D | evlist.c | 731 munmap(evlist->mmap[idx].base, evlist->mmap_len); __perf_evlist__munmap()
|
H A D | session.c | 1367 munmap(mmaps[map_idx], mmap_size); __perf_session__process_events()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | tlbflush.h | 46 * "This is called in munmap when we have freed up some page-table pages. 53 * will have been purged from that structure by the munmap. Seems like
|
/linux-4.1.27/arch/um/kernel/ |
H A D | tlb.c | 31 } munmap; member in union:host_vm_change::host_vm_op::__anon2946 68 ret = unmap(hvc->id, op->u.munmap.addr, do_ops() 69 op->u.munmap.len, finished, &hvc->data); do_ops() 134 (last->u.munmap.addr + last->u.mmap.len == addr)) { add_munmap() 135 last->u.munmap.len += len; add_munmap() 147 .u = { .munmap = { .addr = addr, add_munmap() 320 panic("munmap failed, errno = %d\n", flush_tlb_kernel_range_common() 337 panic("munmap failed, errno = %d\n", flush_tlb_kernel_range_common() 354 panic("munmap failed, errno = %d\n", flush_tlb_kernel_range_common() 367 panic("munmap failed, errno = %d\n", flush_tlb_kernel_range_common()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | tlbflush.h | 50 * This is called in munmap when we have freed up some page-table
|
/linux-4.1.27/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 234 munmap(p, MFD_DEF_SIZE); mfd_assert_read() 247 munmap(p, MFD_DEF_SIZE); mfd_assert_read() 275 munmap(p, MFD_DEF_SIZE); mfd_assert_write() 289 munmap(p, MFD_DEF_SIZE); mfd_assert_write() 311 munmap(p, MFD_DEF_SIZE); mfd_assert_write() 786 munmap(p, MFD_DEF_SIZE); test_share_mmap() 792 munmap(p, MFD_DEF_SIZE); test_share_mmap()
|
H A D | fuse_test.c | 180 munmap(global_p, MFD_DEF_SIZE); sealing_thread_fn()
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | process.c | 163 err = munmap(addr, len); os_unmap_memory() 213 munmap(addr, UM_KERN_PAGE_SIZE); can_drop_memory()
|
H A D | mem.c | 202 munmap(addr, UM_KERN_PAGE_SIZE); check_tmpexec()
|
/linux-4.1.27/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 69 munmap(td->map, page_size); thread_fn() 116 munmap(td0->map, page_size); threads_destroy()
|
H A D | rdpmc.c | 142 munmap(addr, page_size); __test__rdpmc()
|
/linux-4.1.27/include/uapi/xen/ |
H A D | gntdev.h | 65 * of gntdev. N.B. munmap() must be called on the relevant virtual address(es) 81 * to @vaddr. This can be used to perform a munmap(), followed by an 88 * an error will result. It is only possible to munmap() the entire
|
/linux-4.1.27/arch/x86/um/os-Linux/ |
H A D | task_size.c | 63 munmap(mapped, UM_KERN_PAGE_SIZE); page_ok()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | tlb.h | 70 * case where we're doing a full MM flush. When we're doing a munmap,
|
/linux-4.1.27/tools/power/cpupower/debug/i386/ |
H A D | dump_psb.c | 194 munmap(mem, LEN); main()
|
/linux-4.1.27/arch/x86/vdso/ |
H A D | vdso2c.c | 248 munmap(raw_addr, raw_len); main() 249 munmap(stripped_addr, stripped_len); main()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | tlb.h | 15 * the munmap-large-area case. 191 * case where we're doing a full MM flush. When we're doing a munmap,
|
/linux-4.1.27/Documentation/ia64/ |
H A D | aliasing-test.c | 55 rc = munmap(addr, length); map_mem() 57 perror("munmap"); map_mem()
|
/linux-4.1.27/tools/testing/selftests/net/ |
H A D | psock_fanout.c | 238 if (munmap(rings[1], RING_NUM_FRAMES * getpagesize()) || test_datapath() 239 munmap(rings[0], RING_NUM_FRAMES * getpagesize())) { test_datapath()
|
H A D | psock_tpacket.c | 709 munmap(ring->mm_space, ring->mm_len); unmap_ring()
|
/linux-4.1.27/include/linux/ |
H A D | host1x.h | 66 void (*munmap)(struct host1x_bo *bo, void *addr); member in struct:host1x_bo_ops 109 bo->ops->munmap(bo, addr); host1x_bo_munmap()
|
H A D | rmap.h | 209 * called in munlock()/munmap() path to check for other vmas holding
|
/linux-4.1.27/include/linux/raid/ |
H A D | pq.h | 160 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
|
/linux-4.1.27/Documentation/auxdisplay/ |
H A D | cfag12864b-example.c | 86 munmap(cfag12864b_mem, CFAG12864B_SIZE); cfag12864b_exit()
|
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 150 munmap((u8 *)where - offset, (length + offset)); acpi_os_unmap_memory()
|
/linux-4.1.27/tools/testing/selftests/ptrace/ |
H A D | peeksiginfo.c | 100 munmap(addr_rw, 2 * PAGE_SIZE); check_error_paths()
|
/linux-4.1.27/mm/ |
H A D | mlock.c | 162 * called from munlock()/munmap() path with page supposedly on the LRU. 164 * munlock()ed or munmap()ed, we want to check whether other vmas hold the 410 * For mremap(), munmap() and exit().
|
H A D | nommu.c | 1686 "munmap of memory not mmapped by process %d" do_munmap() 1754 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) SYSCALL_DEFINE2()
|
H A D | swap.c | 681 * munmap or exit, while it's not on the lru, we want to add the page
|
H A D | mmap.c | 2434 * munmap path where it doesn't make sense to fail. 2553 * Make sure that map_count on return from munmap() will do_munmap() 2615 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) SYSCALL_DEFINE2()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | mpssd.c | 1022 munmap(mic->mic_virtblk.backend_addr, mic->mic_virtblk.backend_size); close_backend() 1053 ret = munmap(mic->mic_virtblk.block_dp, stop_virtblk() 1056 mpsslog("%s munmap errno %d\n", mic->name, errno); stop_virtblk() 1523 munmap(map, len); set_log_buf_info() 1533 munmap(map, len); set_log_buf_info() 1540 munmap(map, len); set_log_buf_info()
|
/linux-4.1.27/arch/um/os-Linux/skas/ |
H A D | process.c | 302 if (munmap(stack, UM_KERN_PAGE_SIZE) < 0) { start_userspace() 304 printk(UM_KERN_ERR "start_userspace : munmap failed, " start_userspace()
|
/linux-4.1.27/scripts/basic/ |
H A D | fixdep.c | 307 munmap(map, st.st_size); do_config_file() 430 munmap(map, st.st_size); print_deps()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | videobuf-vmalloc.c | 77 dprintk(1, "munmap %p q=%p\n", map, q); videobuf_vm_close()
|
H A D | videobuf-dma-contig.c | 89 dev_dbg(q->dev, "munmap %p q=%p\n", map, q); videobuf_vm_close()
|
H A D | videobuf-dma-sg.c | 406 dprintk(1, "munmap %p q=%p\n", map, q); videobuf_vm_close()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | mmu_context.h | 236 * observed to affect munmap() performance on hardware arch_unmap()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | mpx.c | 754 * A virtual address region being munmap()ed might share bounds table 788 * This virtual address region being munmap()ed is only unmap_edge_bts() 803 * address region being munmap()ed, we need to separately check unmap_edge_bts() 880 * munmap()ed. Assume end > start.
|
H A D | pgtable.c | 235 * Normally they will be freed by munmap/exit_mmap, but any pmd we
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | systbl.h | 98 SYSCALL_SPU(munmap)
|
/linux-4.1.27/scripts/ |
H A D | sortextable.c | 68 munmap(ehdr_curr, sb.st_size); cleanup()
|
H A D | recordmcount.c | 70 munmap(ehdr_curr, sb.st_size); cleanup()
|
/linux-4.1.27/include/asm-generic/ |
H A D | tlb.h | 149 * case where we're doing a full MM flush. When we're doing a munmap,
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | process.c | 82 * FIXME: we don't munmap step_state->buffer arch_release_thread_info() 86 * means we can't munmap() the buffer, and therefore if we arch_release_thread_info()
|
/linux-4.1.27/tools/virtio/ |
H A D | vringh_test.c | 177 munmap(guest_map, mapsize); parallel_test() 303 munmap(host_map, mapsize); parallel_test()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | umem.c | 287 * can happen when a userspace munmap() is the call that drops ib_umem_release()
|
/linux-4.1.27/drivers/char/ |
H A D | mspec.c | 141 * (via fork, munmap, etc.). Increments the reference count on the
|
/linux-4.1.27/Documentation/DocBook/media/ |
H A D | Makefile | 51 munmap \
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 441 * can happen when a userspace munmap() is the call that drops usnic_uiom_reg_release()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | gem.c | 90 .munmap = tegra_bo_munmap,
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_wrapper.c | 95 COMPAT_SYSCALL_WRAP2(munmap, unsigned long, addr, size_t, len);
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | syscall_table.S | 167 ENTRY_SAME(munmap)
|
/linux-4.1.27/drivers/xen/ |
H A D | gntalloc.c | 41 * Teardown requires munmap() and either close() or ioctl().
|
H A D | gntdev.c | 66 /* maps that are not visible; will be freed on munmap.
|
/linux-4.1.27/ipc/ |
H A D | shm.c | 1278 * were modified by partial mlock or munmap calls: SYSCALL_DEFINE1() 1305 * a fragment created by mprotect() and/or munmap(), or it SYSCALL_DEFINE1()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | signal32.c | 365 * munmap() on another cpu can't tear down the page table flush_signal_insns()
|
/linux-4.1.27/arch/arc/mm/ |
H A D | cache_arc700.c | 13 * -likewise for flush_cache_range,flush_cache_page (munmap, exit, COW-break)
|
H A D | tlb.c | 247 * flush_mm called during fork,exit,munmap etc, multiple times as well. local_flush_tlb_mm()
|
/linux-4.1.27/tools/vm/ |
H A D | page-types.c | 901 munmap(ptr, len); walk_file()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_userptr.c | 771 * i.e. upon free(), munmap() or process termination. However, the userspace
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | fsys.S | 680 data8 0 // munmap
|
/linux-4.1.27/tools/net/ |
H A D | bpf_dbg.c | 994 munmap(pcap_ptr_va_start, pcap_map_size); try_close_pcap()
|
/linux-4.1.27/tools/perf/bench/ |
H A D | numa.c | 382 ret = munmap(data, bytes); free_data()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem.c | 525 * on eviction to trigger this. But munmap() or all mappings should omap_gem_fault()
|
/linux-4.1.27/fs/ |
H A D | aio.c | 856 * We don't need to bother with munmap() here - exit_mmap(mm) exit_aio()
|
/linux-4.1.27/arch/x86/lguest/ |
H A D | boot.c | 147 * large munmap might update dozens of page table entries: that code calls
|
/linux-4.1.27/arch/s390/kvm/ |
H A D | kvm-s390.c | 2578 and munmap() stuff in this slot after doing this call at any time */ kvm_arch_prepare_memory_region()
|
/linux-4.1.27/kernel/events/ |
H A D | uprobes.c | 1114 * Called in context of a munmap of a vma.
|
/linux-4.1.27/scripts/mod/ |
H A D | modpost.c | 402 munmap(file, size); release_file()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 2798 dprintk(3, KERN_INFO "%s: %s - munmap(%s)\n", ZR_DEVNAME(zr), zoran_vm_close()
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-trace.c | 1039 { .name = "munmap", .errmsg = true,
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | x86.c | 7696 "failed to munmap memory\n"); kvm_arch_commit_memory_region()
|