/external/linux-kselftest/tools/testing/selftests/vm/ |
D | map_fixed_noreplace.c | 48 if (p == MAP_FAILED) { in main() 68 if (p == MAP_FAILED) { in main() 88 if (p != MAP_FAILED) { in main() 109 if (p != MAP_FAILED) { in main() 129 if (p != MAP_FAILED) { in main() 149 if (p != MAP_FAILED) { in main() 169 if (p == MAP_FAILED) { in main() 189 if (p == MAP_FAILED) { in main()
|
D | virtual_address_range.c | 91 if (ptr == MAP_FAILED) in validate_lower_address_hint() 108 if (ptr[i] == MAP_FAILED) { in main() 124 if (hptr[i] == MAP_FAILED) in main()
|
/external/selinux/libselinux/src/ |
D | sestatus.c | 98 if (selinux_status == MAP_FAILED) { in selinux_status_updated() 141 if (selinux_status == MAP_FAILED) { in selinux_status_getenforce() 178 if (selinux_status == MAP_FAILED) { in selinux_status_policyload() 213 if (selinux_status == MAP_FAILED) in selinux_status_deny_unknown() 276 if (selinux_status == MAP_FAILED) { in selinux_status_open() 302 selinux_status = MAP_FAILED; in selinux_status_open() 332 if (selinux_status == MAP_FAILED) in selinux_status_close()
|
/external/compiler-rt/lib/profile/ |
D | WindowsMMap.c | 35 return MAP_FAILED; in mmap() 38 return MAP_FAILED; in mmap() 40 return MAP_FAILED; in mmap() 64 return MAP_FAILED; in mmap() 78 ret = MAP_FAILED; in mmap()
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap05.c | 80 .exp_ret = MAP_FAILED, 89 .exp_ret = MAP_FAILED, 98 .exp_ret = MAP_FAILED, 131 if (p == MAP_FAILED) in get_test_area() 144 if (t->ret != MAP_FAILED) { in test_mremap() 199 if (t->ret == MAP_FAILED) in cleanup0() 207 if (t->ret == MAP_FAILED) { in cleanup1()
|
/external/libffi/testsuite/libffi.call/ |
D | ffitest.h | 45 # ifndef MAP_FAILED 46 # define MAP_FAILED -1 macro 58 # ifndef MAP_FAILED 59 # define MAP_FAILED -1 macro
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
D | ffitest.h | 45 # ifndef MAP_FAILED 46 # define MAP_FAILED -1 macro 58 # ifndef MAP_FAILED 59 # define MAP_FAILED -1 macro
|
/external/tensorflow/tensorflow/lite/ |
D | mmap_allocation.cc | 29 : Allocation(error_reporter), mmapped_buffer_(MAP_FAILED) { in MMAPAllocation() 40 if (mmapped_buffer_ == MAP_FAILED) { in MMAPAllocation() 57 bool MMAPAllocation::valid() const { return mmapped_buffer_ != MAP_FAILED; } in valid()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 28-3.c | 53 if (buf == MAP_FAILED) { in main() 75 if (buf == MAP_FAILED && errno == EBADF) { in main() 78 } else if (buf == MAP_FAILED) { in main()
|
/external/blktrace/btt/ |
D | mmap.c | 36 static void *cur_map = MAP_FAILED; 83 if (cur_map != MAP_FAILED) in move_map() 93 if (cur_map == MAP_FAILED) { in move_map() 125 if (cur_map != MAP_FAILED) in cleanup_ifile()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev06.c | 180 if (bad_addr[0] == MAP_FAILED) in setup() 185 if (good_addr[0] == MAP_FAILED) in setup() 190 if (bad_addr[1] == MAP_FAILED) in setup() 195 if (good_addr[1] == MAP_FAILED) in setup()
|
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | segment.c | 147 if (segp->seg_start == MAP_FAILED) in unmap_segment() 165 segp->seg_start = MAP_FAILED; in unmap_segment() 267 if (memp == MAP_FAILED) { in map_anon_segment() 400 if (memp == MAP_FAILED) { in map_file_segment() 448 if (segp->seg_start == MAP_FAILED) { in map_shm_segment() 525 segp->seg_start = MAP_FAILED; in segment_register() 592 if (segp->seg_start != MAP_FAILED) { in show_one_segment() 734 if (segp->seg_start == MAP_FAILED) in segment_unmap() 751 segp->seg_start = MAP_FAILED; in segment_unmap() 773 if (segp->seg_start != MAP_FAILED) { in segment_map() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 27-1.c | 59 if (pa == MAP_FAILED) { in main() 74 if (pa == MAP_FAILED) { in main() 81 if (pa == MAP_FAILED) { in main()
|
D | 24-2.c | 72 if (pa == MAP_FAILED) { in main() 95 if (pa == MAP_FAILED && errno == ENOMEM) { in main() 100 if (pa == MAP_FAILED) in main()
|
D | 19-1.c | 34 if (pa == MAP_FAILED && errno == EBADF) { in main() 39 if (pa == MAP_FAILED) in main()
|
D | 23-1.c | 41 if (pa == MAP_FAILED && errno == ENODEV) { in main() 48 if (pa == MAP_FAILED) { in main()
|
/external/u-boot/tools/ |
D | mingw_support.c | 44 return MAP_FAILED; in mmap() 50 return MAP_FAILED; in mmap() 57 return MAP_FAILED; in mmap()
|
/external/elfutils/lib/ |
D | crc32_file.c | 54 if (mapped == MAP_FAILED && errno == ENOMEM) in crc32_file() 60 fd, 0)) == MAP_FAILED && errno == ENOMEM) in crc32_file() 63 if (mapped != MAP_FAILED) in crc32_file()
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 165 if (p == MAP_FAILED) { in mfd_assert_mmap_shared() 183 if (p == MAP_FAILED) { in mfd_assert_mmap_private() 238 if (p == MAP_FAILED) { in mfd_assert_read() 251 if (p == MAP_FAILED) { in mfd_assert_read() 284 if (p == MAP_FAILED) { in mfd_assert_write() 298 if (p == MAP_FAILED) { in mfd_assert_write() 313 if (p == MAP_FAILED) { in mfd_assert_write() 358 if (p != MAP_FAILED) { in mfd_fail_write() 370 if (p != MAP_FAILED) { in mfd_fail_write() 383 if (p != MAP_FAILED) { in mfd_fail_write()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 6-1-buildonly.c | 18 #ifndef MAP_FAILED 19 #error MAP_FAILED not defined
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_process.c | 138 if (p == MAP_FAILED) in mmap_anon() 165 if (p == MAP_FAILED) { in mmap_file() 189 if (p == MAP_FAILED) in mmap_lock1() 205 if (p == MAP_FAILED) in mmap_lock2()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect02.c | 55 static char *addr = MAP_FAILED; 143 addr = MAP_FAILED; in main() 173 if (addr != MAP_FAILED) { in cleanup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap02.c | 91 if (addr == MAP_FAILED) in test_hugemmap() 104 if (addr2 == MAP_FAILED) { in test_hugemmap() 111 if (addr2 == MAP_FAILED) in test_hugemmap()
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-free-ring-with-bogus-nr-pages.c | 48 if (map == MAP_FAILED) in main() 52 if (map == MAP_FAILED) in main()
|
/external/strace/tests-mx32/ |
D | mmap.c | 76 if (MAP_FAILED == p) in main() 117 if (MAP_FAILED == addr) in main() 123 if (MAP_FAILED == p) in main()
|