/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise02.c | 161 SAFE_MUNMAP(file2 + st.st_size - pagesize, pagesize); in setup() 195 SAFE_MUNMAP(file1, st.st_size); in cleanup() 196 SAFE_MUNMAP(file2, st.st_size - pagesize); in cleanup() 197 SAFE_MUNMAP(file3, st.st_size); in cleanup() 198 SAFE_MUNMAP(shared_anon, MAP_SIZE); in cleanup()
|
D | madvise01.c | 91 SAFE_MUNMAP(sfile, st.st_size); in cleanup() 92 SAFE_MUNMAP(amem, st.st_size); in cleanup()
|
D | madvise06.c | 144 SAFE_MUNMAP(target, CHUNK_SZ); in test_advice_willneed() 165 SAFE_MUNMAP(target, CHUNK_SZ); in test_advice_willneed()
|
D | madvise05.c | 35 SAFE_MUNMAP(p, ALLOC_SIZE); in verify_madvise()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 150 SAFE_MUNMAP(addr, tcases[n].tpages * hpsz); in do_test() 181 SAFE_MUNMAP(addr, tcases[n].tpages * hpsz); in do_test() 188 SAFE_MUNMAP(addr, tcases[n].tpages * hpsz); in do_test() 234 SAFE_MUNMAP(mem, size); in alloc_free_huge_on_node() 242 SAFE_MUNMAP(mem, size); in alloc_free_huge_on_node()
|
/external/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 122 SAFE_MUNMAP(cleanup, addr, len); in test_enomem1() 152 SAFE_MUNMAP(cleanup, addr, len); in test_enomem2() 181 SAFE_MUNMAP(cleanup, addr, len); in test_eperm()
|
D | mlock04.c | 76 SAFE_MUNMAP(cleanup, buf, file_len); in main()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create03.c | 118 SAFE_MUNMAP(mem, hps); in test_def_pagesize() 156 SAFE_MUNMAP(new_mem, hps); in test_max_hugepages() 161 SAFE_MUNMAP(mem, free_pages * hps); in test_max_hugepages()
|
D | memfd_create01.c | 176 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap() 182 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect04.c | 128 SAFE_MUNMAP(cleanup, addr, page_sz); in testfunc_protnone() 250 SAFE_MUNMAP(cleanup, p, page_sz); in testfunc_protexec() 279 SAFE_MUNMAP(cleanup, p, page_sz); in testfunc_protexec()
|
D | mprotect02.c | 142 SAFE_MUNMAP(cleanup, addr, sizeof(buf)); in main() 174 SAFE_MUNMAP(NULL, addr, sizeof(buf)); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/msync/ |
D | msync04.c | 74 SAFE_MUNMAP(mmaped_area, pagesize); in test_msync() 86 SAFE_MUNMAP(mmaped_area, pagesize); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 94 SAFE_MUNMAP(unmapped_addr, pgsz * PAGES); in setup() 103 SAFE_MUNMAP(addr, pgsz); in cleanup()
|
D | mlock203.c | 83 SAFE_MUNMAP(addr, pgsz); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/remap_file_pages/ |
D | remap_file_pages02.c | 152 SAFE_MUNMAP(data, page_sz); in cleanup() 155 SAFE_MUNMAP(data01, page_sz); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap16.c | 203 SAFE_MUNMAP(NULL, addr, page_size * 2); in do_child() 229 SAFE_MUNMAP(NULL, addr, 2 * page_size); in do_child()
|
/external/ltp/testcases/kernel/syscalls/mincore/ |
D | mincore01.c | 117 SAFE_MUNMAP(cleanup, t, global_len); in setup2() 135 SAFE_MUNMAP(cleanup, global_pointer + global_len, global_len); in setup3()
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
D | zram03.c | 104 SAFE_MUNMAP(cleanup, s, SIZE); in write_device() 135 SAFE_MUNMAP(cleanup, s, SIZE); in verify_device()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap1.c | 121 SAFE_MUNMAP(tmp, file_size); in map_write_unmap() 206 SAFE_MUNMAP(distant_area, (size_t)DISTANT_MMAP_SIZE); in setup()
|
/external/ltp/include/ |
D | tst_numa.h | 72 SAFE_MUNMAP(ptr, size); in tst_numa_unmap()
|
/external/ltp/testcases/kernel/security/integrity/ima/src/ |
D | ima_mmap.c | 27 SAFE_MUNMAP(file, MMAPSIZE); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wait04.c | 52 SAFE_MUNMAP(NULL, buf, pagesize); in verify_futex_wait()
|
D | futex_cmp_requeue02.c | 68 SAFE_MUNMAP((void *)futexes, sizeof(futex_t) * 2); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit06.c | 49 SAFE_MUNMAP(end, sizeof(int)); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages02.c | 158 SAFE_MUNMAP(private, getpagesize()); in test_migrate_current_process() 196 SAFE_MUNMAP(shared, getpagesize()); in test_migrate_current_process()
|