Lines Matching refs:accel_directives
216 …(((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(accel_d… in zend_accel_schedule_restart_if_necessary()
879 if (ZCG(accel_directives).force_restart_timeout in accel_is_inactive()
882 …er " ZEND_LONG_FMT " seconds), locked by %d", (long)time(NULL), ZCG(accel_directives).force_restar… in accel_is_inactive()
1126 } else if (ZCG(accel_directives).revalidate_freq && in validate_timestamp_and_record()
1132 …persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalida… in validate_timestamp_and_record()
1168 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key()
1340 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1351 !ZCG(accel_directives).validate_timestamps || in zend_accel_invalidate()
1488 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_file_cache()
1505 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1508 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_shared_memory()
1526 (!ZCG(accel_directives).validate_timestamps || in cache_script_in_shared_memory()
1547 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1605 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1663 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1748 if (ZCG(accel_directives).validate_timestamps || in opcache_compile_file()
1749 ZCG(accel_directives).file_update_protection || in opcache_compile_file()
1750 ZCG(accel_directives).max_file_size > 0) { in opcache_compile_file()
1756 …timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? … in opcache_compile_file()
1767 if (ZCG(accel_directives).file_update_protection && in opcache_compile_file()
1768 … ((accel_time_t)(ZCG(request_time) - ZCG(accel_directives).file_update_protection) < timestamp)) { in opcache_compile_file()
1773 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1790 if (ZCG(accel_directives).record_warnings) { in opcache_compile_file()
1801 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1851 if (ZCG(accel_directives).validate_timestamps) { in opcache_compile_file()
1856 …new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in opcache_compile_file()
1977 && ZCG(accel_directives).file_cache in persistent_compile_file()
1988 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2014 if (!ZCG(accel_directives).revalidate_path) { in persistent_compile_file()
2080 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2090 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file()
2107 if (persistent_script && ZCG(accel_directives).validate_timestamps) { in persistent_compile_file()
2126 if (persistent_script && ZCG(accel_directives).consistency_checks in persistent_compile_file()
2127 && persistent_script->dynamic_members.hits % ZCG(accel_directives).consistency_checks == 0) { in persistent_compile_file()
2151 if (!persistent_script && ZCG(accel_directives).file_cache) { in persistent_compile_file()
2167 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2494 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2543 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2655 if (ZCG(accel_directives).validate_root) { in accel_activate()
2713 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2847 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2863 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2864 …lobals = zend_shared_alloc(sizeof(zend_accel_shared_globals) + (ZCG(accel_directives).interned_str… in zend_accel_init_shm()
2878 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2880 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2884 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2902 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
3146 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
3158 if (!ZCG(accel_directives).enable_cli && in accel_startup()
3197 file_cache_only = ZCG(accel_directives).file_cache_only;
3199 size_t shm_size = ZCG(accel_directives).memory_consumption;
3285 } else if (!ZCG(accel_directives).file_cache) {
3338 ZCG(accel_directives).user_blacklist_filename &&
3339 *ZCG(accel_directives.user_blacklist_filename)) {
3341 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename));
3344 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) {
3437 if (ZCG(accel_directives).force_restart_timeout) {
3438 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout;
4213 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4230 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir…
4636 if (ZCG(accel_directives).preload && *ZCG(accel_directives).preload) {
4678 if (!ZCG(accel_directives).preload_user
4679 || !*ZCG(accel_directives).preload_user) {
4685 pw = getpwnam(ZCG(accel_directives).preload_user);
4688 …eturn(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).preload_user…
4732 if (ZCG(accel_directives).preload_user
4733 && *ZCG(accel_directives).preload_user) {
4780 if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {