pcmk_children 77 daemons/pacemakerd/pacemakerd.c static pcmk_child_t pcmk_children[] = { pcmk_children 385 daemons/pacemakerd/pacemakerd.c static int phase = SIZEOF(pcmk_children); pcmk_children 390 daemons/pacemakerd/pacemakerd.c if (phase == SIZEOF(pcmk_children)) { pcmk_children 398 daemons/pacemakerd/pacemakerd.c for (lpc = SIZEOF(pcmk_children) - 1; lpc >= 0; lpc--) { pcmk_children 399 daemons/pacemakerd/pacemakerd.c pcmk_child_t *child = &(pcmk_children[lpc]); pcmk_children 424 daemons/pacemakerd/pacemakerd.c if (phase < pcmk_children[PCMK_CHILD_CONTROLD].start_seq) { pcmk_children 873 daemons/pacemakerd/pacemakerd.c static int max = SIZEOF(pcmk_children); pcmk_children 878 daemons/pacemakerd/pacemakerd.c if (pcmk_children[lpc].active_before_startup == FALSE) { pcmk_children 881 daemons/pacemakerd/pacemakerd.c } else if (start_seq != pcmk_children[lpc].start_seq) { pcmk_children 884 daemons/pacemakerd/pacemakerd.c int rc = child_liveness(&pcmk_children[lpc]); pcmk_children 891 daemons/pacemakerd/pacemakerd.c if (pcmk_children[lpc].respawn == TRUE) { pcmk_children 892 daemons/pacemakerd/pacemakerd.c crm_err("%s[%lld] terminated%s", pcmk_children[lpc].name, pcmk_children 893 daemons/pacemakerd/pacemakerd.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[lpc].pid), pcmk_children 897 daemons/pacemakerd/pacemakerd.c crm_notice("%s[%lld] terminated%s", pcmk_children[lpc].name, pcmk_children 898 daemons/pacemakerd/pacemakerd.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[lpc].pid), pcmk_children 901 daemons/pacemakerd/pacemakerd.c pcmk_process_exit(&(pcmk_children[lpc])); pcmk_children 956 daemons/pacemakerd/pacemakerd.c for (i = 0; i < SIZEOF(pcmk_children); i++) { pcmk_children 958 daemons/pacemakerd/pacemakerd.c if ((pcmk_children[i].endpoint == NULL) pcmk_children 959 daemons/pacemakerd/pacemakerd.c || (pcmk_children[i].respawn_count < 0)) { pcmk_children 963 daemons/pacemakerd/pacemakerd.c rc = child_liveness(&pcmk_children[i]); pcmk_children 972 daemons/pacemakerd/pacemakerd.c pcmk_children[i].respawn_count = rounds; pcmk_children 975 daemons/pacemakerd/pacemakerd.c if (pcmk_children[i].pid == PCMK__SPECIAL_PID) { pcmk_children 980 daemons/pacemakerd/pacemakerd.c pcmk_children[i].endpoint); pcmk_children 982 daemons/pacemakerd/pacemakerd.c } else if (pcmk_children[i].respawn_count == WAIT_TRIES) { pcmk_children 991 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, WAIT_TRIES - 1); pcmk_children 999 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, pcmk_children 1006 daemons/pacemakerd/pacemakerd.c " attempt(s)", pcmk_children[i].endpoint, pcmk_children 1007 daemons/pacemakerd/pacemakerd.c WAIT_TRIES - pcmk_children[i].respawn_count); pcmk_children 1012 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, pcmk_children 1014 daemons/pacemakerd/pacemakerd.c pcmk_children[i].pid)); pcmk_children 1015 daemons/pacemakerd/pacemakerd.c pcmk_children[i].respawn_count = -1; /* 0~keep watching */ pcmk_children 1016 daemons/pacemakerd/pacemakerd.c pcmk_children[i].active_before_startup = TRUE; pcmk_children 1020 daemons/pacemakerd/pacemakerd.c if (pcmk_children[i].respawn_count == WAIT_TRIES) { pcmk_children 1023 daemons/pacemakerd/pacemakerd.c pcmk_children[i].endpoint, pcmk_children 1025 daemons/pacemakerd/pacemakerd.c pcmk_children[i].pid)); pcmk_children 1032 daemons/pacemakerd/pacemakerd.c pcmk_children[i].endpoint, pcmk_children 1034 daemons/pacemakerd/pacemakerd.c pcmk_children[i].pid), pcmk_children 1035 daemons/pacemakerd/pacemakerd.c WAIT_TRIES - pcmk_children[i].respawn_count); pcmk_children 1039 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, pcmk_rc_str(rc), rc); pcmk_children 1048 daemons/pacemakerd/pacemakerd.c for (i = 0; i < SIZEOF(pcmk_children); i++) { pcmk_children 1049 daemons/pacemakerd/pacemakerd.c pcmk_children[i].respawn_count = 0; /* restore pristine state */ pcmk_children 1063 daemons/pacemakerd/pacemakerd.c static int max = SIZEOF(pcmk_children); pcmk_children 1069 daemons/pacemakerd/pacemakerd.c if (pcmk_children[lpc].pid != 0) { pcmk_children 1074 daemons/pacemakerd/pacemakerd.c if (start_seq == pcmk_children[lpc].start_seq) { pcmk_children 1075 daemons/pacemakerd/pacemakerd.c start_child(&(pcmk_children[lpc]));