next_child 131 daemons/pacemakerd/pcmkd_subdaemons.c static int next_child = 0; next_child 132 daemons/pacemakerd/pcmkd_subdaemons.c int rc = child_liveness(&pcmk_children[next_child]); next_child 135 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 136 daemons/pacemakerd/pcmkd_subdaemons.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[next_child].pid), next_child 141 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count = 0; next_child 145 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count++; next_child 146 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].check_count >= PCMK_PROCESS_CHECK_RETRIES) { next_child 149 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 151 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid), next_child 152 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count); next_child 153 daemons/pacemakerd/pcmkd_subdaemons.c stop_child(&pcmk_children[next_child], SIGKILL); next_child 154 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn) { next_child 158 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count = 0; next_child 162 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 164 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid), next_child 165 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count); next_child 166 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn) { next_child 180 daemons/pacemakerd/pcmkd_subdaemons.c if (!pcmk_children[next_child].respawn) { next_child 187 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn_count <= MAX_RESPAWN) { next_child 191 daemons/pacemakerd/pcmkd_subdaemons.c if (!pcmk_children[next_child].active_before_startup) { next_child 194 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 196 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); next_child 199 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn) { next_child 201 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 203 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); next_child 207 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 209 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); next_child 211 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_process_exit(&(pcmk_children[next_child])); next_child 218 daemons/pacemakerd/pcmkd_subdaemons.c next_child++; next_child 219 daemons/pacemakerd/pcmkd_subdaemons.c if (next_child >= PCMK__NELEM(pcmk_children)) { next_child 220 daemons/pacemakerd/pcmkd_subdaemons.c next_child = 0;