us 27 http/modules/ngx_http_upstream_ip_hash_module.c ngx_http_upstream_srv_conf_t *us); us 79 http/modules/ngx_http_upstream_ip_hash_module.c ngx_http_upstream_init_ip_hash(ngx_conf_t *cf, ngx_http_upstream_srv_conf_t *us) us 81 http/modules/ngx_http_upstream_ip_hash_module.c if (ngx_http_upstream_init_round_robin(cf, us) != NGX_OK) { us 85 http/modules/ngx_http_upstream_ip_hash_module.c us->peer.init = ngx_http_upstream_init_ip_hash_peer; us 93 http/modules/ngx_http_upstream_ip_hash_module.c ngx_http_upstream_srv_conf_t *us) us 106 http/modules/ngx_http_upstream_ip_hash_module.c if (ngx_http_upstream_init_round_robin_peer(r, us) != NGX_OK) { us 4061 http/ngx_http_upstream.c ngx_http_upstream_server_t *us; us 4071 http/ngx_http_upstream.c us = ngx_array_push(uscf->servers); us 4072 http/ngx_http_upstream.c if (us == NULL) { us 4076 http/ngx_http_upstream.c ngx_memzero(us, sizeof(ngx_http_upstream_server_t)); us 4154 http/ngx_http_upstream.c us->backup = 1; us 4165 http/ngx_http_upstream.c us->down = 1; us 4173 http/ngx_http_upstream.c us->addrs = u.addrs; us 4174 http/ngx_http_upstream.c us->naddrs = u.naddrs; us 4175 http/ngx_http_upstream.c us->weight = weight; us 4176 http/ngx_http_upstream.c us->max_fails = max_fails; us 4177 http/ngx_http_upstream.c us->fail_timeout = fail_timeout; us 4194 http/ngx_http_upstream.c ngx_http_upstream_server_t *us; us 4278 http/ngx_http_upstream.c us = ngx_array_push(uscf->servers); us 4279 http/ngx_http_upstream.c if (us == NULL) { us 4283 http/ngx_http_upstream.c ngx_memzero(us, sizeof(ngx_http_upstream_server_t)); us 4285 http/ngx_http_upstream.c us->addrs = u->addrs; us 4286 http/ngx_http_upstream.c us->naddrs = u->naddrs; us 71 http/ngx_http_upstream.h ngx_http_upstream_srv_conf_t *us); us 73 http/ngx_http_upstream.h ngx_http_upstream_srv_conf_t *us); us 20 http/ngx_http_upstream_round_robin.c ngx_http_upstream_srv_conf_t *us) us 27 http/ngx_http_upstream_round_robin.c us->peer.init = ngx_http_upstream_init_round_robin_peer; us 29 http/ngx_http_upstream_round_robin.c if (us->servers) { us 30 http/ngx_http_upstream_round_robin.c server = us->servers->elts; us 34 http/ngx_http_upstream_round_robin.c for (i = 0; i < us->servers->nelts; i++) { us 50 http/ngx_http_upstream_round_robin.c peers->name = &us->host; us 54 http/ngx_http_upstream_round_robin.c for (i = 0; i < us->servers->nelts; i++) { us 72 http/ngx_http_upstream_round_robin.c us->peer.data = peers; us 82 http/ngx_http_upstream_round_robin.c for (i = 0; i < us->servers->nelts; i++) { us 103 http/ngx_http_upstream_round_robin.c backup->name = &us->host; us 107 http/ngx_http_upstream_round_robin.c for (i = 0; i < us->servers->nelts; i++) { us 137 http/ngx_http_upstream_round_robin.c if (us->port == 0 && us->default_port == 0) { us 140 http/ngx_http_upstream_round_robin.c &us->host, us->file_name, us->line); us 146 http/ngx_http_upstream_round_robin.c u.host = us->host; us 147 http/ngx_http_upstream_round_robin.c u.port = (in_port_t) (us->port ? us->port : us->default_port); us 153 http/ngx_http_upstream_round_robin.c u.err, &us->host, us->file_name, us->line); us 169 http/ngx_http_upstream_round_robin.c peers->name = &us->host; us 181 http/ngx_http_upstream_round_robin.c us->peer.data = peers; us 203 http/ngx_http_upstream_round_robin.c ngx_http_upstream_srv_conf_t *us) us 219 http/ngx_http_upstream_round_robin.c rrp->peers = us->peer.data; us 65 http/ngx_http_upstream_round_robin.h ngx_http_upstream_srv_conf_t *us); us 67 http/ngx_http_upstream_round_robin.h ngx_http_upstream_srv_conf_t *us);