hp 743 lib/fencing/st_client.c stonith_history_t *hp, *hp_old; hp 745 lib/fencing/st_client.c for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) { hp 746 lib/fencing/st_client.c free(hp->target); hp 747 lib/fencing/st_client.c free(hp->action); hp 748 lib/fencing/st_client.c free(hp->origin); hp 749 lib/fencing/st_client.c free(hp->delegate); hp 750 lib/fencing/st_client.c free(hp->client); hp 751 lib/fencing/st_client.c free(hp->exit_reason); hp 1956 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; hp 1981 lib/fencing/st_client.c for (hp = history; hp; hp = hp->next) { hp 1985 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { hp 1989 lib/fencing/st_client.c } else if (hp->state == st_done) { hp 1991 lib/fencing/st_client.c if (hp->completed > when) { hp 1992 lib/fencing/st_client.c when = hp->completed; hp 2228 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; hp 2230 lib/fencing/st_client.c for (hp = history; hp; ) { hp 2231 lib/fencing/st_client.c tmp = hp->next; hp 2232 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 2234 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed) || hp 2235 lib/fencing/st_client.c ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) { hp 2236 lib/fencing/st_client.c hp->next = new; hp 2237 lib/fencing/st_client.c new = hp; hp 2241 lib/fencing/st_client.c if ((!np->next) || (hp->completed > np->next->completed) || hp 2242 lib/fencing/st_client.c ((hp->completed == np->next->completed) && (hp->completed_nsec > np->next->completed_nsec))) { hp 2243 lib/fencing/st_client.c hp->next = np->next; hp 2244 lib/fencing/st_client.c np->next = hp; hp 2252 lib/fencing/st_client.c hp->next = pending; hp 2253 lib/fencing/st_client.c pending = hp; hp 2255 lib/fencing/st_client.c hp = tmp; hp 2297 lib/fencing/st_client.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 2298 lib/fencing/st_client.c if (matching_fn(hp, user_data)) { hp 2299 lib/fencing/st_client.c return hp; hp 47 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 48 lib/fencing/st_output.c if (hp->state != st_failed) { hp 52 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 57 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 58 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 76 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 77 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 81 lib/fencing/st_output.c if (hp->state != st_failed) { hp 83 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 84 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 105 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 106 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 111 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 112 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 133 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 134 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 139 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 140 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 222 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 223 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 228 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { hp 233 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 234 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 78 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; hp 85 lib/pacemaker/pcmk_fence.c hp = new->next; hp 88 lib/pacemaker/pcmk_fence.c while (hp) { hp 89 lib/pacemaker/pcmk_fence.c stonith_history_t *hp_next = hp->next; hp 91 lib/pacemaker/pcmk_fence.c hp->next = NULL; hp 94 lib/pacemaker/pcmk_fence.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 96 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && hp 97 lib/pacemaker/pcmk_fence.c pcmk__str_eq(hp->action, np->action, pcmk__str_none) && hp 98 lib/pacemaker/pcmk_fence.c (hp->state == np->state) && hp 99 lib/pacemaker/pcmk_fence.c ((hp->state == st_done) || hp 100 lib/pacemaker/pcmk_fence.c pcmk__str_eq(hp->delegate, np->delegate, pcmk__str_casei))) { hp 102 lib/pacemaker/pcmk_fence.c stonith_history_free(hp); hp 108 lib/pacemaker/pcmk_fence.c np->next = hp; hp 112 lib/pacemaker/pcmk_fence.c hp = hp_next; hp 231 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; hp 263 lib/pacemaker/pcmk_fence.c for (hp = history; hp; hp = hp->next) { hp 264 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { hp 265 lib/pacemaker/pcmk_fence.c latest = hp; hp 272 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, 1, stonith__later_succeeded(hp, history)); hp 1555 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 1558 lib/pacemaker/pcmk_output.c if (hp) { hp 1595 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 1598 lib/pacemaker/pcmk_output.c if (hp) { hp 1599 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "fencing-list", hp, unames, hp 1603 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 1605 lib/pacemaker/pcmk_output.c if (hp) { hp 1606 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, unames, hp 1745 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 1748 lib/pacemaker/pcmk_output.c if (hp) { hp 1770 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 1773 lib/pacemaker/pcmk_output.c if (hp) { hp 1774 lib/pacemaker/pcmk_output.c out->message(out, "fencing-list", hp, unames, section_opts, FALSE); hp 1777 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 1779 lib/pacemaker/pcmk_output.c if (hp) { hp 1780 lib/pacemaker/pcmk_output.c out->message(out, "pending-fencing-list", hp, unames, hp 146 maint/gnulib/lib/alloca.c register header *hp; /* Traverses linked list. */ hp 152 maint/gnulib/lib/alloca.c for (hp = last_alloca_header; hp != NULL;) hp 153 maint/gnulib/lib/alloca.c if ((STACK_DIR > 0 && hp->h.deep > depth) hp 154 maint/gnulib/lib/alloca.c || (STACK_DIR < 0 && hp->h.deep < depth)) hp 156 maint/gnulib/lib/alloca.c register header *np = hp->h.next; hp 158 maint/gnulib/lib/alloca.c free (hp); /* Collect garbage. */ hp 160 maint/gnulib/lib/alloca.c hp = np; /* -> next header. */ hp 165 maint/gnulib/lib/alloca.c last_alloca_header = hp; /* -> last valid storage. */