hp               1160 lib/fencing/st_client.c     stonith_history_t *hp, *hp_old;
hp               1162 lib/fencing/st_client.c     for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) {
hp               1163 lib/fencing/st_client.c         free(hp->target);
hp               1164 lib/fencing/st_client.c         free(hp->action);
hp               1165 lib/fencing/st_client.c         free(hp->origin);
hp               1166 lib/fencing/st_client.c         free(hp->delegate);
hp               1167 lib/fencing/st_client.c         free(hp->client);
hp               2291 lib/fencing/st_client.c     stonith_history_t *history = NULL, *hp = NULL;
hp               2316 lib/fencing/st_client.c         for (hp = history; hp; hp = hp->next) {
hp               2320 lib/fencing/st_client.c                 if (hp->state != st_done && hp->state != st_failed) {
hp               2324 lib/fencing/st_client.c             } else if (hp->state == st_done) {
hp               2326 lib/fencing/st_client.c                 if (hp->completed > when) {
hp               2327 lib/fencing/st_client.c                     when = hp->completed;
hp               2562 lib/fencing/st_client.c     stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp;
hp               2564 lib/fencing/st_client.c     for (hp = history; hp; ) {
hp               2565 lib/fencing/st_client.c         tmp = hp->next;
hp               2566 lib/fencing/st_client.c         if ((hp->state == st_done) || (hp->state == st_failed)) {
hp               2568 lib/fencing/st_client.c             if ((!new) || (hp->completed > new->completed)) {
hp               2569 lib/fencing/st_client.c                 hp->next = new;
hp               2570 lib/fencing/st_client.c                 new = hp;
hp               2574 lib/fencing/st_client.c                     if ((!np->next) || (hp->completed > np->next->completed)) {
hp               2575 lib/fencing/st_client.c                         hp->next = np->next;
hp               2576 lib/fencing/st_client.c                         np->next = hp;
hp               2584 lib/fencing/st_client.c             hp->next = pending;
hp               2585 lib/fencing/st_client.c             pending = hp;
hp               2587 lib/fencing/st_client.c         hp = tmp;
hp               2629 lib/fencing/st_client.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp               2630 lib/fencing/st_client.c         if (matching_fn(hp, user_data)) {
hp               2631 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(only_node, hp->target, 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(only_node, hp->target, 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(only_node, hp->target, 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(only_node, hp->target, 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(only_node, hp->target, 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               1514 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq,
hp               1517 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1554 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq,
hp               1557 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1558 lib/pacemaker/pcmk_output.c                 CHECK_RC(rc, out->message(out, "fencing-list", hp, unames,
hp               1562 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL);
hp               1564 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1565 lib/pacemaker/pcmk_output.c                 CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, unames,
hp               1703 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq,
hp               1706 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1728 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq,
hp               1731 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1732 lib/pacemaker/pcmk_output.c                 out->message(out, "fencing-list", hp, unames, section_opts, FALSE);
hp               1735 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL);
hp               1737 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1738 lib/pacemaker/pcmk_output.c                 out->message(out, "pending-fencing-list", hp, unames,