Home
last modified time | relevance | path

Searched refs:child_index (Results 1 – 2 of 2) sorted by relevance

/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_scoreboard.c177 if (child_index < 0) { in fpm_scoreboard_proc_get()
178 child_index = fpm_scoreboard_i; in fpm_scoreboard_proc_get()
181 if (child_index < 0 || child_index >= scoreboard->nprocs) { in fpm_scoreboard_proc_get()
185 return scoreboard->procs[child_index]; in fpm_scoreboard_proc_get()
217 proc = fpm_scoreboard_proc_get(scoreboard, child_index); in fpm_scoreboard_proc_acquire()
259 fpm_scoreboard_i = child_index; in fpm_scoreboard_child_use()
275 if (child_index < 0 || child_index >= scoreboard->nprocs) { in fpm_scoreboard_proc_free()
279 if (scoreboard->procs[child_index] && scoreboard->procs[child_index]->used > 0) { in fpm_scoreboard_proc_free()
284 scoreboard->free_proc = child_index; in fpm_scoreboard_proc_free()
292 if (!scoreboard || !child_index) { in fpm_scoreboard_proc_alloc()
[all …]
H A Dfpm_scoreboard.h76 …m_scoreboard_proc_s *fpm_scoreboard_proc_get(struct fpm_scoreboard_s *scoreboard, int child_index);
80 …c_s *fpm_scoreboard_proc_acquire(struct fpm_scoreboard_s *scoreboard, int child_index, int nohang);
85 void fpm_scoreboard_child_use(struct fpm_scoreboard_s *scoreboard, int child_index, pid_t pid);
87 void fpm_scoreboard_proc_free(struct fpm_scoreboard_s *scoreboard, int child_index);
88 int fpm_scoreboard_proc_alloc(struct fpm_scoreboard_s *scoreboard, int *child_index);

Completed in 12 milliseconds