Home
last modified time | relevance | path

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

/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_scoreboard.c166 if (child_index < 0) { in fpm_scoreboard_proc_get()
167 child_index = fpm_scoreboard_i; in fpm_scoreboard_proc_get()
170 if (child_index < 0 || child_index >= scoreboard->nprocs) { in fpm_scoreboard_proc_get()
174 return scoreboard->procs[child_index]; in fpm_scoreboard_proc_get()
206 proc = fpm_scoreboard_proc_get(scoreboard, child_index); in fpm_scoreboard_proc_acquire()
251 fpm_scoreboard_i = child_index; in fpm_scoreboard_child_use()
267 if (child_index < 0 || child_index >= scoreboard->nprocs) { in fpm_scoreboard_proc_free()
271 if (scoreboard->procs[child_index] && scoreboard->procs[child_index]->used > 0) { in fpm_scoreboard_proc_free()
276 scoreboard->free_proc = child_index; in fpm_scoreboard_proc_free()
284 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 6 milliseconds