Home
last modified time | relevance | path

Searched refs:MAP_FAILED (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/external/selinux/libselinux/src/
Dsestatus.c98 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/
DWindowsMMap.c35 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/
Dmremap05.c80 .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/
Dffitest.h45 # ifndef MAP_FAILED
46 # define MAP_FAILED -1 macro
58 # ifndef MAP_FAILED
59 # define MAP_FAILED -1 macro
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/
Dffitest.h45 # 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/
Dffitest.h45 # ifndef MAP_FAILED
46 # define MAP_FAILED -1 macro
58 # ifndef MAP_FAILED
59 # define MAP_FAILED -1 macro
/external/valgrind/memcheck/tests/x86-linux/
Dbug133694.c9 …*)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED) in main()
21 … *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED) in main()
27 …mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED) in main()
/external/valgrind/none/tests/linux/
Dmremap3.c14 if (initial_area == MAP_FAILED) in main()
23 if (area == MAP_FAILED) in main()
32 if (a2 == MAP_FAILED) { in main()
/external/v8/src/base/platform/
Dplatform-solaris.cc61 if (mbase == MAP_FAILED) return NULL; in Allocate()
99 if (reservation == MAP_FAILED) return; in VirtualMemory()
172 if (result == MAP_FAILED) return NULL; in ReserveRegion()
180 if (MAP_FAILED == mmap(base, in CommitRegion()
198 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
Dplatform-openbsd.cc64 if (mbase == MAP_FAILED) return NULL; in Allocate()
148 DCHECK(addr != MAP_FAILED); in SignalCodeMovingGC()
178 if (reservation == MAP_FAILED) return; in VirtualMemory()
251 if (result == MAP_FAILED) return NULL; in ReserveRegion()
259 if (MAP_FAILED == mmap(base, in CommitRegion()
277 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
Dplatform-macos.cc65 if (mbase == MAP_FAILED) return NULL; in Allocate()
140 if (reservation == MAP_FAILED) return; in VirtualMemory()
213 if (result == MAP_FAILED) return NULL; in ReserveRegion()
223 if (MAP_FAILED == mmap(address, in CommitRegion()
241 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
Dplatform-linux.cc118 if (mbase == MAP_FAILED) return NULL; in Allocate()
201 DCHECK_NE(MAP_FAILED, addr); in SignalCodeMovingGC()
223 if (reservation == MAP_FAILED) return; in VirtualMemory()
290 if (result == MAP_FAILED) return NULL; in ReserveRegion()
300 if (MAP_FAILED == mmap(base, size, prot, in CommitRegion()
312 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
Dplatform-freebsd.cc66 if (mbase == MAP_FAILED) return NULL; in Allocate()
147 if (reservation == MAP_FAILED) return; in VirtualMemory()
220 if (result == MAP_FAILED) return NULL; in ReserveRegion()
228 if (MAP_FAILED == mmap(base, in CommitRegion()
246 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
/external/libmicrohttpd/src/microhttpd/
Dmemorypool.c31 #ifndef MAP_FAILED
32 #define MAP_FAILED ((void*)-1) macro
96 pool->memory = MAP_FAILED; in MHD_pool_create()
106 pool->memory = MAP_FAILED; in MHD_pool_create()
108 if ((pool->memory == MAP_FAILED) || (pool->memory == NULL)) in MHD_pool_create()
/external/autotest/client/site_tests/security_mprotect/src/
Dprot_exec.c38 fd, 0)) == MAP_FAILED) in main()
44 fd, 0)) != MAP_FAILED) in main()
49 fd, 0)) == MAP_FAILED) in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D28-3.c58 if (buf == MAP_FAILED) { in main()
80 if (buf == MAP_FAILED && errno == EBADF) { in main()
83 } else if (buf == MAP_FAILED) { in main()
/external/blktrace/btt/
Dmmap.c36 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/
Dwritev06.c180 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/
Dsegment.c150 if (segp->seg_start == MAP_FAILED) in unmap_segment()
168 segp->seg_start = MAP_FAILED; in unmap_segment()
270 if (memp == MAP_FAILED) { in map_anon_segment()
403 if (memp == MAP_FAILED) { in map_file_segment()
451 if (segp->seg_start == MAP_FAILED) { in map_shm_segment()
528 segp->seg_start = MAP_FAILED; in segment_register()
595 if (segp->seg_start != MAP_FAILED) { in show_one_segment()
737 if (segp->seg_start == MAP_FAILED) in segment_unmap()
754 segp->seg_start = MAP_FAILED; in segment_unmap()
776 if (segp->seg_start != MAP_FAILED) { in segment_map()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D27-1.c60 if (pa == MAP_FAILED) { in main()
75 if (pa == MAP_FAILED) { in main()
82 if (pa == MAP_FAILED) { in main()
/external/elfutils/lib/
Dcrc32_file.c53 if (mapped == MAP_FAILED && errno == ENOMEM) in crc32_file()
59 fd, 0)) == MAP_FAILED && errno == ENOMEM) in crc32_file()
62 if (mapped != MAP_FAILED) in crc32_file()
/external/strace/tests-mx32/
Dmmap.c67 if (MAP_FAILED == p) in main()
82 if (MAP_FAILED == addr) in main()
88 if (MAP_FAILED == p) in main()
/external/strace/tests-m32/
Dmmap.c67 if (MAP_FAILED == p) in main()
82 if (MAP_FAILED == addr) in main()
88 if (MAP_FAILED == p) in main()
/external/strace/tests/
Dmmap.c67 if (MAP_FAILED == p) in main()
82 if (MAP_FAILED == addr) in main()
88 if (MAP_FAILED == p) in main()
/external/linux-kselftest/tools/testing/selftests/vm/
Dvirtual_address_range.c91 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()

12345678910>>...18