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()
115 int err; in zend_shared_alloc_reattach() local
123 err = GetLastError(); in zend_shared_alloc_reattach()
124 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to read base address", err); in zend_shared_alloc_reattach()
146 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
147 …sage(ACCEL_LOG_WARNING, "Opcode handlers are unusable due to ASLR (fall-back to file cache)", err); in zend_shared_alloc_reattach()
149 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
150 …age(ACCEL_LOG_WARNING, "Base address marks unusable memory region (fall-back to file cache)", err); in zend_shared_alloc_reattach()
157 err = GetLastError(); in zend_shared_alloc_reattach()
158 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to opcache shared globals", err); in zend_shared_alloc_reattach()
167 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
168 …che.file_cache and opcache.file_cache_fallback directives for more convenient Opcache usage", err); in zend_shared_alloc_reattach()
170 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
171 …che.file_cache and opcache.file_cache_fallback directives for more convenient Opcache usage", err); in zend_shared_alloc_reattach()
179 err = GetLastError(); in zend_shared_alloc_reattach()
180 if (err == ERROR_INVALID_ADDRESS) { in zend_shared_alloc_reattach()
181 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to base address", err); in zend_shared_alloc_reattach()
189 err = GetLastError(); in zend_shared_alloc_reattach()
190 zend_win_error_message(ACCEL_LOG_FATAL, "VirtualProtect() failed", err); in zend_shared_alloc_reattach()
202 int err = 0, ret; in create_segments() local
227 err = GetLastError(); in create_segments()
233 err = GetLastError(); in create_segments()
251 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to open file mapping", err); in create_segments()
260 err = GetLastError(); in create_segments()
262 zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed", err); in create_segments()
272 err = GetLastError(); in create_segments()
274 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to create file mapping", err); in create_segments()
293 …zend_win_error_message(ACCEL_LOG_FATAL, "Bad mapping address specified in opcache.mmap_base", err); in create_segments()
307 err = GetLastError(); in create_segments()
309 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to create view for file mapping", err); in create_segments()
316 err = GetLastError(); in create_segments()
317 zend_win_error_message(ACCEL_LOG_FATAL, "VirtualProtect() failed", err); in create_segments()