history 101 daemons/controld/controld_execd.c history_remove_recurring_op(rsc_history_t *history, const lrmd_event_data_t *op) history 105 daemons/controld/controld_execd.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { history 112 daemons/controld/controld_execd.c history->recurring_op_list = g_list_delete_link(history->recurring_op_list, iter); history 127 daemons/controld/controld_execd.c history_free_recurring_ops(rsc_history_t *history) history 131 daemons/controld/controld_execd.c for (iter = history->recurring_op_list; iter != NULL; iter = iter->next) { history 134 daemons/controld/controld_execd.c g_list_free(history->recurring_op_list); history 135 daemons/controld/controld_execd.c history->recurring_op_list = NULL; history 147 daemons/controld/controld_execd.c rsc_history_t *history = (rsc_history_t*)data; history 149 daemons/controld/controld_execd.c if (history->stop_params) { history 150 daemons/controld/controld_execd.c g_hash_table_destroy(history->stop_params); history 154 daemons/controld/controld_execd.c free(history->rsc.type); history 155 daemons/controld/controld_execd.c free(history->rsc.standard); history 156 daemons/controld/controld_execd.c free(history->rsc.provider); history 158 daemons/controld/controld_execd.c lrmd_free_event(history->failed); history 159 daemons/controld/controld_execd.c lrmd_free_event(history->last); history 160 daemons/controld/controld_execd.c free(history->id); history 161 daemons/controld/controld_execd.c history_free_recurring_ops(history); history 162 daemons/controld/controld_execd.c free(history); history 723 daemons/controld/controld_fencing.c stonith_history_t *history = NULL; history 726 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, history 728 daemons/controld/controld_fencing.c NULL, &history, 5); history 729 daemons/controld/controld_fencing.c stonith_history_free(history); history 41 daemons/fenced/fenced_history.c stonith_send_broadcast_history(xmlNode *history, history 55 daemons/fenced/fenced_history.c if (history) { history 56 daemons/fenced/fenced_history.c add_node_copy(data, history); history 222 daemons/fenced/fenced_history.c stonith_xml_history_to_list(const xmlNode *history) history 231 daemons/fenced/fenced_history.c for (xml_op = pcmk__xml_first_child(history); xml_op != NULL; history 303 daemons/fenced/fenced_history.c xmlNode *history = NULL; history 312 daemons/fenced/fenced_history.c history = create_xml_node(NULL, F_STONITH_HISTORY_LIST); history 364 daemons/fenced/fenced_history.c entry = create_xml_node(history, STONITH_OP_EXEC); history 425 daemons/fenced/fenced_history.c free_xml(history); history 428 daemons/fenced/fenced_history.c return history; history 505 daemons/fenced/fenced_history.c xmlNode *history = get_xpath_object("//" F_STONITH_HISTORY_LIST, history 517 daemons/fenced/fenced_history.c if (!history || !pcmk__xe_attr_is_true(history, F_STONITH_DIFFERENTIAL)) { history 520 daemons/fenced/fenced_history.c if (history != NULL) { history 521 daemons/fenced/fenced_history.c received_history = stonith_xml_history_to_list(history); history 97 include/crm/fencing/internal.h stonith_history_t *stonith__sort_history(stonith_history_t *history); history 183 include/crm/fencing/internal.h stonith_history_t *stonith__first_matching_event(stonith_history_t *history, history 186 include/crm/fencing/internal.h bool stonith__event_state_pending(stonith_history_t *history, void *user_data); history 187 include/crm/fencing/internal.h bool stonith__event_state_eq(stonith_history_t *history, void *user_data); history 188 include/crm/fencing/internal.h bool stonith__event_state_neq(stonith_history_t *history, void *user_data); history 385 include/crm/stonith-ng.h int (*history)(stonith_t *stonith, int call_options, const char *node, history 386 include/crm/stonith-ng.h stonith_history_t **history, int timeout); history 572 include/crm/stonith-ng.h void stonith_history_free(stonith_history_t *history); history 697 lib/fencing/st_client.c stonith_history_t ** history, int timeout) history 704 lib/fencing/st_client.c *history = NULL; history 744 lib/fencing/st_client.c *history = kvp; history 755 lib/fencing/st_client.c void stonith_history_free(stonith_history_t *history) history 759 lib/fencing/st_client.c for (hp = history; hp; hp_old = hp, hp = hp->next, free(hp_old)) { history 1859 lib/fencing/st_client.c new_stonith->cmds->history = stonith_api_history; history 2006 lib/fencing/st_client.c stonith_history_t *history = NULL, *hp = NULL; history 2028 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); history 2031 lib/fencing/st_client.c for (hp = history; hp; hp = hp->next) { history 2047 lib/fencing/st_client.c stonith_history_free(history); history 2287 lib/fencing/st_client.c stonith__sort_history(stonith_history_t *history) history 2291 lib/fencing/st_client.c for (hp = history; hp; ) { history 2354 lib/fencing/st_client.c stonith__first_matching_event(stonith_history_t *history, history 2358 lib/fencing/st_client.c for (stonith_history_t *hp = history; hp; hp = hp->next) { history 2368 lib/fencing/st_client.c stonith__event_state_pending(stonith_history_t *history, void *user_data) history 2370 lib/fencing/st_client.c return history->state != st_failed && history->state != st_done; history 2374 lib/fencing/st_client.c stonith__event_state_eq(stonith_history_t *history, void *user_data) history 2376 lib/fencing/st_client.c return history->state == GPOINTER_TO_INT(user_data); history 2380 lib/fencing/st_client.c stonith__event_state_neq(stonith_history_t *history, void *user_data) history 2382 lib/fencing/st_client.c return history->state != GPOINTER_TO_INT(user_data); history 47 lib/fencing/st_output.c state_str(stonith_history_t *history) history 49 lib/fencing/st_output.c switch (history->state) { history 74 lib/fencing/st_output.c stonith__history_description(stonith_history_t *history, bool full_history, history 80 lib/fencing/st_output.c if ((history->state == st_failed) || (history->state == st_done)) { history 81 lib/fencing/st_output.c completed_time = time_t_string(history->completed); history 85 lib/fencing/st_output.c stonith_action_str(history->action), " of ", history->target, history 90 lib/fencing/st_output.c if (((history->state == st_failed) || (history->state == st_done)) history 91 lib/fencing/st_output.c && (history->delegate != NULL)) { history 93 lib/fencing/st_output.c pcmk__g_strcat(str, " by ", history->delegate, NULL); history 95 lib/fencing/st_output.c pcmk__g_strcat(str, " for ", history->client, "@", history->origin, history 102 lib/fencing/st_output.c pcmk__add_word(&str, 0, state_str(history)); history 105 lib/fencing/st_output.c if ((history->state == st_failed) && (history->exit_reason != NULL)) { history 106 lib/fencing/st_output.c pcmk__g_strcat(str, " (", history->exit_reason, ")", NULL); history 114 lib/fencing/st_output.c if (((history->state == st_failed) || (history->state == st_done)) history 115 lib/fencing/st_output.c && (history->delegate != NULL)) { history 117 lib/fencing/st_output.c pcmk__g_strcat(str, "delegate=", history->delegate, ", ", NULL); history 122 lib/fencing/st_output.c "client=", history->client, ", origin=", history->origin, history 129 lib/fencing/st_output.c } else if (history->state == st_failed) { history 142 lib/fencing/st_output.c if ((history->state == st_failed) && (later_succeeded != NULL)) { history 157 lib/fencing/st_output.c stonith_history_t *history = va_arg(args, stonith_history_t *); history 165 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { history 177 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); history 190 lib/fencing/st_output.c stonith_history_t *history = va_arg(args, stonith_history_t *); history 198 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { history 208 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); history 223 lib/fencing/st_output.c stonith_history_t *history = va_arg(args, stonith_history_t *); history 231 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { history 239 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); history 253 lib/fencing/st_output.c stonith_history_t *history = va_arg(args, stonith_history_t *); history 262 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { history 271 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); history 347 lib/fencing/st_output.c stonith_history_t *history = va_arg(args, stonith_history_t *); history 355 lib/fencing/st_output.c for (stonith_history_t *hp = history; hp; hp = hp->next) { history 368 lib/fencing/st_output.c false, stonith__later_succeeded(hp, history), show_opts); history 77 lib/pacemaker/pcmk_fence.c reduce_fence_history(stonith_history_t *history) history 81 lib/pacemaker/pcmk_fence.c if (!history) { history 82 lib/pacemaker/pcmk_fence.c return history; history 85 lib/pacemaker/pcmk_fence.c new = history; history 232 lib/pacemaker/pcmk_fence.c stonith_history_t *history = NULL, *hp, *latest = NULL; history 251 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, history 253 lib/pacemaker/pcmk_fence.c &history, timeout/1000); history 257 lib/pacemaker/pcmk_fence.c stonith_history_free(history); history 263 lib/pacemaker/pcmk_fence.c history = stonith__sort_history(history); history 264 lib/pacemaker/pcmk_fence.c for (hp = history; hp; hp = hp->next) { history 274 lib/pacemaker/pcmk_fence.c stonith__later_succeeded(hp, history), history 292 lib/pacemaker/pcmk_fence.c stonith_history_free(history); history 591 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, 120); history 34 lib/pacemaker/pcmk_resource.c xmlNode *history = NULL; history 43 lib/pacemaker/pcmk_resource.c history = get_xpath_object(xpath, data_set->input, LOG_NEVER); history 47 lib/pacemaker/pcmk_resource.c for (xmlNode *lrm_rsc_op = first_named_child(history, XML_LRM_TAG_RSC_OP); history 1915 lib/pacemaker/pcmk_sched_actions.c xmlNode *history = NULL; history 1918 lib/pacemaker/pcmk_sched_actions.c history = get_xpath_object(xpath, data_set->input, LOG_NEVER); history 1921 lib/pacemaker/pcmk_sched_actions.c process_node_history(node, history, data_set); history 61 tools/stonith_admin.c char *history; history 129 tools/stonith_admin.c { "history", 'H', 0, G_OPTION_ARG_STRING, &options.history, history 493 tools/stonith_admin.c if (options.history != NULL) { history 495 tools/stonith_admin.c target = options.history;