hp 757 lib/fencing/st_client.c stonith_history_t *hp, *hp_old; hp 759 lib/fencing/st_client.c for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) { hp 760 lib/fencing/st_client.c free(hp->target); hp 761 lib/fencing/st_client.c free(hp->action); hp 762 lib/fencing/st_client.c free(hp->origin); hp 763 lib/fencing/st_client.c free(hp->delegate); hp 764 lib/fencing/st_client.c free(hp->client); hp 765 lib/fencing/st_client.c free(hp->exit_reason); hp 2006 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; hp 2031 lib/fencing/st_client.c for (hp = history; hp; hp = hp->next) { hp 2035 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { hp 2039 lib/fencing/st_client.c } else if (hp->state == st_done) { hp 2041 lib/fencing/st_client.c if (hp->completed > when) { hp 2042 lib/fencing/st_client.c when = hp->completed; hp 2289 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; hp 2291 lib/fencing/st_client.c for (hp = history; hp; ) { hp 2292 lib/fencing/st_client.c tmp = hp->next; hp 2293 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 2295 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed) || hp 2296 lib/fencing/st_client.c ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) { hp 2297 lib/fencing/st_client.c hp->next = new; hp 2298 lib/fencing/st_client.c new = hp; hp 2302 lib/fencing/st_client.c if ((!np->next) || (hp->completed > np->next->completed) || hp 2303 lib/fencing/st_client.c ((hp->completed == np->next->completed) && (hp->completed_nsec > np->next->completed_nsec))) { hp 2304 lib/fencing/st_client.c hp->next = np->next; hp 2305 lib/fencing/st_client.c np->next = hp; hp 2313 lib/fencing/st_client.c hp->next = pending; hp 2314 lib/fencing/st_client.c pending = hp; hp 2316 lib/fencing/st_client.c hp = tmp; hp 2358 lib/fencing/st_client.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 2359 lib/fencing/st_client.c if (matching_fn(hp, user_data)) { hp 2360 lib/fencing/st_client.c return hp; hp 165 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 166 lib/fencing/st_output.c if (hp->state != st_failed) { hp 170 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 175 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 177 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 198 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 199 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 203 lib/fencing/st_output.c if (hp->state != st_failed) { hp 205 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 208 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 231 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 232 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 237 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 239 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 262 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 263 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 268 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 271 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 355 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 356 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 361 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { hp 366 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 368 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 79 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; hp 86 lib/pacemaker/pcmk_fence.c hp = new->next; hp 89 lib/pacemaker/pcmk_fence.c while (hp) { hp 90 lib/pacemaker/pcmk_fence.c stonith_history_t *hp_next = hp->next; hp 92 lib/pacemaker/pcmk_fence.c hp->next = NULL; hp 95 lib/pacemaker/pcmk_fence.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 97 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && hp 98 lib/pacemaker/pcmk_fence.c pcmk__str_eq(hp->action, np->action, pcmk__str_none) && hp 99 lib/pacemaker/pcmk_fence.c (hp->state == np->state) && hp 100 lib/pacemaker/pcmk_fence.c ((hp->state == st_done) || hp 101 lib/pacemaker/pcmk_fence.c pcmk__str_eq(hp->delegate, np->delegate, pcmk__str_casei))) { hp 103 lib/pacemaker/pcmk_fence.c stonith_history_free(hp); hp 109 lib/pacemaker/pcmk_fence.c np->next = hp; hp 113 lib/pacemaker/pcmk_fence.c hp = hp_next; hp 232 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; hp 264 lib/pacemaker/pcmk_fence.c for (hp = history; hp; hp = hp->next) { hp 265 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { hp 266 lib/pacemaker/pcmk_fence.c latest = hp; hp 273 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, true, false, hp 274 lib/pacemaker/pcmk_fence.c stonith__later_succeeded(hp, history), hp 1669 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 1672 lib/pacemaker/pcmk_output.c if (hp) { hp 1711 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 1714 lib/pacemaker/pcmk_output.c if (hp) { hp 1715 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "fencing-list", hp, unames, hp 1720 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 1722 lib/pacemaker/pcmk_output.c if (hp) { hp 1723 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, hp 1866 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 1869 lib/pacemaker/pcmk_output.c if (hp) { hp 1892 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 1895 lib/pacemaker/pcmk_output.c if (hp) { hp 1896 lib/pacemaker/pcmk_output.c out->message(out, "fencing-list", hp, unames, section_opts, hp 1900 lib/pacemaker/pcmk_output.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 1902 lib/pacemaker/pcmk_output.c if (hp) { hp 1903 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. */