Searched refs:npoints (Results 1 – 2 of 2) sorted by relevance
292 ngx_uint_t npoints, i, j; in ngx_stream_upstream_init_chash() local309 npoints = peers->total_weight * 160; in ngx_stream_upstream_init_chash()312 + sizeof(ngx_stream_upstream_chash_point_t) * (npoints - 1); in ngx_stream_upstream_init_chash()368 npoints = peer->weight * 160; in ngx_stream_upstream_init_chash()370 for (j = 0; j < npoints; j++) { in ngx_stream_upstream_init_chash()
292 ngx_uint_t npoints, i, j; in ngx_http_upstream_init_chash() local309 npoints = peers->total_weight * 160; in ngx_http_upstream_init_chash()312 + sizeof(ngx_http_upstream_chash_point_t) * (npoints - 1); in ngx_http_upstream_init_chash()368 npoints = peer->weight * 160; in ngx_http_upstream_init_chash()370 for (j = 0; j < npoints; j++) { in ngx_http_upstream_init_chash()