Home
last modified time | relevance | path

Searched refs:munmap (Results 101 - 125 of 758) sorted by relevance

12345678910>>...31

/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dcompaction_test.c204 munmap(map, MAP_SIZE); in main()
221 munmap(entry->map, MAP_SIZE); in main()
H A Dvirtual_address_range.c142 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 Dmmapstress03.c30 * 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 Drbo.c129 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 D11-4.c117 munmap(pa, len); in main()
153 munmap(pa, len); in main()
H A D3-1.c130 munmap(pa, size); in main()
131 munmap(pa2, size2); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D16-1.c128 munmap(pa, sizeof(int)); in main()
138 munmap(pa, sizeof(int)); in main()
/third_party/mksh/
H A Dlalloc.c50 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 DsljitWXExecAllocator.c120 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 Dftsystem.c52 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 Dmmap.rs73 /// `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 Duser_ringbuf.c118 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 DGfind_proc_info-lsb.c131 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 Dmemfd_test.c356 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 D18-1-buildonly.c11 * int munmap(void *, size_t)
26 dummyvar = munmap; in dummyfcn()
/third_party/musl/src/thread/loongarch64/
H A D__unmapself.s4 li.d $a7, 215 # call munmap
/third_party/musl/src/mman/
H A Dmunmap.c17 weak_alias(__munmap, munmap);
/third_party/musl/src/locale/
H A Dcatclose.c12 munmap(map, V(map+8)+20); in catclose()
/third_party/toybox/toys/android/
H A Dload_policy.c30 munmap(policy_data, policy_len); in load_policy_main()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c93 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 Dsrccode.c82 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 Dmmap-thread-lookup.c75 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 Dmmap-thread-lookup.c75 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 Dsrccode.c82 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 Dmemcmp.c93 munmap(p + MAP_SIZE, MAP_SIZE); in testcase()
94 munmap(p + 3 * MAP_SIZE, MAP_SIZE); in testcase()

Completed in 10 milliseconds

12345678910>>...31