hp 1167 lib/fencing/st_client.c stonith_history_t *hp, *hp_old; hp 1169 lib/fencing/st_client.c for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) { hp 1170 lib/fencing/st_client.c free(hp->target); hp 1171 lib/fencing/st_client.c free(hp->action); hp 1172 lib/fencing/st_client.c free(hp->origin); hp 1173 lib/fencing/st_client.c free(hp->delegate); hp 1174 lib/fencing/st_client.c free(hp->client); hp 2302 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; hp 2327 lib/fencing/st_client.c for (hp = history; hp; hp = hp->next) { hp 2331 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { hp 2335 lib/fencing/st_client.c } else if (hp->state == st_done) { hp 2337 lib/fencing/st_client.c if (hp->completed > when) { hp 2338 lib/fencing/st_client.c when = hp->completed; hp 2573 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; hp 2575 lib/fencing/st_client.c for (hp = history; hp; ) { hp 2576 lib/fencing/st_client.c tmp = hp->next; hp 2577 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 2579 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed)) { hp 2580 lib/fencing/st_client.c hp->next = new; hp 2581 lib/fencing/st_client.c new = hp; hp 2585 lib/fencing/st_client.c if ((!np->next) || (hp->completed > np->next->completed)) { hp 2586 lib/fencing/st_client.c hp->next = np->next; hp 2587 lib/fencing/st_client.c np->next = hp; hp 2595 lib/fencing/st_client.c hp->next = pending; hp 2596 lib/fencing/st_client.c pending = hp; hp 2598 lib/fencing/st_client.c hp = tmp; hp 2620 lib/fencing/st_client.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 2621 lib/fencing/st_client.c if (matching_fn(hp, user_data)) { hp 2622 lib/fencing/st_client.c return hp; hp 42 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 43 lib/fencing/st_output.c if (hp->state != st_failed) { hp 47 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { hp 52 lib/fencing/st_output.c out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history)); hp 70 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 71 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { hp 75 lib/fencing/st_output.c if (hp->state != st_failed) { hp 77 lib/fencing/st_output.c out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history)); hp 97 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 98 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { hp 103 lib/fencing/st_output.c out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history)); hp 123 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 124 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { hp 129 lib/fencing/st_output.c out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history)); hp 208 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { hp 209 lib/fencing/st_output.c if (!pcmk__str_in_list(only_node, hp->target)) { hp 214 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { hp 219 lib/fencing/st_output.c out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history)); hp 176 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; hp 210 lib/pacemaker/pcmk_fence.c for (hp = history; hp; hp = hp->next) { hp 211 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { hp 212 lib/pacemaker/pcmk_fence.c latest = hp; hp 219 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, 1, stonith__later_succeeded(hp, history)); hp 1543 tools/crm_mon.c stonith_history_t *new = history, *hp, *np; hp 1546 tools/crm_mon.c hp = new->next; hp 1549 tools/crm_mon.c while (hp) { hp 1550 tools/crm_mon.c stonith_history_t *hp_next = hp->next; hp 1552 tools/crm_mon.c hp->next = NULL; hp 1555 tools/crm_mon.c if ((hp->state == st_done) || (hp->state == st_failed)) { hp 1557 tools/crm_mon.c if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei) && hp 1558 tools/crm_mon.c pcmk__str_eq(hp->action, np->action, pcmk__str_casei) && hp 1559 tools/crm_mon.c (hp->state == np->state) && hp 1560 tools/crm_mon.c ((hp->state == st_done) || hp 1561 tools/crm_mon.c pcmk__str_eq(hp->delegate, np->delegate, pcmk__str_casei))) { hp 1563 tools/crm_mon.c stonith_history_free(hp); hp 1569 tools/crm_mon.c np->next = hp; hp 1573 tools/crm_mon.c hp = hp_next; hp 734 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 737 tools/crm_mon_print.c if (hp) { hp 758 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 761 tools/crm_mon_print.c if (hp) { hp 762 tools/crm_mon_print.c CHECK_RC(rc, out->message(out, "fencing-history", hp, unames, hp 767 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 769 tools/crm_mon_print.c if (hp) { hp 770 tools/crm_mon_print.c CHECK_RC(rc, out->message(out, "pending-fencing-actions", hp, unames, hp 953 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq, hp 956 tools/crm_mon_print.c if (hp) { hp 965 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq, hp 968 tools/crm_mon_print.c if (hp) { hp 969 tools/crm_mon_print.c out->message(out, "fencing-history", hp, unames, hp 974 tools/crm_mon_print.c stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL); hp 976 tools/crm_mon_print.c if (hp) { hp 977 tools/crm_mon_print.c out->message(out, "pending-fencing-actions", hp, unames,