/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | compaction_test.c | 204 munmap(map, MAP_SIZE); in main() 221 munmap(entry->map, MAP_SIZE); in main()
|
H A D | virtual_address_range.c | 142 munmap(ptr[i], MAP_CHUNK_SIZE); in main() 145 munmap(hptr[i], MAP_CHUNK_SIZE); in main()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress03.c | 30 * the brk segments with munmap. This should cause the vm system to use a 100 if (munmap(hole_addr, pagesize) == -1) { in main() 101 ERROR("failed to munmap odd hole in brk segment"); in main() 124 hole_addr = hole_start + pagesize; /* munmap the other pages */ in main() 126 if (munmap(hole_addr, pagesize) == -1) { in main() 127 ERROR("failed to munmap even hole in brk segment"); in main()
|
/third_party/libdrm/tests/radeon/ |
H A D | rbo.c | 129 munmap(bo->data, bo->size); in rbo_unmap() 149 munmap(bo->data, bo->size); in rbo_decref()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 11-4.c | 117 munmap(pa, len); in main() 153 munmap(pa, len); in main()
|
H A D | 3-1.c | 130 munmap(pa, size); in main() 131 munmap(pa2, size2); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
H A D | 16-1.c | 128 munmap(pa, sizeof(int)); in main() 138 munmap(pa, sizeof(int)); in main()
|
/third_party/mksh/ |
H A D | lalloc.c | 50 if (munmap(lp, lp->len)) in free_osimalloc() 76 if (munmap(lold, lold->len)) in remalloc() 77 err(1, "remalloc: munmap"); in remalloc()
|
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitWXExecAllocator.c | 120 munmap((void *)ptr, size); in sljit_malloc_exec() 136 munmap((void*)start_ptr, *start_ptr); in sljit_free_exec()
|
/third_party/skia/third_party/externals/freetype/builds/vms/ |
H A D | ftsystem.c | 52 munmap( char* addr, 196 munmap( (MUNMAP_ARG_CAST)stream->descriptor.pointer, stream->size ); in ft_close_stream()
|
/third_party/rust/crates/rustix/src/mm/ |
H A D | mmap.rs | 73 /// `munmap(ptr, len)` 83 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/munmap.html 84 /// [Linux]: https://man7.org/linux/man-pages/man2/munmap.2.html 86 pub unsafe fn munmap(ptr: *mut c_void, len: usize) -> io::Result<()> { in munmap() functions 87 backend::mm::syscalls::munmap(ptr, len) in munmap()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | user_ringbuf.c | 118 ASSERT_OK(munmap(mmap_ptr, page_size), "unmap_ro_cons"); in test_user_ringbuf_mappings() 127 ASSERT_OK(munmap(mmap_ptr, page_size), "unmap_rw_prod"); in test_user_ringbuf_mappings() 136 ASSERT_OK(munmap(mmap_ptr, page_size), "unmap_rw_data"); in test_user_ringbuf_mappings() 231 ASSERT_OK(munmap(producer_pos_ptr, page_size), "unmap_producer_pos"); in manually_write_test_invalid_sample() 232 ASSERT_OK(munmap(data_ptr, page_size), "unmap_data_ptr"); in manually_write_test_invalid_sample()
|
/third_party/libunwind/libunwind/src/dwarf/ |
H A D | Gfind_proc_info-lsb.c | 131 munmap(ei.image, ei.size); in load_debug_frame() 149 munmap(ei.image, ei.size); in load_debug_frame() 159 munmap(*buf, *bufsize); in load_debug_frame() 160 munmap(ei.image, ei.size); in load_debug_frame() 172 munmap(ei.image, ei.size); in load_debug_frame() 185 munmap(ei.image, ei.size); in load_debug_frame() 210 munmap(ei.image, ei.size); in load_debug_frame() 552 munmap (ei.image, ei.size); in Elf_W()
|
/kernel/linux/linux-6.6/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 356 munmap(p, mfd_def_size); in mfd_assert_read() 369 munmap(p, mfd_def_size); in mfd_assert_read() 388 munmap(p, mfd_def_size); in mfd_assert_read_shared() 422 munmap(p, mfd_def_size); in mfd_assert_fork_private_write() 456 munmap(p, mfd_def_size); in mfd_assert_write() 470 munmap(p, mfd_def_size); in mfd_assert_write() 492 munmap(p, mfd_def_size); in mfd_assert_write() 556 munmap(p, mfd_def_size); in mfd_fail_write() 983 munmap(p, mfd_def_size); in test_seal_future_write() 1484 munmap( in test_share_mmap() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
H A D | 18-1-buildonly.c | 11 * int munmap(void *, size_t) 26 dummyvar = munmap; in dummyfcn()
|
/third_party/musl/src/thread/loongarch64/ |
H A D | __unmapself.s | 4 li.d $a7, 215 # call munmap
|
/third_party/musl/src/mman/ |
H A D | munmap.c | 17 weak_alias(__munmap, munmap);
|
/third_party/musl/src/locale/ |
H A D | catclose.c | 12 munmap(map, V(map+8)+20); in catclose()
|
/third_party/toybox/toys/android/ |
H A D | load_policy.c | 30 munmap(policy_data, policy_len); in load_policy_main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 93 munmap(p + MAP_SIZE, MAP_SIZE); in testcase() 94 munmap(p + 3 * MAP_SIZE, MAP_SIZE); in testcase()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | srccode.c | 82 munmap(sf->map, sf->maplen); in free_srcfile() 148 munmap(h->map, sz); in find_srcfile()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 75 munmap(td->map, page_size); in thread_fn() 122 munmap(td0->map, page_size); in threads_destroy()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 75 munmap(td->map, page_size); in thread_fn() 122 munmap(td0->map, page_size); in threads_destroy()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | srccode.c | 82 munmap(sf->map, sf->maplen); in free_srcfile() 147 munmap(h->map, sz); in find_srcfile()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 93 munmap(p + MAP_SIZE, MAP_SIZE); in testcase() 94 munmap(p + 3 * MAP_SIZE, MAP_SIZE); in testcase()
|