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                 43 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                 44 lib/fencing/st_output.c         if (hp->state != st_failed) {
hp                 48 lib/fencing/st_output.c         if (!pcmk__str_in_list(only_node, hp->target)) {
hp                 53 lib/fencing/st_output.c         out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history));
hp                 71 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                 72 lib/fencing/st_output.c         if (!pcmk__str_in_list(only_node, hp->target)) {
hp                 76 lib/fencing/st_output.c         if (hp->state != st_failed) {
hp                 78 lib/fencing/st_output.c             out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history));
hp                 98 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                 99 lib/fencing/st_output.c         if (!pcmk__str_in_list(only_node, hp->target)) {
hp                104 lib/fencing/st_output.c         out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history));
hp                124 lib/fencing/st_output.c         for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                125 lib/fencing/st_output.c             if (!pcmk__str_in_list(only_node, hp->target)) {
hp                130 lib/fencing/st_output.c             out->message(out, "stonith-event", hp, full_history, stonith__later_succeeded(hp, history));
hp                211 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                212 lib/fencing/st_output.c         if (!pcmk__str_in_list(only_node, hp->target)) {
hp                217 lib/fencing/st_output.c         if ((hp->state == st_failed) || (hp->state == st_done)) {
hp                222 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                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                129 tools/crm_mon_print.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq,
hp                132 tools/crm_mon_print.c             if (hp) {
hp                171 tools/crm_mon_print.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq,
hp                174 tools/crm_mon_print.c             if (hp) {
hp                175 tools/crm_mon_print.c                 CHECK_RC(rc, out->message(out, "fencing-list", hp, unames,
hp                180 tools/crm_mon_print.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL);
hp                182 tools/crm_mon_print.c             if (hp) {
hp                183 tools/crm_mon_print.c                 CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, unames,
hp                376 tools/crm_mon_print.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_eq,
hp                379 tools/crm_mon_print.c             if (hp) {
hp                401 tools/crm_mon_print.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_neq,
hp                404 tools/crm_mon_print.c             if (hp) {
hp                405 tools/crm_mon_print.c                 out->message(out, "fencing-list", hp, unames,
hp                410 tools/crm_mon_print.c             stonith_history_t *hp = stonith__first_matching_event(stonith_history, stonith__event_state_pending, NULL);
hp                412 tools/crm_mon_print.c             if (hp) {
hp                413 tools/crm_mon_print.c                 out->message(out, "pending-fencing-list", hp, unames,