Home
last modified time | relevance | path

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

/PHP-8.3/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.m4182 #ifndef MAP_FAILED
183 # define MAP_FAILED ((void*)-1)
192 if (shm == MAP_FAILED) {
244 #ifndef MAP_FAILED
245 # define MAP_FAILED ((void*)-1)
270 if (shm == MAP_FAILED) {
H A Dshared_alloc_posix.c67 if (shared_segment->common.p == MAP_FAILED) { in create_segments()
H A DZendAccelerator.c2937 # ifndef MAP_FAILED
2938 # define MAP_FAILED ((void*)-1) macro
2951 void *ret = MAP_FAILED; in accel_remap_huge_pages()
2958 if (mem == MAP_FAILED) { in accel_remap_huge_pages()
2972 if (ret == MAP_FAILED) { in accel_remap_huge_pages()
2978 ZEND_ASSERT(ret != MAP_FAILED); in accel_remap_huge_pages()
3058 if (addr != MAP_FAILED) { in accel_move_code_to_huge_pages()
/PHP-8.3/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.3/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-8.3/ext/opcache/jit/
H A Dzend_jit_perf_dump.c107 static void *jitdump_mem = MAP_FAILED;
182 if (jitdump_mem == MAP_FAILED) { in zend_jit_perf_jitdump_open()
212 if (jitdump_mem != MAP_FAILED) { in zend_jit_perf_jitdump_close()
/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c204 if (retval == MAP_FAILED) { in alloc_chunk()
211 if (retval->executable == MAP_FAILED) { in alloc_chunk()
233 if (retval == MAP_FAILED) in alloc_chunk()
237 if (retval->executable == MAP_FAILED) { in alloc_chunk()
H A DsljitExecAllocator.c131 if (ptr != MAP_FAILED) in get_map_jit_flag()
192 if (retval == MAP_FAILED) in alloc_chunk()
H A DsljitWXExecAllocator.c112 if (ptr == MAP_FAILED) in sljit_malloc_exec()
H A DsljitUtils.c283 if (ptr == MAP_FAILED) { in sljit_allocate_stack()
/PHP-8.3/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()
275 if (stack->ss_base == MAP_FAILED) { in zend_fiber_stack_allocate()
H A Dzend_alloc.c90 # ifndef MAP_FAILED
91 # define MAP_FAILED ((void*)-1) macro
484 if (ptr == MAP_FAILED) { in zend_mm_mmap_fixed()
523 if (ptr != MAP_FAILED) { in zend_mm_mmap()
532 if (ptr == MAP_FAILED) { in zend_mm_mmap()
827 if (ptr == MAP_FAILED) {
/PHP-8.3/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-8.3/ext/fileinfo/
H A Dlibmagic.patch134 - if (map->p && map->p != MAP_FAILED)
629 - MAP_PRIVATE|MAP_FILE, fd, CAST(off_t, 0))) == MAP_FAILED) {
/PHP-8.3/sapi/litespeed/
H A Dlsapilib.c2984 if ( pBuf == MAP_FAILED ) in lsapi_init_children_status()

Completed in 103 milliseconds