Lines Matching refs:err
41 static void zend_win_error_message(int type, char *msg, int err) in zend_win_error_message() argument
52 err, in zend_win_error_message()
65 err, // event identifier in zend_win_error_message()
142 int err; in zend_shared_alloc_reattach() local
149 err = GetLastError(); in zend_shared_alloc_reattach()
150 zend_win_error_message(ACCEL_LOG_WARNING, mmap_base_file, err); in zend_shared_alloc_reattach()
151 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to open base address file", err); in zend_shared_alloc_reattach()
156 err = GetLastError(); in zend_shared_alloc_reattach()
157 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to read base address", err); in zend_shared_alloc_reattach()
165 err = GetLastError(); in zend_shared_alloc_reattach()
166 zend_win_error_message(ACCEL_LOG_WARNING, mmap_base_file, err); in zend_shared_alloc_reattach()
179 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
180 …age(ACCEL_LOG_WARNING, "Base address marks unusable memory region (fall-back to file cache)", err); in zend_shared_alloc_reattach()
186 err = GetLastError(); in zend_shared_alloc_reattach()
187 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to opcache shared globals", err); in zend_shared_alloc_reattach()
195 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
196 …che.file_cache and opcache.file_cache_fallback directives for more convenient Opcache usage", err); in zend_shared_alloc_reattach()
203 err = GetLastError(); in zend_shared_alloc_reattach()
204 if (err == ERROR_INVALID_ADDRESS) { in zend_shared_alloc_reattach()
205 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to base address", err); in zend_shared_alloc_reattach()
217 int err = 0, ret; in create_segments() local
242 err = GetLastError(); in create_segments()
248 err = GetLastError(); in create_segments()
266 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to open file mapping", err); in create_segments()
275 err = GetLastError(); in create_segments()
277 zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed", err); in create_segments()
287 err = GetLastError(); in create_segments()
289 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to create file mapping", err); in create_segments()
308 …zend_win_error_message(ACCEL_LOG_FATAL, "Bad mapping address specified in opcache.mmap_base", err); in create_segments()
322 err = GetLastError(); in create_segments()
324 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to create view for file mapping", err); in create_segments()
331 err = GetLastError(); in create_segments()
333 zend_win_error_message(ACCEL_LOG_WARNING, mmap_base_file, err); in create_segments()
334 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to write base address", err); in create_segments()