/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap14.c | 84 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 D | msync01.c | 194 if (munmap(addr, page_sz) == -1) in cleanup() 195 tst_resm(TBROK | TERRNO, "munmap failed"); in cleanup()
|
H A D | msync02.c | 148 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 D | mincore02.c | 54 munmap(addr, page_size * num_pages); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/munmap/ |
H A D | munmap02.c | 24 * 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 D | munmap01.c | 24 * 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 D | 11-5.c | 93 munmap(pa, len); in main()
|
H A D | 11-6.c | 95 munmap(pa, len); in main()
|
H A D | 7-3.c | 105 munmap(pa, size); in main()
|
H A D | 7-4.c | 103 munmap(pa, size); in main()
|
H A D | 24-2.c | 103 munmap(pa, len); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
H A D | 1-2.c | 7 * The munmap() function shall remove any mappings for those 37 #define TNAME "munmap/1-2.c" 103 munmap(pa, len); in main()
|
H A D | 4-1.c | 15 * 3. munmap the mapped memory; 37 #define TNAME "munmap/4-1.c" 93 munmap(pa, size); in main()
|
H A D | 3-1.c | 31 #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 D | 9-1.c | 7 * 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 D | 1-1.c | 7 * 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 D | sys_mman.c | 55 {int(*p)(void*,size_t) = munmap;} in f()
|
/third_party/pulseaudio/src/tests/ |
H A D | sigbus-test.c | 70 munmap(p, page_size); in START_TEST()
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_drm.c | 114 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 D | file.c | 149 munmap(bufptr, size); in av_file_unmap()
|
/third_party/libdrm/tegra/ |
H A D | tegra.c | 43 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 D | load_policy.c | 183 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 D | crocus_bufmgr.c | 645 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 D | musl_preinit.c | 45 .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 D | musl_preinit.c | 60 .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()
|