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.c67 return MAP_FAILED; in find_prefered_mmap_base()
127 if (addr != MAP_FAILED) { in find_prefered_mmap_base()
212 hint = MAP_FAILED; in create_segments()
214 if (hint != MAP_FAILED) { in create_segments()
219 if (p != MAP_FAILED) { in create_segments()
225 if (p != MAP_FAILED) { in create_segments()
249 if (p != MAP_FAILED) { in create_segments()
253 if (p != MAP_FAILED) { in create_segments()
264 if (p != MAP_FAILED) { in create_segments()
270 if (p != MAP_FAILED) { in create_segments()
[all …]
H A Dconfig.m4196 #ifndef MAP_FAILED
197 # define MAP_FAILED ((void*)-1)
206 if (shm == MAP_FAILED) {
260 #ifndef MAP_FAILED
261 # define MAP_FAILED ((void*)-1)
286 if (shm == MAP_FAILED) {
H A Dshared_alloc_posix.c106 if (shared_segment->common.p == MAP_FAILED) { in create_segments()
H A DZendAccelerator.c2961 # ifndef MAP_FAILED
2962 # define MAP_FAILED ((void*)-1) macro
2975 void *ret = MAP_FAILED; in accel_remap_huge_pages()
2982 if (mem == MAP_FAILED) { in accel_remap_huge_pages()
2996 if (ret == MAP_FAILED) { in accel_remap_huge_pages()
3002 ZEND_ASSERT(ret != MAP_FAILED); in accel_remap_huge_pages()
3085 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.c66 if (ptr != MAP_FAILED) in get_map_jit_flag()
124 if (retval == MAP_FAILED) in alloc_chunk()
H A DsljitExecAllocatorPosix.c51 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 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.h42 #ifndef MAP_FAILED
43 #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.c62 # ifndef MAP_FAILED
63 # define MAP_FAILED ((void * ) -1) macro
246 if (pointer == MAP_FAILED) { in zend_fiber_stack_allocate()
284 if (stack->ss_base == MAP_FAILED) { in zend_fiber_stack_allocate()
H A Dzend_alloc.c97 # ifndef MAP_FAILED
98 # define MAP_FAILED ((void*)-1) macro
514 if (ptr == MAP_FAILED) { in zend_mm_mmap_fixed()
553 if (ptr != MAP_FAILED) { in zend_mm_mmap()
562 if (ptr == MAP_FAILED) { in zend_mm_mmap()
863 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 91 milliseconds