Lines Matching refs:err
47 static void zend_win_error_message(int type, char *msg, int err) in zend_win_error_message() argument
51 char *buf = php_win32_error_to_msg(err); in zend_win_error_message()
59 err, // event identifier in zend_win_error_message()
117 int err; in zend_shared_alloc_reattach() local
125 err = GetLastError(); in zend_shared_alloc_reattach()
126 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to read base address", err); in zend_shared_alloc_reattach()
148 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
149 …sage(ACCEL_LOG_WARNING, "Opcode handlers are unusable due to ASLR (fall-back to file cache)", err); in zend_shared_alloc_reattach()
151 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
152 …age(ACCEL_LOG_WARNING, "Base address marks unusable memory region (fall-back to file cache)", err); in zend_shared_alloc_reattach()
159 err = GetLastError(); in zend_shared_alloc_reattach()
160 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to opcache shared globals", err); in zend_shared_alloc_reattach()
169 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
170 …che.file_cache and opcache.file_cache_fallback directives for more convenient Opcache usage", err); in zend_shared_alloc_reattach()
172 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
173 …che.file_cache and opcache.file_cache_fallback directives for more convenient Opcache usage", err); in zend_shared_alloc_reattach()
181 err = GetLastError(); in zend_shared_alloc_reattach()
182 if (err == ERROR_INVALID_ADDRESS) { in zend_shared_alloc_reattach()
183 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to base address", err); in zend_shared_alloc_reattach()
191 err = GetLastError(); in zend_shared_alloc_reattach()
192 zend_win_error_message(ACCEL_LOG_FATAL, "VirtualProtect() failed", err); in zend_shared_alloc_reattach()
204 int err = 0, ret; in create_segments() local
229 err = GetLastError(); in create_segments()
235 err = GetLastError(); in create_segments()
253 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to open file mapping", err); in create_segments()
262 err = GetLastError(); in create_segments()
264 zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed", err); in create_segments()
274 err = GetLastError(); in create_segments()
276 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to create file mapping", err); in create_segments()
295 …zend_win_error_message(ACCEL_LOG_FATAL, "Bad mapping address specified in opcache.mmap_base", err); in create_segments()
309 err = GetLastError(); in create_segments()
311 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to create view for file mapping", err); in create_segments()
318 err = GetLastError(); in create_segments()
319 zend_win_error_message(ACCEL_LOG_FATAL, "VirtualProtect() failed", err); in create_segments()