pcmk_children 79 daemons/pacemakerd/pacemakerd.c static pcmk_child_t pcmk_children[] = { pcmk_children 394 daemons/pacemakerd/pacemakerd.c static int phase = SIZEOF(pcmk_children); pcmk_children 399 daemons/pacemakerd/pacemakerd.c if (phase == SIZEOF(pcmk_children)) { pcmk_children 407 daemons/pacemakerd/pacemakerd.c for (lpc = SIZEOF(pcmk_children) - 1; lpc >= 0; lpc--) { pcmk_children 408 daemons/pacemakerd/pacemakerd.c pcmk_child_t *child = &(pcmk_children[lpc]); pcmk_children 433 daemons/pacemakerd/pacemakerd.c if (phase < pcmk_children[PCMK_CHILD_CONTROLD].start_seq) { pcmk_children 843 daemons/pacemakerd/pacemakerd.c static int max = SIZEOF(pcmk_children); pcmk_children 848 daemons/pacemakerd/pacemakerd.c if (pcmk_children[lpc].active_before_startup == FALSE) { pcmk_children 851 daemons/pacemakerd/pacemakerd.c } else if (start_seq != pcmk_children[lpc].start_seq) { pcmk_children 854 daemons/pacemakerd/pacemakerd.c int rc = child_liveness(&pcmk_children[lpc]); pcmk_children 861 daemons/pacemakerd/pacemakerd.c if (pcmk_children[lpc].respawn == TRUE) { pcmk_children 862 daemons/pacemakerd/pacemakerd.c crm_err("%s[%lld] terminated%s", pcmk_children[lpc].name, pcmk_children 863 daemons/pacemakerd/pacemakerd.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[lpc].pid), pcmk_children 867 daemons/pacemakerd/pacemakerd.c crm_notice("%s[%lld] terminated%s", pcmk_children[lpc].name, pcmk_children 868 daemons/pacemakerd/pacemakerd.c (long long) PCMK__SPECIAL_PID_AS_0(pcmk_children[lpc].pid), pcmk_children 871 daemons/pacemakerd/pacemakerd.c pcmk_process_exit(&(pcmk_children[lpc])); pcmk_children 926 daemons/pacemakerd/pacemakerd.c for (i = 0; i < SIZEOF(pcmk_children); i++) { pcmk_children 928 daemons/pacemakerd/pacemakerd.c if ((pcmk_children[i].endpoint == NULL) pcmk_children 929 daemons/pacemakerd/pacemakerd.c || (pcmk_children[i].respawn_count < 0)) { pcmk_children 933 daemons/pacemakerd/pacemakerd.c rc = child_liveness(&pcmk_children[i]); pcmk_children 942 daemons/pacemakerd/pacemakerd.c pcmk_children[i].respawn_count = rounds; pcmk_children 945 daemons/pacemakerd/pacemakerd.c if (pcmk_children[i].pid == PCMK__SPECIAL_PID) { pcmk_children 950 daemons/pacemakerd/pacemakerd.c pcmk_children[i].endpoint); pcmk_children 952 daemons/pacemakerd/pacemakerd.c } else if (pcmk_children[i].respawn_count == WAIT_TRIES) { pcmk_children 961 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, WAIT_TRIES - 1); pcmk_children 969 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, pcmk_children 976 daemons/pacemakerd/pacemakerd.c " attempt(s)", pcmk_children[i].endpoint, pcmk_children 977 daemons/pacemakerd/pacemakerd.c WAIT_TRIES - pcmk_children[i].respawn_count); pcmk_children 982 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, pcmk_children 984 daemons/pacemakerd/pacemakerd.c pcmk_children[i].pid)); pcmk_children 985 daemons/pacemakerd/pacemakerd.c pcmk_children[i].respawn_count = -1; /* 0~keep watching */ pcmk_children 986 daemons/pacemakerd/pacemakerd.c pcmk_children[i].active_before_startup = TRUE; pcmk_children 990 daemons/pacemakerd/pacemakerd.c if (pcmk_children[i].respawn_count == WAIT_TRIES) { pcmk_children 993 daemons/pacemakerd/pacemakerd.c pcmk_children[i].endpoint, pcmk_children 995 daemons/pacemakerd/pacemakerd.c pcmk_children[i].pid)); pcmk_children 1002 daemons/pacemakerd/pacemakerd.c pcmk_children[i].endpoint, pcmk_children 1004 daemons/pacemakerd/pacemakerd.c pcmk_children[i].pid), pcmk_children 1005 daemons/pacemakerd/pacemakerd.c WAIT_TRIES - pcmk_children[i].respawn_count); pcmk_children 1009 daemons/pacemakerd/pacemakerd.c pcmk_children[i].name, pcmk_rc_str(rc), rc); pcmk_children 1018 daemons/pacemakerd/pacemakerd.c for (i = 0; i < SIZEOF(pcmk_children); i++) { pcmk_children 1019 daemons/pacemakerd/pacemakerd.c pcmk_children[i].respawn_count = 0; /* restore pristine state */ pcmk_children 1033 daemons/pacemakerd/pacemakerd.c static int max = SIZEOF(pcmk_children); pcmk_children 1039 daemons/pacemakerd/pacemakerd.c if (pcmk_children[lpc].pid != 0) { pcmk_children 1044 daemons/pacemakerd/pacemakerd.c if (start_seq == pcmk_children[lpc].start_seq) { pcmk_children 1045 daemons/pacemakerd/pacemakerd.c start_child(&(pcmk_children[lpc]));