hp 761 lib/fencing/st_client.c stonith_history_t *hp, *hp_old; hp 763 lib/fencing/st_client.c for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) { hp 764 lib/fencing/st_client.c free(hp->target); hp 765 lib/fencing/st_client.c free(hp->action); hp 766 lib/fencing/st_client.c free(hp->origin); hp 767 lib/fencing/st_client.c free(hp->delegate); hp 768 lib/fencing/st_client.c free(hp->client); hp 769 lib/fencing/st_client.c free(hp->exit_reason); hp 2018 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; hp 2043 lib/fencing/st_client.c for (hp = history; hp; hp = hp->next) { hp 2047 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { hp 2051 lib/fencing/st_client.c } else if (hp->state == st_done) { hp 2053 lib/fencing/st_client.c if (hp->completed > when) { hp 2054 lib/fencing/st_client.c when = hp->completed; hp 2303 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; hp 2305 lib/fencing/st_client.c for (hp = history; hp; ) { hp 2306 lib/fencing/st_client.c tmp = hp->next; hp 2307 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 2309 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed) || hp 2310 lib/fencing/st_client.c ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) { hp 2311 lib/fencing/st_client.c hp->next = new; hp 2312 lib/fencing/st_client.c new = hp; hp 2316 lib/fencing/st_client.c if ((!np->next) || (hp->completed > np->next->completed) || hp 2317 lib/fencing/st_client.c ((hp->completed == np->next->completed) && (hp->completed_nsec > np->next->completed_nsec))) { hp 2318 lib/fencing/st_client.c hp->next = np->next; hp 2319 lib/fencing/st_client.c np->next = hp; hp 2327 lib/fencing/st_client.c hp->next = pending; hp 2328 lib/fencing/st_client.c pending = hp; hp 2330 lib/fencing/st_client.c hp = tmp; hp 2372 lib/fencing/st_client.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 2373 lib/fencing/st_client.c if (matching_fn(hp, user_data)) { hp 2374 lib/fencing/st_client.c return hp; hp 182 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 183 lib/fencing/st_output.c if (hp->state != st_failed) { hp 187 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 192 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 194 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 215 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 216 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 220 lib/fencing/st_output.c if (hp->state != st_failed) { hp 222 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 225 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 248 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 249 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 254 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 256 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 279 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 280 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 285 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 288 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 372 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 373 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { hp 378 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { hp 383 lib/fencing/st_output.c out->message(out, "stonith-event", hp, hp 385 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); hp 80 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; hp 87 lib/pacemaker/pcmk_fence.c hp = new->next; hp 90 lib/pacemaker/pcmk_fence.c while (hp) { hp 91 lib/pacemaker/pcmk_fence.c stonith_history_t *hp_next = hp->next; hp 93 lib/pacemaker/pcmk_fence.c hp->next = NULL; hp 96 lib/pacemaker/pcmk_fence.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 98 lib/pacemaker/pcmk_fence.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) hp 99 lib/pacemaker/pcmk_fence.c && pcmk__str_eq(hp->action, np->action, pcmk__str_none) hp 100 lib/pacemaker/pcmk_fence.c && (hp->state == np->state) hp 101 lib/pacemaker/pcmk_fence.c && ((hp->state == st_done) hp 102 lib/pacemaker/pcmk_fence.c || pcmk__str_eq(hp->delegate, np->delegate, hp 105 lib/pacemaker/pcmk_fence.c stonith_history_free(hp); hp 111 lib/pacemaker/pcmk_fence.c np->next = hp; hp 115 lib/pacemaker/pcmk_fence.c hp = hp_next; hp 238 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; hp 271 lib/pacemaker/pcmk_fence.c for (hp = history; hp; hp = hp->next) { hp 272 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { hp 273 lib/pacemaker/pcmk_fence.c latest = hp; hp 280 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, true, false, hp 281 lib/pacemaker/pcmk_fence.c stonith__later_succeeded(hp, history), hp 1848 lib/pacemaker/pcmk_output.c stonith_history_t *hp = NULL; hp 1850 lib/pacemaker/pcmk_output.c hp = stonith__first_matching_event(stonith_history, hp 1853 lib/pacemaker/pcmk_output.c if (hp) { hp 1893 lib/pacemaker/pcmk_output.c stonith_history_t *hp = NULL; hp 1895 lib/pacemaker/pcmk_output.c hp = stonith__first_matching_event(stonith_history, hp 1898 lib/pacemaker/pcmk_output.c if (hp) { hp 1899 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "fencing-list", hp, unames, hp 1904 lib/pacemaker/pcmk_output.c stonith_history_t *hp = NULL; hp 1906 lib/pacemaker/pcmk_output.c hp = stonith__first_matching_event(stonith_history, hp 1909 lib/pacemaker/pcmk_output.c if (hp) { hp 1910 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, hp 2065 lib/pacemaker/pcmk_output.c stonith_history_t *hp = NULL; hp 2067 lib/pacemaker/pcmk_output.c hp = stonith__first_matching_event(stonith_history, hp 2070 lib/pacemaker/pcmk_output.c if (hp) { hp 2093 lib/pacemaker/pcmk_output.c stonith_history_t *hp = NULL; hp 2095 lib/pacemaker/pcmk_output.c hp = stonith__first_matching_event(stonith_history, hp 2098 lib/pacemaker/pcmk_output.c if (hp) { hp 2099 lib/pacemaker/pcmk_output.c out->message(out, "fencing-list", hp, unames, section_opts, hp 2103 lib/pacemaker/pcmk_output.c stonith_history_t *hp = NULL; hp 2105 lib/pacemaker/pcmk_output.c hp = stonith__first_matching_event(stonith_history, hp 2108 lib/pacemaker/pcmk_output.c if (hp) { hp 2109 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. */