new_persistent_script 1160 ext/opcache/ZendAccelerator.c static zend_persistent_script *cache_script_in_file_cache(zend_persistent_script *new_persistent_script, int *from_shared_memory)
new_persistent_script 1165 ext/opcache/ZendAccelerator.c 	if (!zend_accel_script_persistable(new_persistent_script)) {
new_persistent_script 1166 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1169 ext/opcache/ZendAccelerator.c 	if (!zend_accel_script_optimize(new_persistent_script)) {
new_persistent_script 1170 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1176 ext/opcache/ZendAccelerator.c 	memory_used = zend_accel_script_persist_calc(new_persistent_script, NULL, 0);
new_persistent_script 1188 ext/opcache/ZendAccelerator.c 	new_persistent_script = zend_accel_script_persist(new_persistent_script, NULL, 0);
new_persistent_script 1192 ext/opcache/ZendAccelerator.c 	new_persistent_script->is_phar =
new_persistent_script 1193 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path &&
new_persistent_script 1194 ext/opcache/ZendAccelerator.c 		strstr(ZSTR_VAL(new_persistent_script->full_path), ".phar") &&
new_persistent_script 1195 ext/opcache/ZendAccelerator.c 		!strstr(ZSTR_VAL(new_persistent_script->full_path), "://");
new_persistent_script 1198 ext/opcache/ZendAccelerator.c 	if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) {
new_persistent_script 1200 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 1202 ext/opcache/ZendAccelerator.c 			ZSTR_VAL(new_persistent_script->full_path),
new_persistent_script 1203 ext/opcache/ZendAccelerator.c 			new_persistent_script->mem,
new_persistent_script 1204 ext/opcache/ZendAccelerator.c 			(char *)new_persistent_script->mem + new_persistent_script->size,
new_persistent_script 1208 ext/opcache/ZendAccelerator.c 	new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script);
new_persistent_script 1210 ext/opcache/ZendAccelerator.c 	zend_file_cache_script_store(new_persistent_script, 0);
new_persistent_script 1213 ext/opcache/ZendAccelerator.c 	return new_persistent_script;
new_persistent_script 1217 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)
new_persistent_script 1223 ext/opcache/ZendAccelerator.c 	if (!zend_accel_script_persistable(new_persistent_script)) {
new_persistent_script 1224 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1227 ext/opcache/ZendAccelerator.c 	if (!zend_accel_script_optimize(new_persistent_script)) {
new_persistent_script 1228 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1239 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1245 ext/opcache/ZendAccelerator.c 	bucket = zend_accel_hash_find_entry(&ZCSG(hash), new_persistent_script->full_path);
new_persistent_script 1252 ext/opcache/ZendAccelerator.c 			     (new_persistent_script->timestamp == existing_persistent_script->timestamp))) {
new_persistent_script 1256 ext/opcache/ZendAccelerator.c 			return new_persistent_script;
new_persistent_script 1264 ext/opcache/ZendAccelerator.c 	memory_used = zend_accel_script_persist_calc(new_persistent_script, key, key_length);
new_persistent_script 1278 ext/opcache/ZendAccelerator.c 		return new_persistent_script;
new_persistent_script 1282 ext/opcache/ZendAccelerator.c 	new_persistent_script = zend_accel_script_persist(new_persistent_script, &key, key_length);
new_persistent_script 1286 ext/opcache/ZendAccelerator.c 	new_persistent_script->is_phar =
new_persistent_script 1287 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path &&
new_persistent_script 1288 ext/opcache/ZendAccelerator.c 		strstr(ZSTR_VAL(new_persistent_script->full_path), ".phar") &&
new_persistent_script 1289 ext/opcache/ZendAccelerator.c 		!strstr(ZSTR_VAL(new_persistent_script->full_path), "://");
new_persistent_script 1292 ext/opcache/ZendAccelerator.c 	if ((char*)new_persistent_script->mem + new_persistent_script->size != (char*)ZCG(mem)) {
new_persistent_script 1294 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 1296 ext/opcache/ZendAccelerator.c 			ZSTR_VAL(new_persistent_script->full_path),
new_persistent_script 1297 ext/opcache/ZendAccelerator.c 			new_persistent_script->mem,
new_persistent_script 1298 ext/opcache/ZendAccelerator.c 			(char *)new_persistent_script->mem + new_persistent_script->size,
new_persistent_script 1302 ext/opcache/ZendAccelerator.c 	new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script);
new_persistent_script 1305 ext/opcache/ZendAccelerator.c 	bucket = zend_accel_hash_update(&ZCSG(hash), ZSTR_VAL(new_persistent_script->full_path), ZSTR_LEN(new_persistent_script->full_path), 0, new_persistent_script);
new_persistent_script 1307 ext/opcache/ZendAccelerator.c 		zend_accel_error(ACCEL_LOG_INFO, "Cached script '%s'", new_persistent_script->full_path);
new_persistent_script 1311 ext/opcache/ZendAccelerator.c 		    (ZSTR_LEN(new_persistent_script->full_path) != key_length ||
new_persistent_script 1312 ext/opcache/ZendAccelerator.c 		     memcmp(ZSTR_VAL(new_persistent_script->full_path), key, key_length) != 0)) {
new_persistent_script 1324 ext/opcache/ZendAccelerator.c 	new_persistent_script->dynamic_members.memory_consumption = ZEND_ALIGNED_SIZE(new_persistent_script->size);
new_persistent_script 1331 ext/opcache/ZendAccelerator.c 		zend_file_cache_script_store(new_persistent_script, 1);
new_persistent_script 1337 ext/opcache/ZendAccelerator.c 	return new_persistent_script;
new_persistent_script 1403 ext/opcache/ZendAccelerator.c 	zend_persistent_script *new_persistent_script;
new_persistent_script 1470 ext/opcache/ZendAccelerator.c 	new_persistent_script = create_persistent_script();
new_persistent_script 1480 ext/opcache/ZendAccelerator.c 	EG(class_table) = CG(class_table) = &new_persistent_script->class_table;
new_persistent_script 1505 ext/opcache/ZendAccelerator.c 		free_persistent_script(new_persistent_script, 1);
new_persistent_script 1517 ext/opcache/ZendAccelerator.c 	zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table);
new_persistent_script 1518 ext/opcache/ZendAccelerator.c 	new_persistent_script->main_op_array = *op_array;
new_persistent_script 1525 ext/opcache/ZendAccelerator.c 		new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals();
new_persistent_script 1527 ext/opcache/ZendAccelerator.c 		new_persistent_script->ping_auto_globals_mask = zend_accel_get_auto_globals_no_jit();
new_persistent_script 1534 ext/opcache/ZendAccelerator.c 		new_persistent_script->timestamp = timestamp;
new_persistent_script 1535 ext/opcache/ZendAccelerator.c 		new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalidate_freq;
new_persistent_script 1539 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path = zend_string_copy(file_handle->opened_path);
new_persistent_script 1541 ext/opcache/ZendAccelerator.c 		new_persistent_script->full_path = zend_string_init(file_handle->filename, strlen(file_handle->filename), 0);
new_persistent_script 1543 ext/opcache/ZendAccelerator.c 	zend_string_hash_val(new_persistent_script->full_path);
new_persistent_script 1546 ext/opcache/ZendAccelerator.c 	return new_persistent_script;
new_persistent_script  384 ext/opcache/zend_persist_calc.c uint zend_accel_script_persist_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length)
new_persistent_script  386 ext/opcache/zend_persist_calc.c 	new_persistent_script->mem = NULL;
new_persistent_script  387 ext/opcache/zend_persist_calc.c 	new_persistent_script->size = 0;
new_persistent_script  388 ext/opcache/zend_persist_calc.c 	new_persistent_script->arena_mem = NULL;
new_persistent_script  389 ext/opcache/zend_persist_calc.c 	new_persistent_script->arena_size = 0;
new_persistent_script  390 ext/opcache/zend_persist_calc.c 	new_persistent_script->corrupted = 0;
new_persistent_script  391 ext/opcache/zend_persist_calc.c 	ZCG(current_persistent_script) = new_persistent_script;
new_persistent_script  393 ext/opcache/zend_persist_calc.c 	ADD_DUP_SIZE(new_persistent_script, sizeof(zend_persistent_script));
new_persistent_script  398 ext/opcache/zend_persist_calc.c 		new_persistent_script->corrupted = 1;
new_persistent_script  400 ext/opcache/zend_persist_calc.c 	ADD_STRING(new_persistent_script->full_path);
new_persistent_script  404 ext/opcache/zend_persist_calc.c 	new_persistent_script->size = (new_persistent_script->size + 63) & ~63;
new_persistent_script  407 ext/opcache/zend_persist_calc.c 	zend_accel_persist_class_table_calc(&new_persistent_script->class_table);
new_persistent_script  408 ext/opcache/zend_persist_calc.c 	zend_hash_persist_calc(&new_persistent_script->function_table, zend_persist_op_array_calc);
new_persistent_script  409 ext/opcache/zend_persist_calc.c 	zend_persist_op_array_calc_ex(&new_persistent_script->main_op_array);
new_persistent_script  413 ext/opcache/zend_persist_calc.c 	new_persistent_script->arena_size = (new_persistent_script->arena_size + 63) & ~63;
new_persistent_script  416 ext/opcache/zend_persist_calc.c 	new_persistent_script->size += new_persistent_script->arena_size;
new_persistent_script  417 ext/opcache/zend_persist_calc.c 	new_persistent_script->corrupted = 0;
new_persistent_script  421 ext/opcache/zend_persist_calc.c 	return new_persistent_script->size;