hp 1225 lib/fencing/st_client.c stonith_history_t *hp, *hp_old; hp 1227 lib/fencing/st_client.c for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) { hp 1228 lib/fencing/st_client.c free(hp->target); hp 1229 lib/fencing/st_client.c free(hp->action); hp 1230 lib/fencing/st_client.c free(hp->origin); hp 1231 lib/fencing/st_client.c free(hp->delegate); hp 1232 lib/fencing/st_client.c free(hp->client); hp 2356 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; hp 2381 lib/fencing/st_client.c for (hp = history; hp; hp = hp->next) { hp 2385 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { hp 2389 lib/fencing/st_client.c } else if (hp->state == st_done) { hp 2391 lib/fencing/st_client.c if (hp->completed > when) { hp 2392 lib/fencing/st_client.c when = hp->completed; hp 2628 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; hp 2630 lib/fencing/st_client.c for (hp = history; hp; ) { hp 2631 lib/fencing/st_client.c tmp = hp->next; hp 2632 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 2634 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed) || hp 2635 lib/fencing/st_client.c ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) { hp 2636 lib/fencing/st_client.c hp->next = new; hp 2637 lib/fencing/st_client.c new = hp; hp 2641 lib/fencing/st_client.c if ((!np->next) || (hp->completed > np->next->completed) || hp 2642 lib/fencing/st_client.c ((hp->completed == np->next->completed) && (hp->completed_nsec > np->next->completed_nsec))) { hp 2643 lib/fencing/st_client.c hp->next = np->next; hp 2644 lib/fencing/st_client.c np->next = hp; hp 2652 lib/fencing/st_client.c hp->next = pending; hp 2653 lib/fencing/st_client.c pending = hp; hp 2655 lib/fencing/st_client.c hp = tmp; hp 2697 lib/fencing/st_client.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 2698 lib/fencing/st_client.c if (matching_fn(hp, user_data)) { hp 2699 lib/fencing/st_client.c return hp; hp 45 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 46 lib/fencing/st_output.c if (hp->state != st_failed) { hp 50 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 55 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 56 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 74 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 75 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 79 lib/fencing/st_output.c if (hp->state != st_failed) { hp 81 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 82 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 103 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 104 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 109 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 110 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 131 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 132 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 137 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 138 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 220 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 221 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 226 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { hp 231 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), hp 232 lib/fencing/st_output.c stonith__later_succeeded(hp, history)); hp 176 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; hp 208 lib/pacemaker/pcmk_fence.c for (hp = history; hp; hp = hp->next) { hp 209 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { hp 210 lib/pacemaker/pcmk_fence.c latest = hp; hp 217 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, 1, stonith__later_succeeded(hp, history)); hp 525 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; hp 532 lib/pacemaker/pcmk_fence.c hp = new->next; hp 535 lib/pacemaker/pcmk_fence.c while (hp) { hp 536 lib/pacemaker/pcmk_fence.c stonith_history_t *hp_next = hp->next; hp 538 lib/pacemaker/pcmk_fence.c hp->next = NULL; hp 541 lib/pacemaker/pcmk_fence.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 543 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && hp 544 lib/pacemaker/pcmk_fence.c pcmk__str_eq(hp->action, np->action, pcmk__str_casei) && hp 545 lib/pacemaker/pcmk_fence.c (hp->state == np->state) && hp 546 lib/pacemaker/pcmk_fence.c ((hp->state == st_done) || hp 547 lib/pacemaker/pcmk_fence.c pcmk__str_eq(hp->delegate, np->delegate, pcmk__str_casei))) { hp 549 lib/pacemaker/pcmk_fence.c stonith_history_free(hp); hp 555 lib/pacemaker/pcmk_fence.c np->next = hp; hp 559 lib/pacemaker/pcmk_fence.c hp = hp_next; hp 1546 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 1549 lib/pacemaker/pcmk_output.c if (hp) { hp 1586 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 1589 lib/pacemaker/pcmk_output.c if (hp) { hp 1590 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "fencing-list", hp, unames, hp 1594 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 1596 lib/pacemaker/pcmk_output.c if (hp) { hp 1597 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, unames, hp 1737 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 1740 lib/pacemaker/pcmk_output.c if (hp) { hp 1762 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 1765 lib/pacemaker/pcmk_output.c if (hp) { hp 1766 lib/pacemaker/pcmk_output.c out->message(out, "fencing-list", hp, unames, section_opts, FALSE); hp 1769 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 1771 lib/pacemaker/pcmk_output.c if (hp) { hp 1772 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. */