Lines Matching refs:state_rec
53 struct login_proxy_record *state_rec;
165 if (timeval_cmp(&proxy->created, &proxy->state_rec->last_success) < 0) {
170 proxy->state_rec->last_failure = ioloop_timeval;
172 i_assert(proxy->state_rec->num_waiting_connections > 0);
173 proxy->state_rec->num_waiting_connections--;
250 proxy->state_rec->last_success = ioloop_timeval;
251 i_assert(proxy->state_rec->num_waiting_connections > 0);
252 proxy->state_rec->num_waiting_connections--;
253 proxy->state_rec->num_proxying_connections++;
254 proxy->state_rec->num_disconnects_since_ts = 0;
279 struct login_proxy_record *rec = proxy->state_rec;
359 proxy->state_rec = login_proxy_state_get(proxy_state, &proxy->ip,
381 i_assert(proxy->state_rec->num_waiting_connections > 0);
382 proxy->state_rec->num_waiting_connections--;
385 i_assert(proxy->state_rec->num_proxying_connections > 0);
386 proxy->state_rec->num_proxying_connections--;
408 i_assert(proxy->state_rec->num_delayed_client_disconnects > 0);
409 if (--proxy->state_rec->num_delayed_client_disconnects == 0)
410 proxy->state_rec->num_disconnects_since_ts = 0;
423 struct login_proxy_record *rec = proxy->state_rec;