Lines Matching refs:accel_directives

252 …(((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(accel_d…  in zend_accel_schedule_restart_if_necessary()
922 if (ZCG(accel_directives).force_restart_timeout in accel_is_inactive()
925 …er " ZEND_LONG_FMT " seconds), locked by %d", (long)time(NULL), ZCG(accel_directives).force_restar… in accel_is_inactive()
1169 } else if (ZCG(accel_directives).revalidate_freq && in validate_timestamp_and_record()
1175 …persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalida… in validate_timestamp_and_record()
1211 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key()
1417 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1428 !ZCG(accel_directives).validate_timestamps || in zend_accel_invalidate()
1554 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_file_cache()
1569 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1572 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_shared_memory()
1588 (!ZCG(accel_directives).validate_timestamps || in cache_script_in_shared_memory()
1609 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1627 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1687 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1772 if (ZCG(accel_directives).validate_timestamps || in opcache_compile_file()
1773 ZCG(accel_directives).file_update_protection || in opcache_compile_file()
1774 ZCG(accel_directives).max_file_size > 0) { in opcache_compile_file()
1780 …timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? … in opcache_compile_file()
1791 if (ZCG(accel_directives).file_update_protection && in opcache_compile_file()
1792 … ((accel_time_t)(ZCG(request_time) - ZCG(accel_directives).file_update_protection) < timestamp)) { in opcache_compile_file()
1797 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1814 if (ZCG(accel_directives).record_warnings) { in opcache_compile_file()
1826 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1873 if (ZCG(accel_directives).validate_timestamps) { in opcache_compile_file()
1878 …new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in opcache_compile_file()
1998 && ZCG(accel_directives).file_cache in persistent_compile_file()
2008 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2034 if (!ZCG(accel_directives).revalidate_path) { in persistent_compile_file()
2100 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2110 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file()
2127 if (persistent_script && ZCG(accel_directives).validate_timestamps) { in persistent_compile_file()
2135 if (persistent_script && ZCG(accel_directives).consistency_checks in persistent_compile_file()
2136 && persistent_script->dynamic_members.hits % ZCG(accel_directives).consistency_checks == 0) { in persistent_compile_file()
2149 if (!persistent_script && ZCG(accel_directives).file_cache) { in persistent_compile_file()
2165 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2493 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2542 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2654 if (ZCG(accel_directives).validate_root) { in accel_activate()
2712 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2848 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2865 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2866 …accel_shared_globals_size = sizeof(zend_accel_shared_globals) + ZCG(accel_directives).interned_str… in zend_accel_init_shm()
2884 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2886 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2890 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2908 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
3154 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
3166 if (!ZCG(accel_directives).enable_cli && in accel_startup()
3205 file_cache_only = ZCG(accel_directives).file_cache_only;
3207 size_t shm_size = ZCG(accel_directives).memory_consumption;
3293 } else if (!ZCG(accel_directives).file_cache) {
3346 ZCG(accel_directives).user_blacklist_filename &&
3347 *ZCG(accel_directives.user_blacklist_filename)) {
3349 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename));
3352 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) {
3445 if (ZCG(accel_directives).force_restart_timeout) {
3446 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout;
4222 …zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_directiv…
4238 …zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_directiv…
4600 if (ZCG(accel_directives).preload && *ZCG(accel_directives).preload) {
4642 if (!ZCG(accel_directives).preload_user
4643 || !*ZCG(accel_directives).preload_user) {
4649 pw = getpwnam(ZCG(accel_directives).preload_user);
4652 …eturn(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).preload_user…
4696 if (ZCG(accel_directives).preload_user
4697 && *ZCG(accel_directives).preload_user) {
4744 if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {