Lines Matching refs:accel_directives
91 if (ZCG(accel_directives).protect_memory) { \
97 if (ZCG(accel_directives).protect_memory) { \
224 …(((double) ZSMMG(wasted_shared_memory)) / ZCG(accel_directives).memory_consumption) >= ZCG(accel_d… in zend_accel_schedule_restart_if_necessary()
853 if (ZCG(accel_directives).force_restart_timeout in accel_is_inactive()
856 …er " ZEND_LONG_FMT " seconds), locked by %d", (long)time(NULL), ZCG(accel_directives).force_restar… in accel_is_inactive()
1098 } else if (ZCG(accel_directives).revalidate_freq && in validate_timestamp_and_record()
1104 …persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).revalida… in validate_timestamp_and_record()
1137 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key()
1302 if (ZCG(accel_directives).file_cache) { in zend_accel_invalidate()
1313 !ZCG(accel_directives).validate_timestamps || in zend_accel_invalidate()
1429 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_file_cache()
1451 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1454 …ize_script(&new_persistent_script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in cache_script_in_shared_memory()
1472 (!ZCG(accel_directives).validate_timestamps || in cache_script_in_shared_memory()
1486 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1544 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1597 if (ZCG(accel_directives).file_cache) { in cache_script_in_shared_memory()
1704 if (ZCG(accel_directives).validate_timestamps || in opcache_compile_file()
1705 ZCG(accel_directives).file_update_protection || in opcache_compile_file()
1706 ZCG(accel_directives).max_file_size > 0) { in opcache_compile_file()
1712 …timestamp = zend_get_file_handle_timestamp(file_handle, ZCG(accel_directives).max_file_size > 0 ? … in opcache_compile_file()
1723 if (ZCG(accel_directives).file_update_protection && in opcache_compile_file()
1724 … ((accel_time_t)(ZCG(request_time) - ZCG(accel_directives).file_update_protection) < timestamp)) { in opcache_compile_file()
1729 …if (ZCG(accel_directives).max_file_size > 0 && size > (size_t)ZCG(accel_directives).max_file_size)… in opcache_compile_file()
1754 if (ZCG(accel_directives).file_cache) { in opcache_compile_file()
1800 if (ZCG(accel_directives).validate_timestamps) { in opcache_compile_file()
1805 …new_persistent_script->dynamic_members.revalidate = ZCG(request_time) + ZCG(accel_directives).reva… in opcache_compile_file()
1929 && ZCG(accel_directives).file_cache in persistent_compile_file()
1940 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
1967 if (!ZCG(accel_directives).revalidate_path) { in persistent_compile_file()
2034 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2044 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file()
2062 if (persistent_script && ZCG(accel_directives).validate_timestamps) { in persistent_compile_file()
2081 if (persistent_script && ZCG(accel_directives).consistency_checks in persistent_compile_file()
2082 && persistent_script->dynamic_members.hits % ZCG(accel_directives).consistency_checks == 0) { in persistent_compile_file()
2106 if (!persistent_script && ZCG(accel_directives).file_cache) { in persistent_compile_file()
2122 if (ZCG(accel_directives).file_cache) { in persistent_compile_file()
2224 PHP_MD5Update(&ctx, ZCG(accel_directives).cache_id, strlen(ZCG(accel_directives).cache_id)); in accel_gen_uname_id()
2276 if (!ZCG(accel_directives).revalidate_path) { in persistent_zend_resolve_path()
2388 if (ZCG(accel_directives).validate_root) { in accel_activate()
2446 if (ZCG(accel_directives).interned_strings_buffer) { in accel_activate()
2563 if (ZCG(accel_directives).enable_cli && ( in accel_find_sapi()
2579 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2580 …accel_shared_globals = zend_shared_alloc((ZCG(accel_directives).interned_strings_buffer * 1024 * 1… in zend_accel_init_shm()
2594 zend_accel_hash_init(&ZCSG(hash), ZCG(accel_directives).max_accelerated_files); in zend_accel_init_shm()
2596 if (ZCG(accel_directives).interned_strings_buffer) { in zend_accel_init_shm()
2600 hash_size = ZCG(accel_directives).interned_strings_buffer * (32 * 1024); in zend_accel_init_shm()
2618 ZCG(accel_directives).interned_strings_buffer * 1024 * 1024); in zend_accel_init_shm()
2895 if (ZCG(accel_directives).huge_code_pages && in accel_startup()
2907 if (!ZCG(accel_directives).enable_cli && in accel_startup()
2946 file_cache_only = ZCG(accel_directives).file_cache_only; in accel_post_startup()
2948 switch (zend_shared_alloc_startup(ZCG(accel_directives).memory_consumption)) { in accel_post_startup()
2995 } else if (!ZCG(accel_directives).file_cache) { in accel_post_startup()
3047 ZCG(accel_directives).user_blacklist_filename && in accel_post_startup()
3048 *ZCG(accel_directives.user_blacklist_filename)) { in accel_post_startup()
3050 zend_accel_blacklist_load(&accel_blacklist, ZCG(accel_directives.user_blacklist_filename)); in accel_post_startup()
3055 if (!file_cache_only && ZCG(accel_directives).interned_strings_buffer) { in accel_post_startup()
3132 if (ZCG(accel_directives).force_restart_timeout) { in zend_accel_schedule_restart()
3133 ZCSG(force_restart_time) = zend_accel_get_time() + ZCG(accel_directives).force_restart_timeout; in zend_accel_schedule_restart()
4107 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in preload_optimize()
4124 …if (!zend_optimize_script(&script->script, ZCG(accel_directives).optimization_level, ZCG(accel_dir… in preload_optimize()
4689 if (ZCG(accel_directives).preload && *ZCG(accel_directives).preload) { in accel_finish_startup()
4732 if (!ZCG(accel_directives).preload_user in accel_finish_startup()
4733 || !*ZCG(accel_directives).preload_user) { in accel_finish_startup()
4739 pw = getpwnam(ZCG(accel_directives).preload_user); in accel_finish_startup()
4742 …zend_accel_error(ACCEL_LOG_FATAL, "Preloading failed to getpwnam(\"%s\")", ZCG(accel_directives).p… in accel_finish_startup()
4786 if (ZCG(accel_directives).preload_user in accel_finish_startup()
4787 && *ZCG(accel_directives).preload_user) { in accel_finish_startup()
4844 if (accel_preload(ZCG(accel_directives).preload) != SUCCESS) { in accel_finish_startup()