hp               2100 lib/fencing/st_client.c     stonith_history_t *history = NULL, *hp = NULL;
hp               2125 lib/fencing/st_client.c         for (hp = history; hp; hp = hp->next) {
hp               2129 lib/fencing/st_client.c                 if (hp->state != st_done && hp->state != st_failed) {
hp               2133 lib/fencing/st_client.c             } else if (hp->state == st_done) {
hp               2135 lib/fencing/st_client.c                 if (hp->completed > when) {
hp               2136 lib/fencing/st_client.c                     when = hp->completed;
hp               2389 lib/fencing/st_client.c     stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp;
hp               2391 lib/fencing/st_client.c     for (hp = history; hp; ) {
hp               2392 lib/fencing/st_client.c         tmp = hp->next;
hp               2393 lib/fencing/st_client.c         if ((hp->state == st_done) || (hp->state == st_failed)) {
hp               2395 lib/fencing/st_client.c             if ((!new) || (hp->completed > new->completed) || 
hp               2396 lib/fencing/st_client.c                 ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) {
hp               2397 lib/fencing/st_client.c                 hp->next = new;
hp               2398 lib/fencing/st_client.c                 new = hp;
hp               2402 lib/fencing/st_client.c                     if ((!np->next) || (hp->completed > np->next->completed) ||
hp               2403 lib/fencing/st_client.c                         ((hp->completed == np->next->completed) && (hp->completed_nsec > np->next->completed_nsec))) {
hp               2404 lib/fencing/st_client.c                         hp->next = np->next;
hp               2405 lib/fencing/st_client.c                         np->next = hp;
hp               2413 lib/fencing/st_client.c             hp->next = pending;
hp               2414 lib/fencing/st_client.c             pending = hp;
hp               2416 lib/fencing/st_client.c         hp = tmp;
hp               2466 lib/fencing/st_client.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp               2467 lib/fencing/st_client.c         if (matching_fn(hp, user_data)) {
hp               2468 lib/fencing/st_client.c             return hp;
hp                201 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                202 lib/fencing/st_output.c         if (hp->state != st_failed) {
hp                206 lib/fencing/st_output.c         if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) {
hp                211 lib/fencing/st_output.c         out->message(out, "stonith-event", hp,
hp                213 lib/fencing/st_output.c                      false, stonith__later_succeeded(hp, history), show_opts);
hp                234 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                235 lib/fencing/st_output.c         if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) {
hp                239 lib/fencing/st_output.c         if (hp->state != st_failed) {
hp                241 lib/fencing/st_output.c             out->message(out, "stonith-event", hp,
hp                244 lib/fencing/st_output.c                          false, stonith__later_succeeded(hp, history), show_opts);
hp                267 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                268 lib/fencing/st_output.c         if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) {
hp                273 lib/fencing/st_output.c         out->message(out, "stonith-event", hp,
hp                275 lib/fencing/st_output.c                      false, stonith__later_succeeded(hp, history), show_opts);
hp                298 lib/fencing/st_output.c         for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                299 lib/fencing/st_output.c             if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) {
hp                304 lib/fencing/st_output.c             out->message(out, "stonith-event", hp,
hp                307 lib/fencing/st_output.c                          false, stonith__later_succeeded(hp, history), show_opts);
hp                391 lib/fencing/st_output.c     for (stonith_history_t *hp = history; hp; hp = hp->next) {
hp                392 lib/fencing/st_output.c         if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) {
hp                397 lib/fencing/st_output.c         if ((hp->state == st_failed) || (hp->state == st_done)) {
hp                402 lib/fencing/st_output.c         out->message(out, "stonith-event", hp,
hp                404 lib/fencing/st_output.c                      false, stonith__later_succeeded(hp, history), show_opts);
hp                 88 lib/pacemaker/pcmk_fence.c     stonith_history_t *new, *hp, *np;
hp                 95 lib/pacemaker/pcmk_fence.c     hp = new->next;
hp                 98 lib/pacemaker/pcmk_fence.c     while (hp) {
hp                 99 lib/pacemaker/pcmk_fence.c         stonith_history_t *hp_next = hp->next;
hp                101 lib/pacemaker/pcmk_fence.c         hp->next = NULL;
hp                104 lib/pacemaker/pcmk_fence.c             if ((hp->state == st_done) || (hp->state == st_failed)) {
hp                106 lib/pacemaker/pcmk_fence.c                 if (pcmk__str_eq(hp->target, np->target, pcmk__str_casei)
hp                107 lib/pacemaker/pcmk_fence.c                     && pcmk__str_eq(hp->action, np->action, pcmk__str_none)
hp                108 lib/pacemaker/pcmk_fence.c                     && (hp->state == np->state)
hp                109 lib/pacemaker/pcmk_fence.c                     && ((hp->state == st_done)
hp                110 lib/pacemaker/pcmk_fence.c                         || pcmk__str_eq(hp->delegate, np->delegate,
hp                113 lib/pacemaker/pcmk_fence.c                         stonith__history_free(hp);
hp                119 lib/pacemaker/pcmk_fence.c                 np->next = hp;
hp                123 lib/pacemaker/pcmk_fence.c         hp = hp_next;
hp                297 lib/pacemaker/pcmk_fence.c     for (stonith_history_t *hp = history; hp != NULL; hp = hp->next) {
hp                298 lib/pacemaker/pcmk_fence.c         if (hp->state == st_done) {
hp                299 lib/pacemaker/pcmk_fence.c             latest = hp;
hp                306 lib/pacemaker/pcmk_fence.c         out->message(out, "stonith-event", hp, true, false,
hp                307 lib/pacemaker/pcmk_fence.c                      stonith__later_succeeded(hp, history),
hp               1872 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = NULL;
hp               1874 lib/pacemaker/pcmk_output.c             hp = stonith__first_matching_event(stonith_history,
hp               1877 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1918 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = NULL;
hp               1920 lib/pacemaker/pcmk_output.c             hp = stonith__first_matching_event(stonith_history,
hp               1923 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1924 lib/pacemaker/pcmk_output.c                 CHECK_RC(rc, out->message(out, "fencing-list", hp, unames,
hp               1929 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = NULL;
hp               1931 lib/pacemaker/pcmk_output.c             hp = stonith__first_matching_event(stonith_history,
hp               1934 lib/pacemaker/pcmk_output.c             if (hp) {
hp               1935 lib/pacemaker/pcmk_output.c                 CHECK_RC(rc, out->message(out, "pending-fencing-list", hp,
hp               2091 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = NULL;
hp               2093 lib/pacemaker/pcmk_output.c             hp = stonith__first_matching_event(stonith_history,
hp               2096 lib/pacemaker/pcmk_output.c             if (hp) {
hp               2119 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = NULL;
hp               2121 lib/pacemaker/pcmk_output.c             hp = stonith__first_matching_event(stonith_history,
hp               2124 lib/pacemaker/pcmk_output.c             if (hp) {
hp               2125 lib/pacemaker/pcmk_output.c                 out->message(out, "fencing-list", hp, unames, section_opts,
hp               2129 lib/pacemaker/pcmk_output.c             stonith_history_t *hp = NULL;
hp               2131 lib/pacemaker/pcmk_output.c             hp = stonith__first_matching_event(stonith_history,
hp               2134 lib/pacemaker/pcmk_output.c             if (hp) {
hp               2135 lib/pacemaker/pcmk_output.c                 out->message(out, "pending-fencing-list", hp, unames,