Home
last modified time | relevance | path

Searched refs:munmap (Results 1 – 63 of 63) sorted by relevance

/linux-4.4.14/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c27 if (munmap(addr, SIZE)) { in test_body()
56 munmap(addr, SIZE); in test_body()
/linux-4.4.14/tools/testing/selftests/memfd/
Dmemfd_test.c235 munmap(p, MFD_DEF_SIZE); in mfd_assert_read()
248 munmap(p, MFD_DEF_SIZE); in mfd_assert_read()
276 munmap(p, MFD_DEF_SIZE); in mfd_assert_write()
290 munmap(p, MFD_DEF_SIZE); in mfd_assert_write()
312 munmap(p, MFD_DEF_SIZE); in mfd_assert_write()
787 munmap(p, MFD_DEF_SIZE); in test_share_mmap()
793 munmap(p, MFD_DEF_SIZE); in test_share_mmap()
Dfuse_test.c180 munmap(global_p, MFD_DEF_SIZE); in sealing_thread_fn()
/linux-4.4.14/tools/testing/selftests/vm/
Dmlock2-tests.c384 munmap(map, 2 * page_size); in test_mlock_lock()
496 munmap(map, 2 * page_size); in test_mlock_onfault()
544 munmap(map, 2 * page_size); in test_lock_onfault_of_present()
579 munmap(map, 2 * page_size); in test_munlockall()
621 munmap(map, 2 * page_size); in test_munlockall()
709 munmap(map, 3 * page_size); in test_vma_management()
Dcompaction_test.c198 munmap(map, MAP_SIZE); in main()
215 munmap(entry->map, MAP_SIZE); in main()
Don-fault-limit.c34 munmap(map, 2 * lims.rlim_max); in test_limit()
Dmap_hugetlb.c77 if (munmap(addr, LENGTH)) { in main()
Dhugepage-mmap.c87 munmap(addr, LENGTH); in main()
Dthuge-gen.c156 err = munmap(map, size); in test_mmap()
/linux-4.4.14/arch/um/kernel/
Dtlb.c31 } munmap; member
75 ret = unmap(hvc->id, op->u.munmap.addr, in do_ops()
76 op->u.munmap.len, finished, &hvc->data); in do_ops()
144 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap()
145 last->u.munmap.len += len; in add_munmap()
157 .u = { .munmap = { .addr = addr, in add_munmap()
/linux-4.4.14/tools/perf/tests/
Dmmap-thread-lookup.c69 munmap(td->map, page_size); in thread_fn()
116 munmap(td0->map, page_size); in threads_destroy()
/linux-4.4.14/tools/testing/selftests/x86/
Dsysret_ss_attrs.c108 munmap(stack32, 4096); in main()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.c248 munmap(raw_addr, raw_len); in main()
249 munmap(stripped_addr, stripped_len); in main()
/linux-4.4.14/arch/um/os-Linux/
Dprocess.c169 err = munmap(addr, len); in os_unmap_memory()
219 munmap(addr, UM_KERN_PAGE_SIZE); in can_drop_memory()
Dmem.c202 munmap(addr, UM_KERN_PAGE_SIZE); in check_tmpexec()
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/
Dosunixmap.c150 munmap((u8 *)where - offset, (length + offset)); in acpi_os_unmap_memory()
/linux-4.4.14/tools/perf/util/
Dzlib.c73 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
Dutil.c167 munmap(ptr, off_in + size); in copyfile_offset()
Dauxtrace.c95 munmap(mm->base, mm->len); in auxtrace_mmap__munmap()
799 munmap(buffer->mmap_addr, buffer->mmap_size); in auxtrace_buffer__put_data()
Devlist.c844 munmap(evlist->mmap[idx].base, evlist->mmap_len); in __perf_evlist__munmap()
Dsession.c1621 munmap(mmaps[map_idx], mmap_size); in __perf_session__process_events()
/linux-4.4.14/scripts/basic/
Dfixdep.c291 munmap(map, st.st_size); in do_config_file()
412 munmap(map, st.st_size); in print_deps()
/linux-4.4.14/include/linux/
Dhost1x.h66 void (*munmap)(struct host1x_bo *bo, void *addr); member
109 bo->ops->munmap(bo, addr); in host1x_bo_munmap()
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_fanout.c293 if (munmap(rings[1], RING_NUM_FRAMES * getpagesize()) || in test_datapath()
294 munmap(rings[0], RING_NUM_FRAMES * getpagesize())) { in test_datapath()
Dpsock_tpacket.c709 munmap(ring->mm_space, ring->mm_len); in unmap_ring()
/linux-4.4.14/arch/x86/um/os-Linux/
Dtask_size.c63 munmap(mapped, UM_KERN_PAGE_SIZE); in page_ok()
/linux-4.4.14/tools/build/
Dfixdep.c150 munmap(map, st.st_size); in print_deps()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dintel-cqm.c114 munmap(event, mmap_len); in test__intel_cqm_count_nmi_context()
Drdpmc.c141 munmap(addr, page_size); in __test__rdpmc()
/linux-4.4.14/include/linux/raid/
Dpq.h160 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
/linux-4.4.14/tools/power/cpupower/debug/i386/
Ddump_psb.c194 munmap(mem, LEN); in main()
/linux-4.4.14/Documentation/auxdisplay/
Dcfag12864b-example.c86 munmap(cfag12864b_mem, CFAG12864B_SIZE); in cfag12864b_exit()
Dcfag12864b101 Also, you can mmap the framebuffer: open & mmap, munmap & close...
/linux-4.4.14/tools/testing/selftests/ptrace/
Dpeeksiginfo.c100 munmap(addr_rw, 2 * PAGE_SIZE); in check_error_paths()
/linux-4.4.14/Documentation/ia64/
Daliasing-test.c55 rc = munmap(addr, length); in map_mem()
/linux-4.4.14/tools/perf/
Ddesign.txt59 munmap : 1, /* include munmap data */
225 The 'mmap' and 'munmap' bits allow recording of PROT_EXEC mmap/munmap
/linux-4.4.14/Documentation/vm/
Dovercommit-accounting71 o We account munmap
Dunevictable-lru.txt27 - munmap()/exit()/exec() system call handling.
298 (2) munmap()'d out of the last VM_LOCKED VMA that maps the page, including
379 munlock(), munmap() or task exit. Neither does mlock_fixup() account these
496 munmap()/exit()/exec() SYSTEM CALL HANDLING
500 munmap() or via an internal unmap from exit() or exec() processing, we must
506 munmap() handler and task address space call tear down function
546 munlock or munmap system calls, mm teardown (munlock_vma_pages_all), reclaim,
Dhugetlbpage.txt319 not hugepage aligned. For example, munmap(2) will fail if memory is backed by
/linux-4.4.14/scripts/
Dsortextable.c72 munmap(ehdr_curr, sb.st_size); in cleanup()
Drecordmcount.c75 munmap(file_map, sb.st_size); in cleanup()
/linux-4.4.14/Documentation/mic/mpssd/
Dmpssd.c1051 munmap(mic->mic_virtblk.backend_addr, mic->mic_virtblk.backend_size); in close_backend()
1083 ret = munmap(mic->mic_virtblk.block_dp, in stop_virtblk()
1584 munmap(map, len); in set_log_buf_info()
1594 munmap(map, len); in set_log_buf_info()
1601 munmap(map, len); in set_log_buf_info()
/linux-4.4.14/Documentation/ABI/stable/
Dfirewire-cdev91 munmap(2)
/linux-4.4.14/tools/virtio/
Dvringh_test.c177 munmap(guest_map, mapsize); in parallel_test()
303 munmap(host_map, mapsize); in parallel_test()
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S167 ENTRY_SAME(munmap)
/linux-4.4.14/arch/um/os-Linux/skas/
Dprocess.c301 if (munmap(stack, UM_KERN_PAGE_SIZE) < 0) { in start_userspace()
/linux-4.4.14/Documentation/DocBook/media/
DMakefile51 munmap \
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h98 SYSCALL_SPU(munmap)
/linux-4.4.14/arch/s390/kernel/
Dcompat_wrapper.c86 COMPAT_SYSCALL_WRAP2(munmap, unsigned long, addr, size_t, len);
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl20 11 common munmap sys_munmap
Dsyscall_32.tbl100 91 i386 munmap sys_munmap
/linux-4.4.14/drivers/gpu/drm/tegra/
Dgem.c90 .munmap = tegra_bo_munmap,
/linux-4.4.14/Documentation/
Dcachetlb.txt64 Primarily, this is used for munmap() type operations.
176 Primarily, this is used for munmap() type operations.
/linux-4.4.14/tools/vm/
Dpage-types.c903 munmap(ptr, len); in walk_file()
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c518 munmap(map1, page_size); in TEST_SIGNAL()
519 munmap(map2, page_size); in TEST_SIGNAL()
/linux-4.4.14/tools/net/
Dbpf_dbg.c994 munmap(pcap_ptr_va_start, pcap_map_size); in try_close_pcap()
/linux-4.4.14/tools/perf/bench/
Dnuma.c387 ret = munmap(data, bytes); in free_data()
/linux-4.4.14/mm/
Dnommu.c1687 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) in SYSCALL_DEFINE2() argument
Dmmap.c2629 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) in SYSCALL_DEFINE2() argument
/linux-4.4.14/scripts/mod/
Dmodpost.c403 munmap(file, size); in release_file()
/linux-4.4.14/Documentation/networking/
Dpacket_mmap.txt926 munmap(ring->map, ring->req.tp_block_size * ring->req.tp_block_nr);
/linux-4.4.14/arch/x86/
DKconfig1678 exec() and munmap().
/linux-4.4.14/
DCREDITS1147 D: Improved mmap and munmap handling