Home
last modified time | relevance | path

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

/PHP-8.0/ext/opcache/
H A Dshared_alloc_mmap.c69 if (p != MAP_FAILED) { in create_segments()
73 if (p != MAP_FAILED) { in create_segments()
77 if (p != MAP_FAILED) { in create_segments()
84 if (p != MAP_FAILED) { in create_segments()
90 if (p != MAP_FAILED) { in create_segments()
96 if (p == MAP_FAILED) { in create_segments()
H A Dconfig.m4186 #ifndef MAP_FAILED
187 # define MAP_FAILED ((void*)-1)
196 if (shm == MAP_FAILED) {
238 #ifndef MAP_FAILED
239 # define MAP_FAILED ((void*)-1)
264 if (shm == MAP_FAILED) {
H A Dshared_alloc_posix.c67 if (shared_segment->common.p == MAP_FAILED) { in create_segments()
H A DZendAccelerator.c2729 # ifndef MAP_FAILED
2730 # define MAP_FAILED ((void*)-1) macro
2743 void *ret = MAP_FAILED; in accel_remap_huge_pages()
2750 if (mem == MAP_FAILED) { in accel_remap_huge_pages()
2764 if (ret == MAP_FAILED) { in accel_remap_huge_pages()
2770 ZEND_ASSERT(ret != MAP_FAILED); in accel_remap_huge_pages()
2848 if (addr != MAP_FAILED) { in accel_move_code_to_huge_pages()
/PHP-8.0/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-8.0/main/streams/
H A Dphp_streams_int.h40 #ifndef MAP_FAILED
41 #define MAP_FAILED ((void *) -1) macro
H A Dplain_wrapper.c757 if (range->mapped == (char*)MAP_FAILED) { in php_stdiop_set_option()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_perf_dump.c102 static void *jitdump_mem = MAP_FAILED;
176 if (jitdump_mem == MAP_FAILED) { in zend_jit_perf_jitdump_open()
204 if (jitdump_mem != MAP_FAILED) { in zend_jit_perf_jitdump_close()
/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c203 if (retval == MAP_FAILED) { in alloc_chunk()
210 if (retval->executable == MAP_FAILED) { in alloc_chunk()
229 if (retval == MAP_FAILED) in alloc_chunk()
233 if (maprx == MAP_FAILED) { in alloc_chunk()
H A DsljitExecAllocator.c136 if (ptr == MAP_FAILED) { in get_map_jit_flag()
176 if (retval == MAP_FAILED) in alloc_chunk()
H A DsljitUtils.c353 if (ptr == MAP_FAILED) { in sljit_allocate_stack()
/PHP-8.0/ext/fileinfo/libmagic/
H A Dder.c442 if ((p = mmap(NULL, l, PROT_READ, MAP_FILE, fd, 0)) == MAP_FAILED) in main()
H A Dapprentice.c81 #ifdef MAP_FAILED
82 #undef MAP_FAILED
90 #ifndef MAP_FAILED
91 #define MAP_FAILED (void *) -1 macro
/PHP-8.0/Zend/
H A Dzend_alloc.c89 # ifndef MAP_FAILED
90 # define MAP_FAILED ((void*)-1) macro
431 if (ptr == MAP_FAILED) { in zend_mm_mmap_fixed()
467 if (ptr != MAP_FAILED) { in zend_mm_mmap()
475 if (ptr == MAP_FAILED) { in zend_mm_mmap()
770 if (ptr == MAP_FAILED) {
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch62 #ifndef MAP_FAILED
63 #define MAP_FAILED (void *) -1
206 - if (map->p && map->p != MAP_FAILED)
696 - MAP_PRIVATE|MAP_FILE, fd, CAST(off_t, 0))) == MAP_FAILED) {
/PHP-8.0/sapi/litespeed/
H A Dlsapilib.c2965 if ( pBuf == MAP_FAILED ) in lsapi_init_children_status()

Completed in 74 milliseconds