new_persistent_script 1135 ext/opcache/ZendAccelerator.c static zend_persistent_script *cache_script_in_shared_memory(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length, int *from_shared_memory TSRMLS_DC)
new_persistent_script 1141 ext/opcache/ZendAccelerator.c 	if (!zend_accel_script_persistable(new_persistent_script)) {
new_persistent_script 1142 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1145 ext/opcache/ZendAccelerator.c 	if (!zend_accel_script_optimize(new_persistent_script TSRMLS_CC)) {
new_persistent_script 1146 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1149 ext/opcache/ZendAccelerator.c 	if (!compact_persistent_script(new_persistent_script)) {
new_persistent_script 1150 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1161 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1167 ext/opcache/ZendAccelerator.c 	bucket = zend_accel_hash_find_entry(&ZCSG(hash), new_persistent_script->full_path, new_persistent_script->full_path_len + 1);
new_persistent_script 1174 ext/opcache/ZendAccelerator.c 			     (new_persistent_script->timestamp == existing_persistent_script->timestamp))) {
new_persistent_script 1178 ext/opcache/ZendAccelerator.c 			return new_persistent_script;
new_persistent_script 1183 ext/opcache/ZendAccelerator.c 	memory_used = zend_accel_script_persist_calc(new_persistent_script, key, key_length TSRMLS_CC);
new_persistent_script 1190 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1194 ext/opcache/ZendAccelerator.c 	new_persistent_script->mem  = ZCG(mem);
new_persistent_script 1195 ext/opcache/ZendAccelerator.c 	new_persistent_script->size = memory_used;
new_persistent_script 1198 ext/opcache/ZendAccelerator.c 	new_persistent_script = zend_accel_script_persist(new_persistent_script, &key, key_length TSRMLS_CC);
new_persistent_script 1201 ext/opcache/ZendAccelerator.c 	if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) {
new_persistent_script 1203 ext/opcache/ZendAccelerator.c 			((char*)new_persistent_script->mem + new_persistent_script->size < (char*)ZCG(mem)) ? ACCEL_LOG_ERROR : ACCEL_LOG_WARNING,
new_persistent_script 1205 ext/opcache/ZendAccelerator.c 			new_persistent_script->full_path,
new_persistent_script 1206 ext/opcache/ZendAccelerator.c 			new_persistent_script->mem,
new_persistent_script 1207 ext/opcache/ZendAccelerator.c 			(char *)new_persistent_script->mem + new_persistent_script->size,
new_persistent_script 1211 ext/opcache/ZendAccelerator.c 	new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script);
new_persistent_script 1214 ext/opcache/ZendAccelerator.c 	bucket = zend_accel_hash_update(&ZCSG(hash), new_persistent_script->full_path, new_persistent_script->full_path_len + 1, 0, new_persistent_script);
new_persistent_script 1216 ext/opcache/ZendAccelerator.c 		zend_accel_error(ACCEL_LOG_INFO, "Cached script '%s'", new_persistent_script->full_path);
new_persistent_script 1220 ext/opcache/ZendAccelerator.c 		    (new_persistent_script->full_path_len != key_length ||
new_persistent_script 1221 ext/opcache/ZendAccelerator.c 		     memcmp(new_persistent_script->full_path, key, key_length) != 0)) {
new_persistent_script 1233 ext/opcache/ZendAccelerator.c 	new_persistent_script->dynamic_members.memory_consumption = ZEND_ALIGNED_SIZE(new_persistent_script->size);
new_persistent_script 1238 ext/opcache/ZendAccelerator.c 	return new_persistent_script;
new_persistent_script 1294 ext/opcache/ZendAccelerator.c 	zend_persistent_script *new_persistent_script;
new_persistent_script 1371 ext/opcache/ZendAccelerator.c 	new_persistent_script = create_persistent_script();
new_persistent_script 1381 ext/opcache/ZendAccelerator.c 	EG(class_table) = CG(class_table) = &new_persistent_script->class_table;
new_persistent_script 1412 ext/opcache/ZendAccelerator.c 		free_persistent_script(new_persistent_script, 1);
new_persistent_script 1424 ext/opcache/ZendAccelerator.c 	zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS_CC);
new_persistent_script 1425 ext/opcache/ZendAccelerator.c 	new_persistent_script->main_op_array = *op_array;
new_persistent_script 1433 ext/opcache/ZendAccelerator.c 		new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals(TSRMLS_C);
new_persistent_script 1435 ext/opcache/ZendAccelerator.c 		new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit(TSRMLS_C);
new_persistent_script 1439 ext/opcache/ZendAccelerator.c 		new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals(TSRMLS_C);
new_persistent_script 1447 ext/opcache/ZendAccelerator.c 		new_persistent_script->timestamp = timestamp;
new_persistent_script 1448 ext/opcache/ZendAccelerator.c 		new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalidate_freq;
new_persistent_script 1452 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path_len = strlen(file_handle->opened_path);
new_persistent_script 1453 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path = estrndup(file_handle->opened_path, new_persistent_script->full_path_len);
new_persistent_script 1455 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path_len = strlen(file_handle->filename);
new_persistent_script 1456 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path = estrndup(file_handle->filename, new_persistent_script->full_path_len);
new_persistent_script 1458 ext/opcache/ZendAccelerator.c 	new_persistent_script->hash_value = zend_hash_func(new_persistent_script->full_path, new_persistent_script->full_path_len + 1);
new_persistent_script 1461 ext/opcache/ZendAccelerator.c 	return cache_script_in_shared_memory(new_persistent_script, key, key_length, from_shared_memory TSRMLS_CC);
new_persistent_script  362 ext/opcache/zend_persist_calc.c uint zend_accel_script_persist_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length TSRMLS_DC)
new_persistent_script  366 ext/opcache/zend_persist_calc.c 	ADD_SIZE(zend_hash_persist_calc(&new_persistent_script->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC));
new_persistent_script  367 ext/opcache/zend_persist_calc.c 	ADD_SIZE(zend_accel_persist_class_table_calc(&new_persistent_script->class_table TSRMLS_CC));
new_persistent_script  368 ext/opcache/zend_persist_calc.c 	ADD_SIZE(zend_persist_op_array_calc(&new_persistent_script->main_op_array TSRMLS_CC));
new_persistent_script  370 ext/opcache/zend_persist_calc.c 	ADD_DUP_SIZE(new_persistent_script->full_path, new_persistent_script->full_path_len + 1);
new_persistent_script  371 ext/opcache/zend_persist_calc.c 	ADD_DUP_SIZE(new_persistent_script, sizeof(zend_persistent_script));