/third_party/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap19.c | 52 SAFE_MUNMAP(mm1, LEN); in run() 53 SAFE_MUNMAP(mm2, LEN); in run() 82 SAFE_MUNMAP(mm1, LEN); in cleanup() 85 SAFE_MUNMAP(mm2, LEN); in cleanup()
|
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()
|
/third_party/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 | madvise05.c | 35 SAFE_MUNMAP(p, ALLOC_SIZE); in verify_madvise()
|
/third_party/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 161 SAFE_MUNMAP(addr, tcases[n].tpages * hpsz); in do_test() 192 SAFE_MUNMAP(addr, tcases[n].tpages * hpsz); in do_test() 199 SAFE_MUNMAP(addr, tcases[n].tpages * hpsz); in do_test() 245 SAFE_MUNMAP(mem, size); in alloc_free_huge_on_node() 253 SAFE_MUNMAP(mem, size); in alloc_free_huge_on_node()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp04.c | 68 SAFE_MUNMAP(ret, thp_size); in alloc_zero_page() 157 SAFE_MUNMAP(read_thp, thp_size); in cleanup() 159 SAFE_MUNMAP(write_thp, thp_size); in cleanup()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile04.c | 59 SAFE_MUNMAP(protected_buffer, sizeof(*protected_buffer)); in run() 66 SAFE_MUNMAP(protected_buffer, sizeof(*protected_buffer)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/mincore/ |
D | mincore03.c | 37 SAFE_MUNMAP(ptr, size); in cleanup() 73 SAFE_MUNMAP(ptr, size); in test_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()
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create03.c | 117 SAFE_MUNMAP(mem, hps); in test_def_pagesize() 155 SAFE_MUNMAP(new_mem, hps); in test_max_hugepages() 160 SAFE_MUNMAP(mem, free_pages * hps); in test_max_hugepages()
|
D | memfd_create01.c | 177 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap() 183 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/msync/ |
D | msync04.c | 75 SAFE_MUNMAP(mmaped_area, pagesize); in test_msync() 87 SAFE_MUNMAP(mmaped_area, pagesize); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 94 SAFE_MUNMAP(unmapped_addr, pgsz * PAGES); in setup() 103 SAFE_MUNMAP(addr, pgsz); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev03.c | 80 SAFE_MUNMAP(map_ptr, BUF_SIZE); in thread_run() 126 SAFE_MUNMAP(map_ptr, BUF_SIZE); in cleanup()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring01.c | 234 SAFE_MUNMAP(s->sqes, sizeof(struct io_uring_sqe)); in cleanup_io_uring_test() 235 SAFE_MUNMAP(cptr, cptr_size); in cleanup_io_uring_test() 236 SAFE_MUNMAP(sptr, sptr_size); in cleanup_io_uring_test()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
D | mmap1.c | 112 SAFE_MUNMAP(tmp, file_size); in map_write_unmap() 206 SAFE_MUNMAP(distant_area, distant_mmap_size); in setup()
|
/third_party/ltp/testcases/kernel/device-drivers/zram/ |
D | zram03.c | 58 SAFE_MUNMAP(s, SIZE); in write_device() 88 SAFE_MUNMAP(s, SIZE); in verify_device()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
D | clone03.c | 50 SAFE_MUNMAP(child_pid, sizeof(*child_pid)); in cleanup()
|
/third_party/ltp/testcases/kernel/security/integrity/ima/src/ |
D | ima_mmap.c | 22 SAFE_MUNMAP(file, MMAPSIZE); in cleanup()
|
/third_party/ltp/include/ |
D | tst_numa.h | 70 SAFE_MUNMAP(ptr, size); in tst_numa_unmap()
|