Lines Matching refs:next
167 proc->next = NULL; in gw_proc_init()
182 gw_proc_free(proc->next); in gw_proc_free()
664 for (proc = host->unused_procs; proc; proc = proc->next) { in gw_proc_spawn()
673 host->unused_procs = proc->next; in gw_proc_spawn()
675 proc->prev->next = proc->next; in gw_proc_spawn()
677 if (proc->next) { in gw_proc_spawn()
678 proc->next->prev = proc->prev; in gw_proc_spawn()
679 proc->next = NULL; in gw_proc_spawn()
698 proc->next = host->unused_procs; in gw_proc_spawn()
703 proc->next = host->first; in gw_proc_spawn()
713 if (proc->next) proc->next->prev = proc->prev; in gw_proc_kill()
714 if (proc->prev) proc->prev->next = proc->next; in gw_proc_kill()
715 else host->first = proc->next; in gw_proc_kill()
719 proc->next = host->unused_procs; in gw_proc_kill()
1059 for (gw_proc *proc = host->first; proc; proc = proc->next) { in gw_restart_dead_procs()
1160 for (proc = host->first; proc; proc = proc->next) { in gw_plugin_config_free()
1170 for (proc = host->unused_procs; proc; proc = proc->next) { in gw_plugin_config_free()
1665 proc->next = host->first; in gw_set_defaults_backend()
1777 hctx->next = host->hctxs; in gw_host_hctx_enq()
1778 if (hctx->next) in gw_host_hctx_enq()
1779 hctx->next->prev = hctx; in gw_host_hctx_enq()
1788 hctx->prev->next = hctx->next; in gw_host_hctx_deq()
1790 hctx->host->hctxs= hctx->next; in gw_host_hctx_deq()
1792 if (hctx->next) in gw_host_hctx_deq()
1793 hctx->next->prev = hctx->prev; in gw_host_hctx_deq()
1795 hctx->next = NULL; in gw_host_hctx_deq()
1911 for (gw_proc *proc = hctx->host->first; proc; proc = proc->next) { in gw_write_request()
1924 for (gw_proc *proc = hctx->proc->next; proc; proc = proc->next) { in gw_write_request()
2734 for (gw_handler_ctx *hctx = host->hctxs, *next; hctx; hctx = next) { in gw_handle_trigger_host_timeouts() local
2737 next = hctx->next; in gw_handle_trigger_host_timeouts()
2769 for (proc = host->first; proc; proc = proc->next) { in gw_handle_trigger_host()
2780 for (proc = host->first; proc; proc = proc->next) { in gw_handle_trigger_host()
2798 for (proc = host->first; proc; proc = proc->next) { in gw_handle_trigger_host()
2818 for (proc = host->unused_procs; proc; proc = proc->next) { in gw_handle_trigger_host()
2839 for (gw_proc *proc = host->first; proc; proc = proc->next) { in gw_handle_trigger_exts_wkr()
2925 for (proc = host->first; proc; proc = proc->next) { in gw_handle_waitpid_cb()
2946 for (proc = host->unused_procs; proc; proc = proc->next) { in gw_handle_waitpid_cb()