next_child 134 daemons/pacemakerd/pcmkd_subdaemons.c static int next_child = 0; next_child 135 daemons/pacemakerd/pcmkd_subdaemons.c int rc = child_liveness(&pcmk_children[next_child]); next_child 138 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 139 daemons/pacemakerd/pcmkd_subdaemons.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[next_child].pid), next_child 144 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count = 0; next_child 148 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count++; next_child 149 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].check_count >= PCMK_PROCESS_CHECK_RETRIES) { next_child 152 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 154 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid), next_child 155 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count); next_child 156 daemons/pacemakerd/pcmkd_subdaemons.c stop_child(&pcmk_children[next_child], SIGKILL); next_child 157 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn) { next_child 161 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count = 0; next_child 165 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 167 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid), next_child 168 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].check_count); next_child 169 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn) { next_child 183 daemons/pacemakerd/pcmkd_subdaemons.c if (!pcmk_children[next_child].respawn) { next_child 190 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn_count <= MAX_RESPAWN) { next_child 194 daemons/pacemakerd/pcmkd_subdaemons.c if (!pcmk_children[next_child].active_before_startup) { next_child 197 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 199 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); next_child 202 daemons/pacemakerd/pcmkd_subdaemons.c if (pcmk_children[next_child].respawn) { next_child 204 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 206 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); next_child 210 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, next_child 212 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].pid)); next_child 214 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_process_exit(&(pcmk_children[next_child])); next_child 221 daemons/pacemakerd/pcmkd_subdaemons.c next_child++; next_child 222 daemons/pacemakerd/pcmkd_subdaemons.c if (next_child >= PCMK__NELEM(pcmk_children)) { next_child 223 daemons/pacemakerd/pcmkd_subdaemons.c next_child = 0;