Home
last modified time | relevance | path

Searched refs:reserved_size (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/ext/opcache/
H A Dzend_shared_alloc.h119 size_t reserved_size; member
128 int zend_shared_alloc_startup(size_t requested_size, size_t reserved_size);
H A Dzend_shared_alloc.c148 int zend_shared_alloc_startup(size_t requested_size, size_t reserved_size) in zend_shared_alloc_startup() argument
162 ZSMMG(shared_free) = requested_size - reserved_size; /* goes to tmp_shared_globals.shared_free */ in zend_shared_alloc_startup()
259 if (reserved_size) { in zend_shared_alloc_startup()
261 if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= reserved_size) { in zend_shared_alloc_startup()
262 ZSMMG(shared_segments)[i]->end = ZSMMG(shared_segments)[i]->size - reserved_size; in zend_shared_alloc_startup()
264 ZSMMG(reserved_size) = reserved_size; in zend_shared_alloc_startup()

Completed in 7 milliseconds