Lines Matching refs:ZCG

51 	if (ZCG(accel_directives).restrict_api && *ZCG(accel_directives).restrict_api) {  in validate_api_restriction()
52 size_t len = strlen(ZCG(accel_directives).restrict_api); in validate_api_restriction()
56 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
125 ZCG(accelerator_enabled) = 0; in ZEND_INI_MH()
316 if (ZCG(accel_directives).validate_timestamps) {
385 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).file_override_enabled) {
419 if (ZCG(accelerator_enabled) || file_cache_only) {
424 if (ZCG(enabled) && accel_startup_ok && ZCG(accel_directives).optimization_level) {
434 if (ZCG(accel_directives).file_cache) {
459 if (ZCG(enabled)) {
470 …snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ZCG(accel_directives).memory_consumption-zend_shared_all…
531 if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
556 if (ZCG(accel_directives).validate_timestamps) {
592 add_assoc_bool(return_value, "opcache_enabled", ZCG(accelerator_enabled));
594 if (ZCG(accel_directives).file_cache) {
595 add_assoc_string(return_value, "file_cache", ZCG(accel_directives).file_cache);
608 …add_assoc_long(&memory_usage, "used_memory", ZCG(accel_directives).memory_consumption-zend_shared_…
611 …sage, "current_wasted_percentage", (((double) ZSMMG(wasted_shared_memory))/ZCG(accel_directives).m…
720 add_assoc_bool(&directives, "opcache.enable", ZCG(enabled));
721 add_assoc_bool(&directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli);
722 add_assoc_bool(&directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd);
723 …add_assoc_bool(&directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestam…
724 …add_assoc_bool(&directives, "opcache.validate_permission", ZCG(accel_directives).validate_permissi…
726 add_assoc_bool(&directives, "opcache.validate_root", ZCG(accel_directives).validate_root);
728 add_assoc_bool(&directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups);
729 add_assoc_bool(&directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path);
731 …add_assoc_long(&directives, "opcache.log_verbosity_level", ZCG(accel_directives).log_verbosit…
732 …add_assoc_long(&directives, "opcache.memory_consumption", ZCG(accel_directives).memory_consum…
733 …add_assoc_long(&directives, "opcache.interned_strings_buffer",ZCG(accel_directives).interned_stri…
734 …add_assoc_long(&directives, "opcache.max_accelerated_files", ZCG(accel_directives).max_accelera…
735 …add_assoc_double(&directives, "opcache.max_wasted_percentage", ZCG(accel_directives).max_wasted_p…
736 …add_assoc_long(&directives, "opcache.consistency_checks", ZCG(accel_directives).consistency_…
737 …add_assoc_long(&directives, "opcache.force_restart_timeout", ZCG(accel_directives).force_restar…
738 …add_assoc_long(&directives, "opcache.revalidate_freq", ZCG(accel_directives).revalidate_f…
739 …add_assoc_string(&directives, "opcache.preferred_memory_model", STRING_NOT_NULL(ZCG(accel_directiv…
740 …add_assoc_string(&directives, "opcache.blacklist_filename", STRING_NOT_NULL(ZCG(accel_directiv…
741 …add_assoc_long(&directives, "opcache.max_file_size", ZCG(accel_directives).max_file_siz…
742 …add_assoc_string(&directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directiv…
744 …add_assoc_bool(&directives, "opcache.protect_memory", ZCG(accel_directives).protect_memo…
745 …add_assoc_bool(&directives, "opcache.save_comments", ZCG(accel_directives).save_comment…
746 …add_assoc_bool(&directives, "opcache.record_warnings", ZCG(accel_directives).record_warni…
747 …add_assoc_bool(&directives, "opcache.enable_file_override", ZCG(accel_directives).file_overrid…
748 …add_assoc_long(&directives, "opcache.optimization_level", ZCG(accel_directives).optimization…
751 …add_assoc_string(&directives, "opcache.lockfile_path", STRING_NOT_NULL(ZCG(accel_directiv…
753 …add_assoc_string(&directives, "opcache.mmap_base", STRING_NOT_NULL(ZCG(accel_directiv…
756 …ng(&directives, "opcache.file_cache", ZCG(accel_directives).file_cache ? ZCG(ac…
757 …add_assoc_bool(&directives, "opcache.file_cache_only", ZCG(accel_directives).file_…
758 …add_assoc_bool(&directives, "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_…
760 …add_assoc_bool(&directives, "opcache.file_cache_fallback", ZCG(accel_directives).file_…
763 …add_assoc_long(&directives, "opcache.file_update_protection", ZCG(accel_directives).file_update…
764 …add_assoc_long(&directives, "opcache.opt_debug_level", ZCG(accel_directives).opt_debug_l…
765 …add_assoc_string(&directives, "opcache.restrict_api", STRING_NOT_NULL(ZCG(accel_directi…
767 …add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_p…
769 add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
771 …add_assoc_string(&directives, "opcache.preload_user", STRING_NOT_NULL(ZCG(accel_directives).preloa…
774 add_assoc_string(&directives, "opcache.cache_id", STRING_NOT_NULL(ZCG(accel_directives).cache_id));
822 if ((!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled))
920 if (!ZCG(accelerator_enabled)) {