Lines Matching refs:accel_directives

215 …(((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(accel_d…  in zend_accel_schedule_restart_if_necessary()
850 if (ZCG(accel_directives).force_restart_timeout in accel_is_inactive()
853 …er " ZEND_LONG_FMT " seconds), locked by %d", (long)time(NULL), ZCG(accel_directives).force_restar… in accel_is_inactive()
1095 } else if (ZCG(accel_directives).revalidate_freq && in validate_timestamp_and_record()
1101 …persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalida… in validate_timestamp_and_record()
1134 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key()
1299 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1310 !ZCG(accel_directives).validate_timestamps || in zend_accel_invalidate()
1421 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_file_cache()
1438 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1441 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_shared_memory()
1459 (!ZCG(accel_directives).validate_timestamps || in cache_script_in_shared_memory()
1480 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1538 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1591 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1737 if (ZCG(accel_directives).validate_timestamps || in opcache_compile_file()
1738 ZCG(accel_directives).file_update_protection || in opcache_compile_file()
1739 ZCG(accel_directives).max_file_size > 0) { in opcache_compile_file()
1745 …timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? … in opcache_compile_file()
1756 if (ZCG(accel_directives).file_update_protection && in opcache_compile_file()
1757 … ((accel_time_t)(ZCG(request_time) - ZCG(accel_directives).file_update_protection) < timestamp)) { in opcache_compile_file()
1762 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1779 ZCG(record_warnings) = ZCG(accel_directives).record_warnings; in opcache_compile_file()
1790 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1842 if (ZCG(accel_directives).validate_timestamps) { in opcache_compile_file()
1847 …new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in opcache_compile_file()
1971 && ZCG(accel_directives).file_cache in persistent_compile_file()
1982 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2009 if (!ZCG(accel_directives).revalidate_path) { in persistent_compile_file()
2075 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2085 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file()
2102 if (persistent_script && ZCG(accel_directives).validate_timestamps) { in persistent_compile_file()
2121 if (persistent_script && ZCG(accel_directives).consistency_checks in persistent_compile_file()
2122 && persistent_script->dynamic_members.hits % ZCG(accel_directives).consistency_checks == 0) { in persistent_compile_file()
2146 if (!persistent_script && ZCG(accel_directives).file_cache) { in persistent_compile_file()
2162 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2269 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2321 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2433 if (ZCG(accel_directives).validate_root) { in accel_activate()
2491 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2625 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2641 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2642 …accel_shared_globals = zend_shared_alloc((ZCG(accel_directives).interned_strings_buffer * 1024 * 1… in zend_accel_init_shm()
2656 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2658 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2662 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2680 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
2919 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
2931 if (!ZCG(accel_directives).enable_cli && in accel_startup()
2973 file_cache_only = ZCG(accel_directives).file_cache_only;
2975 size_t shm_size = ZCG(accel_directives).memory_consumption;
3063 } else if (!ZCG(accel_directives).file_cache) {
3123 ZCG(accel_directives).user_blacklist_filename &&
3124 *ZCG(accel_directives.user_blacklist_filename)) {
3126 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename));
3131 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) {
3212 if (ZCG(accel_directives).force_restart_timeout) {
3213 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout;
4201 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4218 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4802 if (ZCG(accel_directives).preload && *ZCG(accel_directives).preload) {
4844 if (!ZCG(accel_directives).preload_user
4845 || !*ZCG(accel_directives).preload_user) {
4851 pw = getpwnam(ZCG(accel_directives).preload_user);
4854 …zend_accel_error(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).p…
4898 if (ZCG(accel_directives).preload_user
4899 && *ZCG(accel_directives).preload_user) {
4946 if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {