Home
last modified time | relevance | path

Searched refs:total (Results 1 – 6 of 6) sorted by last modified time

/unit/src/test/
H A Dnxt_mem_zone_test.c16 size_t total, zone_size; in nxt_mem_zone_test() local
47 total = 0; in nxt_mem_zone_test()
52 total += size & max_size; in nxt_mem_zone_test()
57 "mem zone test failed: %uz", total); in nxt_mem_zone_test()
H A Dnxt_mp_test.c16 size_t total; in nxt_mp_test() local
51 total = 0; in nxt_mp_test()
62 total += size; in nxt_mp_test()
67 "mem pool test failed: %uz", total); in nxt_mp_test()
/unit/src/
H A Dnxt_sendbuf.c21 size_t size, total; in nxt_sendbuf_mem_coalesce0() local
25 total = sb->size; in nxt_sendbuf_mem_coalesce0()
67 total += size; in nxt_sendbuf_mem_coalesce0()
91 size_t size, total; in nxt_sendbuf_mem_coalesce() local
95 total = sb->size; in nxt_sendbuf_mem_coalesce()
141 total += size; in nxt_sendbuf_mem_coalesce()
156 sb->size = total; in nxt_sendbuf_mem_coalesce()
174 total = sb->size; in nxt_sendbuf_file_coalesce()
183 total = sb->limit; in nxt_sendbuf_file_coalesce()
187 total += size; in nxt_sendbuf_file_coalesce()
[all …]
H A Dnxt_upstream_round_robin.c46 double total, k, w; in nxt_upstream_round_robin_create() local
63 total = 0.0; in nxt_upstream_round_robin_create()
70 total += w; in nxt_upstream_round_robin_create()
77 k = (total == 0) ? 0 : (NXT_INT32_T_MAX / 2) / total; in nxt_upstream_round_robin_create()
167 int32_t total; in nxt_upstream_round_robin_server_get() local
173 total = 0; in nxt_upstream_round_robin_server_get()
183 total += s[i].effective_weight; in nxt_upstream_round_robin_server_get()
194 if (best == NULL || total == 0) { in nxt_upstream_round_robin_server_get()
199 best->current_weight -= total; in nxt_upstream_round_robin_server_get()
H A Dnxt_solaris_sendfilev.c93 size_t size, total; in nxt_solaris_buf_coalesce() local
101 total = 0; in nxt_solaris_buf_coalesce()
103 for (total = 0; b != NULL && total < limit; b = b->next) { in nxt_solaris_buf_coalesce()
115 if (total + size > limit) { in nxt_solaris_buf_coalesce()
116 size = limit - total; in nxt_solaris_buf_coalesce()
129 if (total + size > limit) { in nxt_solaris_buf_coalesce()
130 size = limit - total; in nxt_solaris_buf_coalesce()
157 total += size; in nxt_solaris_buf_coalesce()
168 return total; in nxt_solaris_buf_coalesce()
H A Dnxt_recvbuf.c14 size_t size, total; in nxt_recvbuf_mem_coalesce() local
18 total = 0; in nxt_recvbuf_mem_coalesce()
44 total += size; in nxt_recvbuf_mem_coalesce()
52 rb->size = total; in nxt_recvbuf_mem_coalesce()