Lines Matching refs:wp
116 static int fpm_php_apply_defines(struct fpm_worker_pool_s *wp) /* {{{ */ in fpm_php_apply_defines() argument
120 for (kv = wp->config->php_values; kv; kv = kv->next) { in fpm_php_apply_defines()
126 for (kv = wp->config->php_admin_values; kv; kv = kv->next) { in fpm_php_apply_defines()
136 static int fpm_php_set_allowed_clients(struct fpm_worker_pool_s *wp) /* {{{ */ in fpm_php_set_allowed_clients() argument
138 if (wp->listen_address_domain == FPM_AF_INET) { in fpm_php_set_allowed_clients()
139 fcgi_set_allowed_clients(wp->config->listen_allowed_clients); in fpm_php_set_allowed_clients()
146 static int fpm_php_set_fcgi_mgmt_vars(struct fpm_worker_pool_s *wp) /* {{{ */
151 len = sprintf(max_workers, "%u", (unsigned int) wp->config->pm_max_children);
218 int fpm_php_init_child(struct fpm_worker_pool_s *wp) /* {{{ */ in fpm_php_init_child() argument
220 if (0 > fpm_php_apply_defines(wp) || in fpm_php_init_child()
221 0 > fpm_php_set_allowed_clients(wp)) { in fpm_php_init_child()
225 if (wp->limit_extensions) { in fpm_php_init_child()
226 limit_extensions = wp->limit_extensions; in fpm_php_init_child()