Home
last modified time | relevance | path

Searched refs:ZSMMG (Results 1 – 5 of 5) sorted by relevance

/PHP-7.1/ext/opcache/
H A Dzend_shared_alloc.c125 ZSMMG(shared_segments) = NULL; in zend_shared_alloc_try()
245 free(ZSMMG(shared_segments)); in zend_shared_alloc_startup()
276 efree(ZSMMG(shared_segments)); in zend_shared_alloc_shutdown()
290 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block()
467 return ZSMMG(shared_free); in zend_shared_alloc_get_free_memory()
475 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state()
477 ZSMMG(shared_memory_state).shared_free = ZSMMG(shared_free); in zend_shared_alloc_save_state()
485 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state()
487 ZSMMG(shared_free) = ZSMMG(shared_memory_state).shared_free; in zend_shared_alloc_restore_state()
488 ZSMMG(memory_exhausted) = 0; in zend_shared_alloc_restore_state()
[all …]
H A Dzend_accelerator_module.c487 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(b…
489 …(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memo…
493 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZSMMG(wasted_shared_memory));
625 add_assoc_bool(return_value, "cache_full", ZSMMG(memory_exhausted));
631 …(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memo…
633 add_assoc_long(&memory_usage, "wasted_memory", ZSMMG(wasted_shared_memory));
634 …add_assoc_double(&memory_usage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory…
659 …add_assoc_long(&statistics, "misses", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(black…
H A Dzend_shared_alloc.h117 #define ZSMMG(element) (smm_shared_globals->element) macro
H A DZendAccelerator.c1179 if (ZSMMG(memory_exhausted)) { in zend_accel_invalidate()
1203 ZSMMG(memory_exhausted) = 1; in zend_accel_add_key()
1323 ZSMMG(memory_exhausted) = 1; in cache_script_in_shared_memory()
1395 ZSMMG(memory_exhausted) = 1; in cache_script_in_shared_memory()
1835 if (ZSMMG(memory_exhausted)) { in persistent_compile_file()
1860 if (ZSMMG(memory_exhausted)) { in persistent_compile_file()
1887 if (ZSMMG(memory_exhausted) || ZCSG(restart_pending)) { in persistent_compile_file()
2087 ZSMMG(memory_exhausted) = 0; in zend_reset_cache_vars()
2091 ZSMMG(wasted_shared_memory) = 0; in zend_reset_cache_vars()
2540 ZSMMG(app_shared_globals) = accel_shared_globals; in zend_accel_init_shm()
[all …]
H A Dzend_file_cache.c1434 !ZSMMG(memory_exhausted) && in zend_file_cache_script_load()
1455 ZSMMG(memory_exhausted) = 1; in zend_file_cache_script_load()

Completed in 31 milliseconds