Home
last modified time | relevance | path

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

/PHP-8.2/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()
203 hint = MAP_FAILED; in create_segments()
205 if (hint != MAP_FAILED) { in create_segments()
210 if (p != MAP_FAILED) { in create_segments()
216 if (p != MAP_FAILED) { in create_segments()
240 if (p != MAP_FAILED) { in create_segments()
244 if (p != MAP_FAILED) { in create_segments()
255 if (p != MAP_FAILED) { in create_segments()
261 if (p != MAP_FAILED) { in create_segments()
[all …]
H A Dconfig.m4199 #ifndef MAP_FAILED
200 # define MAP_FAILED ((void*)-1)
209 if (shm == MAP_FAILED) {
261 #ifndef MAP_FAILED
262 # define MAP_FAILED ((void*)-1)
287 if (shm == MAP_FAILED) {
H A Dshared_alloc_posix.c67 if (shared_segment->common.p == MAP_FAILED) { in create_segments()
H A DZendAccelerator.c2962 # ifndef MAP_FAILED
2963 # define MAP_FAILED ((void*)-1) macro
2976 void *ret = MAP_FAILED; in accel_remap_huge_pages()
2983 if (mem == MAP_FAILED) { in accel_remap_huge_pages()
2997 if (ret == MAP_FAILED) { in accel_remap_huge_pages()
3003 ZEND_ASSERT(ret != MAP_FAILED); in accel_remap_huge_pages()
3083 if (addr != MAP_FAILED) { in accel_move_code_to_huge_pages()
/PHP-8.2/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.2/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.2/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.2/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.c137 if (ptr == MAP_FAILED) in sljit_malloc_exec()
H A DsljitUtils.c283 if (ptr == MAP_FAILED) { in sljit_allocate_stack()
/PHP-8.2/Zend/
H A Dzend_fibers.c61 # ifndef MAP_FAILED
62 # define MAP_FAILED ((void * ) -1) macro
219 if (pointer == MAP_FAILED) { in zend_fiber_stack_allocate()
H A Dzend_alloc.c90 # ifndef MAP_FAILED
91 # define MAP_FAILED ((void*)-1) macro
485 if (ptr == MAP_FAILED) { in zend_mm_mmap_fixed()
524 if (ptr != MAP_FAILED) { in zend_mm_mmap()
533 if (ptr == MAP_FAILED) { in zend_mm_mmap()
828 if (ptr == MAP_FAILED) {
/PHP-8.2/ext/fileinfo/libmagic/
H A Dder.c441 if ((p = mmap(NULL, l, PROT_READ, MAP_FILE, fd, 0)) == MAP_FAILED) in main()
H A Dapprentice.c80 #ifdef MAP_FAILED
81 #undef MAP_FAILED
89 #ifndef MAP_FAILED
90 #define MAP_FAILED (void *) -1 macro
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch60 #ifndef MAP_FAILED
61 #define MAP_FAILED (void *) -1
204 - if (map->p && map->p != MAP_FAILED)
712 - MAP_PRIVATE|MAP_FILE, fd, CAST(off_t, 0))) == MAP_FAILED) {
/PHP-8.2/sapi/litespeed/
H A Dlsapilib.c2983 if ( pBuf == MAP_FAILED ) in lsapi_init_children_status()

Completed in 123 milliseconds