/external/igt-gpu-tools/tests/i915/ |
D | gem_mmap_wc.c | 151 munmap(dst, OBJECT_SIZE); in test_copy() 152 munmap(src, OBJECT_SIZE); in test_copy() 182 munmap(ptr, OBJECT_SIZE); in test_read_write() 208 munmap(r, OBJECT_SIZE); in test_read_write2() 209 munmap(w, OBJECT_SIZE); in test_read_write2() 225 munmap(src, OBJECT_SIZE); in test_write() 250 munmap(cpu, OBJECT_SIZE); in test_coherency() 251 munmap(wc, OBJECT_SIZE); in test_coherency() 268 munmap(dst_gtt, OBJECT_SIZE); in test_write_gtt() 275 munmap(src, OBJECT_SIZE); in test_write_gtt() [all …]
|
D | gem_gtt_speed.c | 155 munmap(base, size); 172 munmap(base, size); 194 munmap(base, size); 210 munmap(base, size); 222 munmap(base, size); 233 munmap(base, size); 268 munmap(base, size); 283 munmap(base, size); 302 munmap(base, size); 323 munmap(base, size); [all …]
|
D | gem_mmap_gtt.c | 145 munmap(r, pages * PAGE_SIZE); in test_short() 146 munmap(w, pages * PAGE_SIZE); in test_short() 163 munmap(dst, OBJECT_SIZE); in test_copy() 164 munmap(src, OBJECT_SIZE); in test_copy() 193 munmap(ptr, OBJECT_SIZE); in test_read_write() 219 munmap(r, OBJECT_SIZE); in test_read_write2() 220 munmap(w, OBJECT_SIZE); in test_read_write2() 236 munmap(src, OBJECT_SIZE); in test_write() 280 munmap(cpu, 4096); in test_wc() 281 munmap(gtt, 4096); in test_wc() [all …]
|
D | gem_ctx_sseu.c | 264 munmap(page[0], 4096); in test_invalid_args() 271 munmap(page[0], 8192); in test_invalid_args() 280 munmap(page[1], 4096); in test_invalid_args() 284 munmap(page[0], 4096); in test_invalid_args() 289 munmap(page[0], 8192); in test_invalid_args() 301 munmap(page[0], 4096); in test_invalid_args() 302 munmap(page[1], 4096); in test_invalid_args() 339 munmap(page[0], 4096); in test_invalid_args() 346 munmap(page[0], 8192); in test_invalid_args() 355 munmap(page[1], 4096); in test_invalid_args() [all …]
|
D | gem_pwrite_pread.c | 129 munmap(dst_ptr, len); in as_gtt_mmap() 130 munmap(src_ptr, len); in as_gtt_mmap() 154 munmap(dst_ptr, len); in as_cpu_mmap() 155 munmap(src_ptr, len); in as_cpu_mmap() 199 munmap(dst_ptr, len); in test_as_gtt_mmap() 200 munmap(src_ptr, len); in test_as_gtt_mmap() 223 munmap(dst_ptr, len); in test_as_cpu_mmap() 224 munmap(src_ptr, len); in test_as_cpu_mmap()
|
D | i915_suspend.c | 103 munmap(ptr1, OBJECT_SIZE); in test_fence_restore() 104 munmap(ptr2, OBJECT_SIZE); in test_fence_restore() 105 munmap(ptr_tiled, OBJECT_SIZE); in test_fence_restore() 183 munmap(mem, size); in test_shrink()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | mmap.c | 118 err = munmap(map_mmaped, map_sz); in test_mmap() 140 err = munmap(p, map_sz); in test_mmap() 155 munmap(tmp1, map_sz); in test_mmap() 177 err = munmap(tmp1 + page_size, page_size); in test_mmap() 179 munmap(tmp1, map_sz); in test_mmap() 187 munmap(tmp1, page_size); in test_mmap() 188 munmap(tmp1 + 2*page_size, page_size); in test_mmap() 198 munmap(tmp1, 3 * page_size); /* unmap page 1 */ in test_mmap() 211 munmap(tmp2, 4 * page_size); in test_mmap() 214 CHECK_FAIL(munmap(bss_mmaped, bss_sz)); in test_mmap() [all …]
|
/external/igt-gpu-tools/tests/ |
D | prime_mmap.c | 98 munmap(ptr1, BO_SIZE); in test_correct() 99 munmap(ptr2, BO_SIZE); in test_correct() 122 munmap(ptr, BO_SIZE); in test_map_unmap() 127 munmap(ptr, BO_SIZE); in test_map_unmap() 152 munmap(ptr, BO_SIZE); in test_reprime() 159 munmap(ptr, BO_SIZE); in test_reprime() 182 munmap(ptr, BO_SIZE); in test_forked() 215 munmap(ptr, BO_SIZE); in test_correct_cpu_write() 241 munmap(ptr, BO_SIZE); in test_forked_cpu_write() 267 munmap(ptr, BO_SIZE); in test_refcounting() [all …]
|
D | prime_vgem.c | 52 munmap(ptr, scratch.size); in test_read() 111 munmap(ptr, scratch.size); in test_fence_read() 169 munmap(ptr, scratch.size); in test_fence_mmap() 203 munmap(ptr, scratch.size); in test_write() 225 munmap(ptr, scratch.size); in test_gtt() 232 munmap(ptr, scratch.size); in test_gtt() 237 munmap(ptr, scratch.size); in test_gtt() 319 munmap(gtt, scratch.size); in test_gtt_interleaved() 320 munmap(ptr, scratch.size); in test_gtt_interleaved() 422 munmap(batch, size); in work() [all …]
|
D | prime_mmap_coherency.c | 76 munmap(ptr_gtt, width * height); in test_read_flush() 102 munmap(ptr_cpu, width * height); in test_read_flush() 172 munmap(ptr_cpu, width * height); in test_write_flush() 236 munmap(ptr_cpu, width * height); in blit_and_cmp() 237 munmap(ptr2_cpu, width * height); in blit_and_cmp()
|
/external/strace/tests-mx32/ |
D | tail_alloc.c | 47 if (munmap(p, page_size) || in tail_alloc() 48 munmap(p + 2 * page_size, page_size) || in tail_alloc() 49 munmap(tail_guard, page_size) || in tail_alloc() 50 munmap(tail_guard + 2 * page_size, page_size)) in tail_alloc()
|
D | pc.c | 53 assert(munmap(&main, 0) < 0); in main() 81 (void) munmap((void *) addr, size); in main() 82 (void) munmap((void *) addr, size); in main()
|
/external/strace/tests/ |
D | tail_alloc.c | 47 if (munmap(p, page_size) || in tail_alloc() 48 munmap(p + 2 * page_size, page_size) || in tail_alloc() 49 munmap(tail_guard, page_size) || in tail_alloc() 50 munmap(tail_guard + 2 * page_size, page_size)) in tail_alloc()
|
D | pc.c | 53 assert(munmap(&main, 0) < 0); in main() 81 (void) munmap((void *) addr, size); in main() 82 (void) munmap((void *) addr, size); in main()
|
/external/strace/tests-m32/ |
D | tail_alloc.c | 47 if (munmap(p, page_size) || in tail_alloc() 48 munmap(p + 2 * page_size, page_size) || in tail_alloc() 49 munmap(tail_guard, page_size) || in tail_alloc() 50 munmap(tail_guard + 2 * page_size, page_size)) in tail_alloc()
|
D | pc.c | 53 assert(munmap(&main, 0) < 0); in main() 81 (void) munmap((void *) addr, size); in main() 82 (void) munmap((void *) addr, size); in main()
|
/external/freetype/builds/unix/ |
D | ft-munmap.m4 | 15 [AC_MSG_CHECKING([for munmap's first parameter type]) 21 int munmap(void *, size_t); 28 [Define to 1 if the first argument of munmap is of type void *])], 32 # end of ft-munmap.m4
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
D | munmap03.c | 120 TEST(munmap(addr, map_len)); in test_einval1() 137 TEST(munmap(addr, map_len)); in test_einval2() 147 TEST(munmap(addr, map_len)); in test_einval3() 154 if (munmap(global_addr, global_maplen) == -1) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap10.c | 148 if (munmap(x + SIZE + ps, SIZE - ps - ps) == -1) in mmapzero() 159 if (munmap(x + SIZE + ps, SIZE - ps - ps) == -1) in mmapzero() 168 if (munmap(x + SIZE + ps, SIZE - ps - ps) == -1) in mmapzero() 178 if (munmap(x, SIZE + SIZE - ps) == -1) in mmapzero()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 7-1.c | 79 munmap(pa, size); in main() 93 munmap(pa, size); in main() 99 munmap(pa, size); in main()
|
/external/libffi/src/ |
D | closures.c | 84 munmap(dataseg, rounded_size); in ffi_closure_alloc() 88 munmap(codeseg, rounded_size); in ffi_closure_alloc() 89 munmap(dataseg, rounded_size); in ffi_closure_alloc() 109 munmap(dataseg, rounded_size); in ffi_closure_free() 110 munmap(codeseg, rounded_size); in ffi_closure_free() 522 #define munmap dlmunmap macro 527 #undef munmap 810 munmap (ptr, length); in dlmmap_locked() 887 int ret = munmap (code, length); in dlmunmap() 892 return munmap (start, length); in dlmunmap()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap02.c | 105 if (munmap(addrlist[i], 256 * 1024 * 1024) == -1) in test_hugemmap() 110 if (munmap(addr2, map_sz) == -1) in test_hugemmap() 112 if (munmap(addr, page_sz) == -1) in test_hugemmap()
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_process.c | 126 if (munmap(p, memsize) == -1) in mmap_anon() 156 if (munmap(p, memsize) == -1) in mmap_file() 177 if (munmap(p, memsize) == -1) in mmap_lock1() 199 if (munmap(p, memsize) == -1) in mmap_lock2()
|
/external/pcre/src/sljit/ |
D | sljitProtExecAllocator.c | 212 munmap((void *)retval, size); in alloc_chunk() 238 munmap((void *)retval, size); in alloc_chunk() 243 munmap(retval->executable, size); in alloc_chunk() 244 munmap((void *)retval, size); in alloc_chunk() 256 munmap(header->executable, size); in free_chunk() 257 munmap((void *)header, size); in free_chunk()
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 258 munmap(p, mfd_def_size); in mfd_assert_read() 271 munmap(p, mfd_def_size); in mfd_assert_read() 290 munmap(p, mfd_def_size); in mfd_assert_read_shared() 324 munmap(p, mfd_def_size); in mfd_assert_fork_private_write() 358 munmap(p, mfd_def_size); in mfd_assert_write() 372 munmap(p, mfd_def_size); in mfd_assert_write() 394 munmap(p, mfd_def_size); in mfd_assert_write() 799 munmap(p, mfd_def_size); in test_seal_future_write() 945 munmap(p, mfd_def_size); in test_share_mmap() 951 munmap(p, mfd_def_size); in test_share_mmap()
|