Lines Matching refs:ready

323     uint8_t                       ready;        /* 1 bit */  member
394 int ready; member
682 ctx_impl->ready = 0; in nxt_unit_ctx_init()
1237 if (nxt_slow_path(ctx_impl->ready)) { in nxt_unit_ctx_ready()
1241 ctx_impl->ready = 1; in nxt_unit_ctx_ready()
1252 if (nxt_slow_path(!lib->main_ctx.ready)) { in nxt_unit_ctx_ready()
1253 ctx_impl->ready = 0; in nxt_unit_ctx_ready()
1477 if (nxt_fast_path(port_impl->ready)) { in nxt_unit_request_check_response_port()
1559 port_impl->ready = 0; in nxt_unit_request_check_response_port()
4715 return (ctx_impl->ready in nxt_unit_chk_ready()
4759 if (!ctx_impl->ready) { in nxt_unit_process_pending_rbuf()
5419 int rc, ready; in nxt_unit_add_port() local
5473 ready = (port->in_fd != -1 || port->out_fd != -1); in nxt_unit_add_port()
5479 if (lib->callbacks.add_port == NULL && ready) { in nxt_unit_add_port()
5480 old_port_impl->ready = ready; in nxt_unit_add_port()
5490 if (lib->callbacks.add_port != NULL && ready) { in nxt_unit_add_port()
5495 old_port_impl->ready = ready; in nxt_unit_add_port()
5511 ready = 0; in nxt_unit_add_port()
5560 ready = (port->in_fd != -1 || port->out_fd != -1); in nxt_unit_add_port()
5563 new_port->ready = ready; in nxt_unit_add_port()
5566 new_port->ready = 0; in nxt_unit_add_port()
5579 if (lib->callbacks.add_port != NULL && new_port != NULL && ready) { in nxt_unit_add_port()
5586 new_port->ready = 1; in nxt_unit_add_port()
5757 nxt_unit_debug(ctx, "quit: %d/%d/%d", (int) quit_param, ctx_impl->ready, in nxt_unit_quit()
5765 && !ctx_impl->ready; in nxt_unit_quit()
5769 if (nxt_fast_path(ctx_impl->ready)) { in nxt_unit_quit()
5770 ctx_impl->ready = 0; in nxt_unit_quit()