Home
last modified time | relevance | path

Searched refs:munmap (Results 126 - 150 of 351) sorted by relevance

12345678910>>...15

/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap14.c84 if (munmap(addr, MMAPSIZE) != 0) in main()
85 tst_brkm(TFAIL | TERRNO, NULL, "munmap failed"); in main()
/third_party/ltp/testcases/kernel/syscalls/msync/
H A Dmsync01.c194 if (munmap(addr, page_sz) == -1) in cleanup()
195 tst_resm(TBROK | TERRNO, "munmap failed"); in cleanup()
H A Dmsync02.c148 if (munmap(addr, page_sz) == -1) in cleanup()
149 tst_resm(TBROK | TERRNO, "munmap failed"); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/mincore/
H A Dmincore02.c54 munmap(addr, page_size * num_pages); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/munmap/
H A Dmunmap02.c24 * Verify that, munmap call will succeed to unmap a mapped file or
30 * munmap call should succeed to unmap a part or all of mapped region of a
110 * Call munmap to unmap the part of the mapped region of the in main()
114 TEST(munmap(addr, map_len)); in main()
116 /* Check for the return value of munmap() */ in main()
118 tst_resm(TFAIL, "munmap() fails, errno=%d : %s", in main()
238 tst_resm(TPASS, "Functionality of munmap() successful"); in sig_handler()
H A Dmunmap01.c24 * Verify that, munmap call will succeed to unmap a mapped file or
26 * and after successful completion of munmap, the unmapped region is no
30 * munmap call should succeed to unmap a mapped file or anonymous shared
106 * Call munmap to unmap the mapped region of the in main()
109 TEST(munmap(addr, map_len)); in main()
111 /* Check for the return value of munmap() */ in main()
113 tst_resm(TFAIL, "munmap() fails, errno=%d : %s", in main()
225 tst_resm(TPASS, "Functionality of munmap() successful"); in sig_handler()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D11-5.c93 munmap(pa, len); in main()
H A D11-6.c95 munmap(pa, len); in main()
H A D7-3.c105 munmap(pa, size); in main()
H A D7-4.c103 munmap(pa, size); in main()
H A D24-2.c103 munmap(pa, len); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
H A D1-2.c7 * The munmap() function shall remove any mappings for those
37 #define TNAME "munmap/1-2.c"
103 munmap(pa, len); in main()
H A D4-1.c15 * 3. munmap the mapped memory;
37 #define TNAME "munmap/4-1.c"
93 munmap(pa, size); in main()
H A D3-1.c31 #define TNAME "munmap/3-1.c"
87 if (munmap(pa2, len) == -1 && errno == EINVAL) { in main()
92 printf("Test FAILED: " TNAME " munmap returns: %s\n", in main()
H A D9-1.c7 * The munmap() function shall fail if:
28 #define TNAME "munmap/9-1.c"
78 if (munmap(pa, 0) == -1 && errno == EINVAL) { in main()
H A D1-1.c7 * The munmap() function shall remove any mappings for those
37 #define TNAME "munmap/1-1.c"
104 if (munmap(pa, len) == -1) { in main()
105 printf("Test FAILED: " TNAME " Error at munmap: %s\n", in main()
/third_party/musl/libc-test/src/api/
H A Dsys_mman.c55 {int(*p)(void*,size_t) = munmap;} in f()
/third_party/pulseaudio/src/tests/
H A Dsigbus-test.c70 munmap(p, page_size); in START_TEST()
/third_party/ffmpeg/libavutil/
H A Dhwcontext_drm.c114 munmap(map->address[i], map->length[i]); in drm_unmap_frame()
199 munmap(map->address[i], map->length[i]); in drm_map_frame()
H A Dfile.c149 munmap(bufptr, size); in av_file_unmap()
/third_party/libdrm/tegra/
H A Dtegra.c43 munmap(bo->map, bo->size); in drm_tegra_bo_free()
237 if (munmap(bo->map, bo->size)) in drm_tegra_bo_unmap()
/third_party/selinux/libselinux/src/
H A Dload_policy.c183 munmap(map, sb.st_size); in selinux_mkload_policy()
202 munmap(map, sb.st_size); in selinux_mkload_policy()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_bufmgr.c645 munmap(bo->map_cpu, bo->size); in bo_free()
649 munmap(bo->map_wc, bo->size); in bo_free()
653 munmap(bo->map_gtt, bo->size); in bo_free()
866 munmap(map, bo->size); in crocus_bo_map_cpu()
918 munmap(map, bo->size); in crocus_bo_map_wc()
998 munmap(map, bo->size); in crocus_bo_map_gtt()
/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_preinit.c45 .munmap = MuslMalloc(munmap),
213 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "munmap"); in init_munmap_function()
321 if (!init_munmap_function(shared_library_handler, &table->munmap, prefix)) { in init_hook_functions()
/third_party/musl/src/hook/linux/
H A Dmusl_preinit.c60 .munmap = MuslMalloc(munmap),
228 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "munmap"); in init_munmap_function()
335 if (!init_munmap_function(shared_library_handler, &table->munmap, prefix)) { in init_hook_functions()

Completed in 15 milliseconds

12345678910>>...15