Lines Matching refs:accel_directives

243 …(((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(accel_d…  in zend_accel_schedule_restart_if_necessary()
920 if (ZCG(accel_directives).force_restart_timeout in accel_is_inactive()
923 …er " ZEND_LONG_FMT " seconds), locked by %d", (long)time(NULL), ZCG(accel_directives).force_restar… in accel_is_inactive()
1167 } else if (ZCG(accel_directives).revalidate_freq && in validate_timestamp_and_record()
1173 …persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalida… in validate_timestamp_and_record()
1207 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key()
1413 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1424 !ZCG(accel_directives).validate_timestamps || in zend_accel_invalidate()
1548 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_file_cache()
1563 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1566 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_shared_memory()
1582 (!ZCG(accel_directives).validate_timestamps || in cache_script_in_shared_memory()
1603 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1621 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1679 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1764 if (ZCG(accel_directives).validate_timestamps || in opcache_compile_file()
1765 ZCG(accel_directives).file_update_protection || in opcache_compile_file()
1766 ZCG(accel_directives).max_file_size > 0) { in opcache_compile_file()
1772 …timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? … in opcache_compile_file()
1783 if (ZCG(accel_directives).file_update_protection && in opcache_compile_file()
1784 … ((accel_time_t)(ZCG(request_time) - ZCG(accel_directives).file_update_protection) < timestamp)) { in opcache_compile_file()
1789 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1806 if (ZCG(accel_directives).record_warnings) { in opcache_compile_file()
1822 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1872 if (ZCG(accel_directives).validate_timestamps) { in opcache_compile_file()
1877 …new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in opcache_compile_file()
1997 && ZCG(accel_directives).file_cache in persistent_compile_file()
2007 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2033 if (!ZCG(accel_directives).revalidate_path) { in persistent_compile_file()
2099 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2109 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file()
2126 if (persistent_script && ZCG(accel_directives).validate_timestamps) { in persistent_compile_file()
2134 if (!persistent_script && ZCG(accel_directives).file_cache) { in persistent_compile_file()
2150 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2491 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2540 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2648 if (ZCG(accel_directives).validate_root) { in accel_activate()
2706 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2843 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2860 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2861 …accel_shared_globals_size = sizeof(zend_accel_shared_globals) + ZCG(accel_directives).interned_str… in zend_accel_init_shm()
2879 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2881 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2885 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2906 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
3156 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
3168 if (!ZCG(accel_directives).enable_cli && in accel_startup()
3207 file_cache_only = ZCG(accel_directives).file_cache_only;
3209 size_t shm_size = ZCG(accel_directives).memory_consumption;
3292 } else if (!ZCG(accel_directives).file_cache) {
3345 ZCG(accel_directives).user_blacklist_filename &&
3346 *ZCG(accel_directives.user_blacklist_filename)) {
3348 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename));
3351 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) {
3449 if (ZCG(accel_directives).force_restart_timeout) {
3450 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout;
4227 …zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_directiv…
4243 …zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_directiv…
4658 if (accel_preload(ZCG(accel_directives).preload, in_child) != SUCCESS) {
4701 if (ZCG(accel_directives).preload_user
4702 && *ZCG(accel_directives).preload_user) {
4710 if (!ZCG(accel_directives).preload_user
4711 || !*ZCG(accel_directives).preload_user) {
4726 struct passwd *pw = getpwnam(ZCG(accel_directives).preload_user);
4729 …eturn(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).preload_user…
4770 if (!(ZCG(accel_directives).preload && *ZCG(accel_directives).preload)) {