Home
last modified time | relevance | path

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

/php-src/ext/opcache/
H A Dshared_alloc_mmap.c64 return MAP_FAILED; in find_prefered_mmap_base()
124 if (addr != MAP_FAILED) { in find_prefered_mmap_base()
202 if (hint != MAP_FAILED) { in create_segments()
207 if (p != MAP_FAILED) { in create_segments()
213 if (p != MAP_FAILED) { in create_segments()
237 if (p != MAP_FAILED) { in create_segments()
241 if (p != MAP_FAILED) { in create_segments()
245 if (p != MAP_FAILED) { in create_segments()
252 if (p != MAP_FAILED) { in create_segments()
258 if (p != MAP_FAILED) { in create_segments()
[all …]
H A Dconfig.m4192 #ifndef MAP_FAILED
193 # define MAP_FAILED ((void*)-1)
202 if (shm == MAP_FAILED) {
261 #ifndef MAP_FAILED
262 # define MAP_FAILED ((void*)-1)
287 if (shm == MAP_FAILED) {
H A Dshared_alloc_posix.c106 if (shared_segment->common.p == MAP_FAILED) { in create_segments()
H A DZendAccelerator.c2941 # ifndef MAP_FAILED
2942 # define MAP_FAILED ((void*)-1) macro
2955 void *ret = MAP_FAILED; in accel_remap_huge_pages()
2962 if (mem == MAP_FAILED) { in accel_remap_huge_pages()
2976 if (ret == MAP_FAILED) { in accel_remap_huge_pages()
2982 ZEND_ASSERT(ret != MAP_FAILED); in accel_remap_huge_pages()
3065 if (addr != MAP_FAILED) { in accel_move_code_to_huge_pages()
/php-src/sapi/fpm/fpm/
H A Dfpm_shm.c24 #ifdef MAP_FAILED in fpm_shm_alloc()
25 if (mem == MAP_FAILED) { in fpm_shm_alloc()
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitProtExecAllocatorNetBSD.c46 if (retval == MAP_FAILED) in alloc_chunk()
50 if (retval->executable == MAP_FAILED) { in alloc_chunk()
H A DsljitExecAllocatorApple.c65 if (ptr != MAP_FAILED) in get_map_jit_flag()
120 if (retval == MAP_FAILED) in alloc_chunk()
H A DsljitProtExecAllocatorPosix.c147 if (retval == MAP_FAILED) { in alloc_chunk()
154 if (retval->executable == MAP_FAILED) { in alloc_chunk()
H A DsljitExecAllocatorPosix.c51 if (retval == MAP_FAILED) in alloc_chunk()
H A DsljitExecAllocatorFreeBSD.c68 if (retval == MAP_FAILED) { in alloc_chunk()
H A DsljitWXExecAllocatorPosix.c97 if (ptr == MAP_FAILED) in sljit_malloc_exec()
/php-src/main/streams/
H A Dphp_streams_int.h40 #ifndef MAP_FAILED
41 #define MAP_FAILED ((void *) -1) macro
H A Dplain_wrapper.c787 if (range->mapped == (char*)MAP_FAILED) { in php_stdiop_set_option()
/php-src/ext/opcache/jit/ir/
H A Dir_perf.c89 static void *jitdump_mem = MAP_FAILED;
163 if (jitdump_mem == MAP_FAILED) { in ir_perf_jitdump_open()
198 if (jitdump_mem != MAP_FAILED) { in ir_perf_jitdump_close()
H A Dir.c1696 if (ret == MAP_FAILED) {
/php-src/Zend/
H A Dzend_fibers.c59 # ifndef MAP_FAILED
60 # define MAP_FAILED ((void * ) -1) macro
243 if (pointer == MAP_FAILED) { in zend_fiber_stack_allocate()
281 if (stack->ss_base == MAP_FAILED) { in zend_fiber_stack_allocate()
H A Dzend_alloc.c93 # ifndef MAP_FAILED
94 # define MAP_FAILED ((void*)-1) macro
480 if (ptr == MAP_FAILED) { in zend_mm_mmap_fixed()
519 if (ptr != MAP_FAILED) { in zend_mm_mmap()
528 if (ptr == MAP_FAILED) { in zend_mm_mmap()
829 if (ptr == MAP_FAILED) {
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c283 if (ptr == MAP_FAILED) { in sljit_allocate_stack()
/php-src/ext/fileinfo/libmagic/
H A Dder.c453 if ((p = mmap(NULL, l, PROT_READ, MAP_FILE, fd, 0)) == MAP_FAILED) in main()
H A Dapprentice.c72 #ifdef MAP_FAILED
73 #undef MAP_FAILED
77 #ifndef MAP_FAILED
78 #define MAP_FAILED (void *) -1 macro
/php-src/ext/fileinfo/
H A Dlibmagic.patch142 - if (map->p && map->p != MAP_FAILED)
635 - MAP_PRIVATE|MAP_FILE, fd, CAST(off_t, 0))) == MAP_FAILED) {
/php-src/sapi/litespeed/
H A Dlsapilib.c2979 if ( pBuf == MAP_FAILED ) in lsapi_init_children_status()

Completed in 85 milliseconds