Searched refs:ZSMMG (Results 1 – 5 of 5) sorted by relevance
/PHP-8.0/ext/opcache/ |
H A D | zend_shared_alloc.c | 124 ZSMMG(shared_segments) = NULL; in zend_shared_alloc_try() 224 ZSMMG(shared_segments)[i]->end = ZSMMG(shared_segments)[i]->size; in zend_shared_alloc_startup() 262 ZSMMG(shared_segments)[i]->end = ZSMMG(shared_segments)[i]->size - reserved_size; in zend_shared_alloc_startup() 263 ZSMMG(reserved) = (char*)ZSMMG(shared_segments)[i]->p + ZSMMG(shared_segments)[i]->end; in zend_shared_alloc_startup() 318 size_t block_size = ZSMMG(shared_segments)[i]->end - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block() 570 return ZSMMG(shared_free); in zend_shared_alloc_get_free_memory() 578 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state() 580 ZSMMG(shared_memory_state).shared_free = ZSMMG(shared_free); in zend_shared_alloc_save_state() 588 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state() 590 ZSMMG(shared_free) = ZSMMG(shared_memory_state).shared_free; in zend_shared_alloc_restore_state() [all …]
|
H A D | zend_accelerator_module.c | 468 …snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(… 470 …(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memo… 474 snprintf(buf, sizeof(buf), "%zu", ZSMMG(wasted_shared_memory)); 602 add_assoc_bool(return_value, "cache_full", ZSMMG(memory_exhausted)); 608 …(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memo… 610 add_assoc_long(&memory_usage, "wasted_memory", ZSMMG(wasted_shared_memory)); 611 …add_assoc_double(&memory_usage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory… 636 …add_assoc_long(&statistics, "misses", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(black…
|
H A D | zend_shared_alloc.h | 124 #define ZSMMG(element) (smm_shared_globals->element) macro
|
H A D | ZendAccelerator.c | 1319 if (ZSMMG(memory_exhausted)) { in zend_accel_invalidate() 1343 ZSMMG(memory_exhausted) = 1; in zend_accel_add_key() 1477 ZSMMG(memory_exhausted) = 1; in cache_script_in_shared_memory() 1581 ZSMMG(memory_exhausted) = 1; in cache_script_in_shared_memory() 2109 if (ZSMMG(memory_exhausted)) { in persistent_compile_file() 2134 if (ZSMMG(memory_exhausted)) { in persistent_compile_file() 2159 if (ZSMMG(memory_exhausted) || ZCSG(restart_pending)) { in persistent_compile_file() 2381 ZSMMG(memory_exhausted) = 0; in zend_reset_cache_vars() 2385 ZSMMG(wasted_shared_memory) = 0; in zend_reset_cache_vars() 2654 ZSMMG(app_shared_globals) = accel_shared_globals; in zend_accel_init_shm() [all …]
|
H A D | zend_file_cache.c | 1750 !ZSMMG(memory_exhausted) && 1771 ZSMMG(memory_exhausted) = 1;
|
Completed in 27 milliseconds