Home
last modified time | relevance | path

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

/PHP-8.1/ext/opcache/
H A Dzend_shared_alloc.c124 ZSMMG(shared_segments) = NULL; in zend_shared_alloc_try()
226 ZSMMG(shared_segments)[i]->end = ZSMMG(shared_segments)[i]->size; in zend_shared_alloc_startup()
264 ZSMMG(shared_segments)[i]->end = ZSMMG(shared_segments)[i]->size - reserved_size; in zend_shared_alloc_startup()
265 ZSMMG(reserved) = (char*)ZSMMG(shared_segments)[i]->p + ZSMMG(shared_segments)[i]->end; in zend_shared_alloc_startup()
320 size_t block_size = ZSMMG(shared_segments)[i]->end - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block()
557 return ZSMMG(shared_free); in zend_shared_alloc_get_free_memory()
565 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_save_state()
567 ZSMMG(shared_memory_state).shared_free = ZSMMG(shared_free); in zend_shared_alloc_save_state()
575 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i]; in zend_shared_alloc_restore_state()
577 ZSMMG(shared_free) = ZSMMG(shared_memory_state).shared_free; in zend_shared_alloc_restore_state()
[all …]
H A Dzend_accelerator_module.c481 …snprintf(buf, sizeof(buf), ZEND_ULONG_FMT, ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(…
483 …(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memo…
487 snprintf(buf, sizeof(buf), "%zu", ZSMMG(wasted_shared_memory));
615 add_assoc_bool(return_value, "cache_full", ZSMMG(memory_exhausted));
621 …(accel_directives).memory_consumption-zend_shared_alloc_get_free_memory()-ZSMMG(wasted_shared_memo…
623 add_assoc_long(&memory_usage, "wasted_memory", ZSMMG(wasted_shared_memory));
624 …add_assoc_double(&memory_usage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory…
649 …add_assoc_long(&statistics, "misses", ZSMMG(memory_exhausted)?ZCSG(misses):ZCSG(misses)-ZCSG(black…
H A Dzend_shared_alloc.h124 #define ZSMMG(element) (smm_shared_globals->element) macro
H A DZendAccelerator.c1360 if (ZSMMG(memory_exhausted)) { in zend_accel_invalidate()
1411 ZSMMG(memory_exhausted) = 1; in zend_accel_add_key()
1544 ZSMMG(memory_exhausted) = 1; in cache_script_in_shared_memory()
1650 ZSMMG(memory_exhausted) = 1; in cache_script_in_shared_memory()
2114 if (ZSMMG(memory_exhausted)) { in persistent_compile_file()
2139 if (ZSMMG(memory_exhausted)) { in persistent_compile_file()
2164 if (ZSMMG(memory_exhausted) || ZCSG(restart_pending)) { in persistent_compile_file()
2603 ZSMMG(memory_exhausted) = 0; in zend_reset_cache_vars()
2607 ZSMMG(wasted_shared_memory) = 0; in zend_reset_cache_vars()
2876 ZSMMG(app_shared_globals) = accel_shared_globals; in zend_accel_init_shm()
[all …]
H A Dzend_file_cache.c1792 !ZSMMG(memory_exhausted) &&
1813 ZSMMG(memory_exhausted) = 1;

Completed in 68 milliseconds