data_set 427 daemons/execd/cts-exec-helper.c pe_working_set_t *data_set = NULL; data_set 438 daemons/execd/cts-exec-helper.c data_set = pe_new_working_set(); data_set 439 daemons/execd/cts-exec-helper.c if (data_set == NULL) { data_set 443 daemons/execd/cts-exec-helper.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 470 daemons/execd/cts-exec-helper.c data_set->input = cib_xml_copy; data_set 471 daemons/execd/cts-exec-helper.c data_set->now = crm_time_new(NULL); data_set 473 daemons/execd/cts-exec-helper.c cluster_status(data_set); data_set 475 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, data_set 488 daemons/execd/cts-exec-helper.c get_rsc_attributes(params, rsc, NULL, data_set); data_set 489 daemons/execd/cts-exec-helper.c get_meta_attributes(meta, rsc, NULL, data_set); data_set 517 daemons/execd/cts-exec-helper.c pe_free_working_set(data_set); data_set 579 daemons/fenced/pacemaker-fenced.c static void cib_device_update(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 593 daemons/fenced/pacemaker-fenced.c cib_device_update(gIter->data, data_set); data_set 653 daemons/fenced/pacemaker-fenced.c get_rsc_attributes(rsc->parameters, rsc, node, data_set); data_set 654 daemons/fenced/pacemaker-fenced.c get_meta_attributes(rsc->meta, rsc, node, data_set); data_set 23 include/crm/pengine/complex.h pe_node_t *node, pe_working_set_t *data_set); data_set 25 include/crm/pengine/complex.h pe_node_t *node, pe_working_set_t *data_set); data_set 29 include/crm/pengine/complex.h pe_node_t *node, pe_working_set_t *data_set); data_set 212 include/crm/pengine/internal.h bool pe_can_fence(pe_working_set_t *data_set, pe_node_t *node); data_set 218 include/crm/pengine/internal.h pe_working_set_t * data_set); data_set 225 include/crm/pengine/internal.h void native_add_running(pe_resource_t * rsc, pe_node_t * node, pe_working_set_t * data_set); data_set 227 include/crm/pengine/internal.h gboolean native_unpack(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 228 include/crm/pengine/internal.h gboolean group_unpack(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 229 include/crm/pengine/internal.h gboolean clone_unpack(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 230 include/crm/pengine/internal.h gboolean pe__unpack_bundle(pe_resource_t *rsc, pe_working_set_t *data_set); data_set 326 include/crm/pengine/internal.h pe_working_set_t * data_set); data_set 330 include/crm/pengine/internal.h extern time_t get_effective_time(pe_working_set_t * data_set); data_set 343 include/crm/pengine/internal.h pe_working_set_t *data_set); data_set 347 include/crm/pengine/internal.h pe_working_set_t *data_set); data_set 378 include/crm/pengine/internal.h extern pe_action_t *get_pseudo_op(const char *name, pe_working_set_t * data_set); data_set 404 include/crm/pengine/internal.h gboolean optional, gboolean foo, pe_working_set_t * data_set); data_set 409 include/crm/pengine/internal.h optional, TRUE, data_set); data_set 414 include/crm/pengine/internal.h optional, TRUE, data_set); data_set 419 include/crm/pengine/internal.h optional, TRUE, data_set); data_set 425 include/crm/pengine/internal.h optional, TRUE, data_set) data_set 430 include/crm/pengine/internal.h optional, TRUE, data_set) data_set 435 include/crm/pengine/internal.h optional, TRUE, data_set) data_set 440 include/crm/pengine/internal.h optional, TRUE, data_set) data_set 445 include/crm/pengine/internal.h optional, TRUE, data_set) data_set 450 include/crm/pengine/internal.h optional, TRUE, data_set) data_set 453 include/crm/pengine/internal.h pe_working_set_t *data_set); data_set 470 include/crm/pengine/internal.h pe_working_set_t * data_set); data_set 476 include/crm/pengine/internal.h pe_working_set_t * data_set); data_set 479 include/crm/pengine/internal.h extern pe_ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); data_set 526 include/crm/pengine/internal.h pe_working_set_t * data_set); data_set 528 include/crm/pengine/internal.h pe_action_t *pe_fence_op(pe_node_t * node, const char *op, bool optional, const char *reason, bool priority_delay, pe_working_set_t * data_set); data_set 530 include/crm/pengine/internal.h pe_resource_t * rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t * data_set); data_set 550 include/crm/pengine/internal.h void pe_fence_node(pe_working_set_t * data_set, pe_node_t * node, const char *reason, bool priority_delay); data_set 553 include/crm/pengine/internal.h const char *score, pe_working_set_t * data_set); data_set 567 include/crm/pengine/internal.h pe_working_set_t *data_set); data_set 569 include/crm/pengine/internal.h enum pe_check_parameters, pe_working_set_t *data_set); data_set 570 include/crm/pengine/internal.h void pe__foreach_param_check(pe_working_set_t *data_set, data_set 574 include/crm/pengine/internal.h void pe__free_param_checks(pe_working_set_t *data_set); data_set 577 include/crm/pengine/internal.h void pe__update_recheck_time(time_t recheck, pe_working_set_t *data_set); data_set 588 include/crm/pengine/internal.h pe_working_set_t *data_set); data_set 592 include/crm/pengine/internal.h pe_working_set_t *data_set); data_set 594 include/crm/pengine/internal.h GListPtr pe__rscs_with_tag(pe_working_set_t *data_set, const char *tag_name); data_set 595 include/crm/pengine/internal.h GListPtr pe__unames_with_tag(pe_working_set_t *data_set, const char *tag_name); data_set 596 include/crm/pengine/internal.h bool pe__rsc_has_tag(pe_working_set_t *data_set, const char *rsc, const char *tag); data_set 597 include/crm/pengine/internal.h bool pe__uname_has_tag(pe_working_set_t *data_set, const char *node, const char *tag); data_set 27 include/crm/pengine/remote_internal.h const pe_working_set_t *data_set); data_set 28 include/crm/pengine/remote_internal.h pe_resource_t *pe__resource_contains_guest_node(const pe_working_set_t *data_set, data_set 30 include/crm/pengine/remote_internal.h void pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, data_set 32 include/crm/pengine/status.h gboolean cluster_status(pe_working_set_t * data_set); data_set 34 include/crm/pengine/status.h void pe_free_working_set(pe_working_set_t *data_set); data_set 35 include/crm/pengine/status.h void set_working_set_defaults(pe_working_set_t * data_set); data_set 36 include/crm/pengine/status.h void cleanup_calculations(pe_working_set_t * data_set); data_set 37 include/crm/pengine/status.h void pe_reset_working_set(pe_working_set_t *data_set); data_set 44 include/crm/pengine/status.h pe_working_set_t * data_set); data_set 40 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 55 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 56 include/pcmki/pcmki_sched_allocate.h extern void native_create_actions(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 57 include/pcmki/pcmki_sched_allocate.h extern void native_internal_constraints(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 60 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 63 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 65 include/pcmki/pcmki_sched_allocate.h pe_working_set_t * data_set); data_set 69 include/pcmki/pcmki_sched_allocate.h extern void native_expand(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 71 include/pcmki/pcmki_sched_allocate.h gboolean force, pe_working_set_t * data_set); data_set 75 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 76 include/pcmki/pcmki_sched_allocate.h extern void group_create_actions(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 77 include/pcmki/pcmki_sched_allocate.h extern void group_internal_constraints(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 80 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 83 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 86 include/pcmki/pcmki_sched_allocate.h extern void group_expand(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 90 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 92 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 95 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 97 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 101 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 105 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 109 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_expand(pe_resource_t *rsc, pe_working_set_t *data_set); data_set 113 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 114 include/pcmki/pcmki_sched_allocate.h extern void clone_create_actions(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 115 include/pcmki/pcmki_sched_allocate.h extern void clone_internal_constraints(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 118 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 121 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 124 include/pcmki/pcmki_sched_allocate.h extern void clone_expand(pe_resource_t * rsc, pe_working_set_t * data_set); data_set 126 include/pcmki/pcmki_sched_allocate.h gboolean force, pe_working_set_t * data_set); data_set 131 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 132 include/pcmki/pcmki_sched_allocate.h void create_promotable_actions(pe_resource_t *rsc, pe_working_set_t *data_set); data_set 133 include/pcmki/pcmki_sched_allocate.h void promote_demote_constraints(pe_resource_t *rsc, pe_working_set_t *data_set); data_set 134 include/pcmki/pcmki_sched_allocate.h void promotable_constraints(pe_resource_t *rsc, pe_working_set_t *data_set); data_set 137 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 142 include/pcmki/pcmki_sched_allocate.h extern gboolean unpack_rsc_order(xmlNode * xml_obj, pe_working_set_t * data_set); data_set 144 include/pcmki/pcmki_sched_allocate.h extern gboolean unpack_rsc_colocation(xmlNode * xml_obj, pe_working_set_t * data_set); data_set 146 include/pcmki/pcmki_sched_allocate.h extern gboolean unpack_location(xmlNode * xml_obj, pe_working_set_t * data_set); data_set 148 include/pcmki/pcmki_sched_allocate.h extern gboolean unpack_rsc_ticket(xmlNode * xml_obj, pe_working_set_t * data_set); data_set 150 include/pcmki/pcmki_sched_allocate.h void LogNodeActions(pe_working_set_t * data_set, gboolean terminal); data_set 151 include/pcmki/pcmki_sched_allocate.h void LogActions(pe_resource_t * rsc, pe_working_set_t * data_set, gboolean terminal); data_set 152 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_log_actions(pe_resource_t *rsc, pe_working_set_t *data_set, data_set 156 include/pcmki/pcmki_sched_allocate.h pe_working_set_t * data_set); data_set 163 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 169 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 176 include/pcmki/pcmki_sched_allocate.h pe_working_set_t *data_set); data_set 179 include/pcmki/pcmki_sched_allocate.h gboolean update_action(pe_action_t *action, pe_working_set_t *data_set); data_set 183 include/pcmki/pcmki_sched_allocate.h pe_resource_t * rsc, GListPtr children, notify_data_t **start_notify, notify_data_t **stop_notify, pe_working_set_t * data_set); data_set 17 include/pcmki/pcmki_sched_notif.h pe_working_set_t *data_set); data_set 23 include/pcmki/pcmki_sched_notif.h pe_working_set_t *data_set); data_set 26 include/pcmki/pcmki_sched_notif.h pe_working_set_t *data_set); data_set 32 include/pcmki/pcmki_sched_notif.h pe_working_set_t *data_set); data_set 29 include/pcmki/pcmki_sched_utils.h pe_working_set_t *data_set); data_set 34 include/pcmki/pcmki_sched_utils.h pe_working_set_t * data_set); data_set 38 include/pcmki/pcmki_sched_utils.h pe_working_set_t * data_set); data_set 43 include/pcmki/pcmki_sched_utils.h pe_working_set_t *data_set); data_set 57 include/pcmki/pcmki_sched_utils.h pe_working_set_t *data_set); data_set 80 include/pcmki/pcmki_sched_utils.h extern void process_utilization(pe_resource_t * rsc, pe_node_t ** prefer, pe_working_set_t * data_set); data_set 81 include/pcmki/pcmki_sched_utils.h pe_action_t *create_pseudo_resource_op(pe_resource_t * rsc, const char *task, bool optional, bool runnable, pe_working_set_t *data_set); data_set 84 include/pcmki/pcmki_sched_utils.h pe_working_set_t *data_set); data_set 85 include/pcmki/pcmki_sched_utils.h pe_action_t *sched_shutdown_op(pe_node_t *node, pe_working_set_t *data_set); data_set 95 include/pcmki/pcmki_sched_utils.h pe_working_set_t * data_set, cib_t *cib, data_set 100 include/pcmki/pcmki_sched_utils.h int run_simulation(pe_working_set_t * data_set, cib_t *cib, GListPtr op_fail_list, bool quiet); data_set 68 include/pcmki/pcmki_scheduler.h extern gboolean stage0(pe_working_set_t * data_set); data_set 69 include/pcmki/pcmki_scheduler.h extern gboolean probe_resources(pe_working_set_t * data_set); data_set 70 include/pcmki/pcmki_scheduler.h extern gboolean stage2(pe_working_set_t * data_set); data_set 71 include/pcmki/pcmki_scheduler.h extern gboolean stage3(pe_working_set_t * data_set); data_set 72 include/pcmki/pcmki_scheduler.h extern gboolean stage4(pe_working_set_t * data_set); data_set 73 include/pcmki/pcmki_scheduler.h extern gboolean stage5(pe_working_set_t * data_set); data_set 74 include/pcmki/pcmki_scheduler.h extern gboolean stage6(pe_working_set_t * data_set); data_set 75 include/pcmki/pcmki_scheduler.h extern gboolean stage7(pe_working_set_t * data_set); data_set 76 include/pcmki/pcmki_scheduler.h extern gboolean stage8(pe_working_set_t * data_set); data_set 80 include/pcmki/pcmki_scheduler.h extern gboolean unpack_constraints(xmlNode * xml_constraints, pe_working_set_t * data_set); data_set 83 include/pcmki/pcmki_scheduler.h pe_working_set_t * data_set); data_set 85 include/pcmki/pcmki_scheduler.h void pcmk__order_vs_fence(pe_action_t *stonith_op, pe_working_set_t *data_set); data_set 89 include/pcmki/pcmki_scheduler.h enum pe_ordering type, pe_working_set_t * data_set); data_set 93 include/pcmki/pcmki_scheduler.h enum pe_ordering type, pe_working_set_t * data_set); data_set 96 include/pcmki/pcmki_scheduler.h new_rsc_order(rsc1, CRMD_ACTION_START, rsc2, CRMD_ACTION_START, type, data_set) data_set 98 include/pcmki/pcmki_scheduler.h new_rsc_order(rsc1, CRMD_ACTION_STOP, rsc2, CRMD_ACTION_STOP, type, data_set) data_set 100 include/pcmki/pcmki_scheduler.h extern void graph_element_from_action(pe_action_t * action, pe_working_set_t * data_set); data_set 101 include/pcmki/pcmki_scheduler.h extern void add_maintenance_update(pe_working_set_t *data_set); data_set 102 include/pcmki/pcmki_scheduler.h xmlNode *pcmk__schedule_actions(pe_working_set_t *data_set, xmlNode *xml_input, data_set 27 lib/pacemaker/pcmk_sched_allocate.c void set_alloc_actions(pe_working_set_t * data_set); data_set 28 lib/pacemaker/pcmk_sched_allocate.c extern void ReloadRsc(pe_resource_t * rsc, pe_node_t *node, pe_working_set_t * data_set); data_set 29 lib/pacemaker/pcmk_sched_allocate.c extern gboolean DeleteRsc(pe_resource_t * rsc, pe_node_t * node, gboolean optional, pe_working_set_t * data_set); data_set 30 lib/pacemaker/pcmk_sched_allocate.c static void apply_remote_node_ordering(pe_working_set_t *data_set); data_set 149 lib/pacemaker/pcmk_sched_allocate.c gboolean active_here, pe_working_set_t * data_set) data_set 174 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, node, "Device definition changed", NULL, data_set); data_set 196 lib/pacemaker/pcmk_sched_allocate.c const char *reason, pe_working_set_t * data_set) data_set 215 lib/pacemaker/pcmk_sched_allocate.c cancel = pe_cancel_op(rsc, task, interval_ms, active_node, data_set); data_set 217 lib/pacemaker/pcmk_sched_allocate.c custom_action_order(rsc, stop_key(rsc), NULL, rsc, NULL, cancel, pe_order_optional, data_set); data_set 222 lib/pacemaker/pcmk_sched_allocate.c pe_working_set_t * data_set) data_set 245 lib/pacemaker/pcmk_sched_allocate.c && pcmk_is_set(data_set->flags, pe_flag_stop_action_orphans)) { data_set 246 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(rsc, xml_op, active_node, "orphan", data_set); data_set 273 lib/pacemaker/pcmk_sched_allocate.c digest_data = rsc_action_digest_cmp(rsc, xml_op, active_node, data_set); data_set 275 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_sanitized)) { data_set 283 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_stdout)) { data_set 297 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); data_set 301 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed", NULL, data_set); data_set 308 lib/pacemaker/pcmk_sched_allocate.c trigger_unfencing(rsc, active_node, "Device parameters changed (reload)", NULL, data_set); data_set 317 lib/pacemaker/pcmk_sched_allocate.c ReloadRsc(rsc, active_node, data_set); data_set 320 lib/pacemaker/pcmk_sched_allocate.c op = custom_action(rsc, key, task, active_node, TRUE, TRUE, data_set); data_set 328 lib/pacemaker/pcmk_sched_allocate.c ReloadRsc(rsc, active_node, data_set); data_set 338 lib/pacemaker/pcmk_sched_allocate.c required = custom_action(rsc, key, task, NULL, TRUE, TRUE, data_set); data_set 355 lib/pacemaker/pcmk_sched_allocate.c enum pe_check_parameters check, pe_working_set_t *data_set) data_set 362 lib/pacemaker/pcmk_sched_allocate.c if (check_action_definition(rsc, node, rsc_op, data_set) data_set 364 lib/pacemaker/pcmk_sched_allocate.c data_set)) { data_set 371 lib/pacemaker/pcmk_sched_allocate.c digest_data = rsc_action_digest_cmp(rsc, rsc_op, node, data_set); data_set 387 lib/pacemaker/pcmk_sched_allocate.c pe__clear_failcount(rsc, node, reason, data_set); data_set 392 lib/pacemaker/pcmk_sched_allocate.c check_actions_for(xmlNode * rsc_entry, pe_resource_t * rsc, pe_node_t * node, pe_working_set_t * data_set) data_set 413 lib/pacemaker/pcmk_sched_allocate.c DeleteRsc(rsc, node, FALSE, data_set); data_set 420 lib/pacemaker/pcmk_sched_allocate.c if (check_rsc_parameters(rsc, node, rsc_entry, FALSE, data_set)) { data_set 421 lib/pacemaker/pcmk_sched_allocate.c DeleteRsc(rsc, node, FALSE, data_set); data_set 430 lib/pacemaker/pcmk_sched_allocate.c if (check_rsc_parameters(rsc, node, rsc_entry, TRUE, data_set)) { data_set 431 lib/pacemaker/pcmk_sched_allocate.c DeleteRsc(rsc, node, FALSE, data_set); data_set 465 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(rsc, rsc_op, node, "maintenance mode", data_set); data_set 482 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 484 lib/pacemaker/pcmk_sched_allocate.c } else if (check_action_definition(rsc, node, rsc_op, data_set) data_set 486 lib/pacemaker/pcmk_sched_allocate.c data_set)) { data_set 488 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 497 lib/pacemaker/pcmk_sched_allocate.c gboolean partial, pe_working_set_t * data_set) data_set 507 lib/pacemaker/pcmk_sched_allocate.c if (data_set == NULL) { data_set 510 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 553 lib/pacemaker/pcmk_sched_allocate.c check_actions(pe_working_set_t * data_set) data_set 558 lib/pacemaker/pcmk_sched_allocate.c xmlNode *status = get_object_root(XML_CIB_TAG_STATUS, data_set->input); data_set 571 lib/pacemaker/pcmk_sched_allocate.c node = pe_find_node_id(data_set->nodes, id); data_set 585 lib/pacemaker/pcmk_sched_allocate.c || pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 601 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set); data_set 608 lib/pacemaker/pcmk_sched_allocate.c check_actions_for(rsc_entry, rsc, node, data_set); data_set 620 lib/pacemaker/pcmk_sched_allocate.c apply_placement_constraints(pe_working_set_t * data_set) data_set 622 lib/pacemaker/pcmk_sched_allocate.c for (GList *gIter = data_set->placement_constraints; data_set 653 lib/pacemaker/pcmk_sched_allocate.c pe_working_set_t *data_set) data_set 671 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 686 lib/pacemaker/pcmk_sched_allocate.c resource_location(failed, node, -INFINITY, "__fail_limit__", data_set); data_set 697 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(pe_resource_t * rsc, pe_node_t * node, pe_working_set_t * data_set) data_set 705 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(child_rsc, node, data_set); data_set 718 lib/pacemaker/pcmk_sched_allocate.c || pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster)) { data_set 721 lib/pacemaker/pcmk_sched_allocate.c resource_location(sticky_rsc, node, rsc->stickiness, "stickiness", data_set); data_set 750 lib/pacemaker/pcmk_sched_allocate.c check_migration_threshold(rsc, node, data_set); data_set 769 lib/pacemaker/pcmk_sched_allocate.c set_alloc_actions(pe_working_set_t * data_set) data_set 772 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = data_set->resources; data_set 804 lib/pacemaker/pcmk_sched_allocate.c apply_system_health(pe_working_set_t * data_set) data_set 807 lib/pacemaker/pcmk_sched_allocate.c const char *health_strategy = pe_pref(data_set->config_hash, "node-health-strategy"); data_set 840 lib/pacemaker/pcmk_sched_allocate.c base_health = crm_parse_int(pe_pref(data_set->config_hash, "node-health-base"), "0"); data_set 857 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 872 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter2 = data_set->resources; data_set 877 lib/pacemaker/pcmk_sched_allocate.c rsc2node_new(health_strategy, rsc, system_health, NULL, node, data_set); data_set 886 lib/pacemaker/pcmk_sched_allocate.c stage0(pe_working_set_t * data_set) data_set 888 lib/pacemaker/pcmk_sched_allocate.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); data_set 890 lib/pacemaker/pcmk_sched_allocate.c if (data_set->input == NULL) { data_set 894 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(data_set->flags, pe_flag_have_status)) { data_set 896 lib/pacemaker/pcmk_sched_allocate.c cluster_status(data_set); data_set 899 lib/pacemaker/pcmk_sched_allocate.c set_alloc_actions(data_set); data_set 900 lib/pacemaker/pcmk_sched_allocate.c apply_system_health(data_set); data_set 901 lib/pacemaker/pcmk_sched_allocate.c unpack_constraints(cib_constraints, data_set); data_set 910 lib/pacemaker/pcmk_sched_allocate.c probe_resources(pe_working_set_t * data_set) data_set 914 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 923 lib/pacemaker/pcmk_sched_allocate.c pe_fence_node(data_set, node, "the connection is unrecoverable", FALSE); data_set 937 lib/pacemaker/pcmk_sched_allocate.c CRM_OP_REPROBE, node, FALSE, TRUE, data_set); data_set 943 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter2 = data_set->resources; gIter2 != NULL; gIter2 = gIter2->next) { data_set 946 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->create_probe(rsc, node, probe_node_complete, FALSE, data_set); data_set 975 lib/pacemaker/pcmk_sched_allocate.c shutdown_time(pe_node_t *node, pe_working_set_t *data_set) data_set 987 lib/pacemaker/pcmk_sched_allocate.c return result? result : get_effective_time(data_set); data_set 991 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 999 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock((pe_resource_t *) item->data, data_set); data_set 1008 lib/pacemaker/pcmk_sched_allocate.c || pe__resource_is_remote_conn(rsc, data_set)) { data_set 1023 lib/pacemaker/pcmk_sched_allocate.c pe__clear_resource_history(rsc, rsc->lock_node, data_set); data_set 1038 lib/pacemaker/pcmk_sched_allocate.c rsc->lock_time = shutdown_time(node, data_set); data_set 1048 lib/pacemaker/pcmk_sched_allocate.c if (data_set->shutdown_lock > 0) { data_set 1049 lib/pacemaker/pcmk_sched_allocate.c time_t lock_expiration = rsc->lock_time + data_set->shutdown_lock; data_set 1054 lib/pacemaker/pcmk_sched_allocate.c pe__update_recheck_time(++lock_expiration, data_set); data_set 1061 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = data_set->nodes; item != NULL; item = item->next) { data_set 1066 lib/pacemaker/pcmk_sched_allocate.c XML_CONFIG_ATTR_SHUTDOWN_LOCK, data_set); data_set 1079 lib/pacemaker/pcmk_sched_allocate.c stage2(pe_working_set_t * data_set) data_set 1083 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_shutdown_lock)) { data_set 1084 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 1085 lib/pacemaker/pcmk_sched_allocate.c apply_shutdown_lock((pe_resource_t *) gIter->data, data_set); data_set 1089 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(data_set->flags, pe_flag_no_compat)) { data_set 1091 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1096 lib/pacemaker/pcmk_sched_allocate.c data_set->max_valid_nodes++; data_set 1101 lib/pacemaker/pcmk_sched_allocate.c apply_placement_constraints(data_set); data_set 1103 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; data_set 1108 lib/pacemaker/pcmk_sched_allocate.c gIter2 = data_set->resources; data_set 1112 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(rsc, node, data_set); data_set 1124 lib/pacemaker/pcmk_sched_allocate.c stage3(pe_working_set_t * data_set) data_set 1127 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = data_set->resources; data_set 1132 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->internal_constraints(rsc, data_set); data_set 1142 lib/pacemaker/pcmk_sched_allocate.c stage4(pe_working_set_t * data_set) data_set 1144 lib/pacemaker/pcmk_sched_allocate.c check_actions(data_set); data_set 1284 lib/pacemaker/pcmk_sched_allocate.c allocate_resources(pe_working_set_t * data_set) data_set 1288 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_have_remote_nodes)) { data_set 1293 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 1300 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, rsc->partial_migration_target, data_set); data_set 1305 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 1312 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->allocate(rsc, NULL, data_set); data_set 1326 lib/pacemaker/pcmk_sched_allocate.c enum pe_ordering extra, pe_working_set_t *data_set) data_set 1328 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc && rh_action && data_set) { data_set 1332 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 1338 lib/pacemaker/pcmk_sched_allocate.c enum pe_ordering extra, pe_working_set_t *data_set) data_set 1340 lib/pacemaker/pcmk_sched_allocate.c if (lh_action && rh_rsc && data_set) { data_set 1343 lib/pacemaker/pcmk_sched_allocate.c pe_order_preserve | extra, data_set); data_set 1349 lib/pacemaker/pcmk_sched_allocate.c cleanup_orphans(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 1353 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1358 lib/pacemaker/pcmk_sched_allocate.c data_set)) { data_set 1363 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 1370 lib/pacemaker/pcmk_sched_allocate.c pe_order_optional, data_set); data_set 1376 lib/pacemaker/pcmk_sched_allocate.c stage5(pe_working_set_t * data_set) data_set 1381 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk__str_eq(data_set->placement_strategy, "default", pcmk__str_casei)) { data_set 1382 lib/pacemaker/pcmk_sched_allocate.c GListPtr nodes = g_list_copy(data_set->nodes); data_set 1384 lib/pacemaker/pcmk_sched_allocate.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); data_set 1385 lib/pacemaker/pcmk_sched_allocate.c data_set->resources = data_set 1386 lib/pacemaker/pcmk_sched_allocate.c g_list_sort_with_data(data_set->resources, sort_rsc_process_order, nodes); data_set 1391 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; data_set 1401 lib/pacemaker/pcmk_sched_allocate.c allocate_resources(data_set); data_set 1403 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; data_set 1411 lib/pacemaker/pcmk_sched_allocate.c pe__foreach_param_check(data_set, check_params); data_set 1412 lib/pacemaker/pcmk_sched_allocate.c pe__free_param_checks(data_set); data_set 1414 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_startup_probes)) { data_set 1450 lib/pacemaker/pcmk_sched_allocate.c probe_resources(data_set); data_set 1454 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_stop_rsc_orphans)) { data_set 1455 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 1462 lib/pacemaker/pcmk_sched_allocate.c cleanup_orphans(rsc, data_set); data_set 1469 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 1472 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->create_actions(rsc, data_set); data_set 1500 lib/pacemaker/pcmk_sched_allocate.c any_managed_resources(pe_working_set_t * data_set) data_set 1503 lib/pacemaker/pcmk_sched_allocate.c GListPtr gIter = data_set->resources; data_set 1523 lib/pacemaker/pcmk_sched_allocate.c fence_guest(pe_node_t *node, pe_working_set_t *data_set) data_set 1551 lib/pacemaker/pcmk_sched_allocate.c stonith_op = pe_fence_op(node, fence_action, FALSE, "guest is unclean", FALSE, data_set); data_set 1560 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *parent_stonith_op = pe_fence_op(stop->node, NULL, FALSE, NULL, FALSE, data_set); data_set 1599 lib/pacemaker/pcmk_sched_allocate.c pcmk__order_vs_fence(stonith_op, data_set); data_set 1606 lib/pacemaker/pcmk_sched_allocate.c stage6(pe_working_set_t * data_set) data_set 1623 lib/pacemaker/pcmk_sched_allocate.c apply_remote_node_ordering(data_set); data_set 1626 lib/pacemaker/pcmk_sched_allocate.c if (any_managed_resources(data_set) == FALSE) { data_set 1632 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1640 lib/pacemaker/pcmk_sched_allocate.c && pe_can_fence(data_set, node)) { data_set 1641 lib/pacemaker/pcmk_sched_allocate.c fence_guest(node, data_set); data_set 1649 lib/pacemaker/pcmk_sched_allocate.c && need_stonith && pe_can_fence(data_set, node)) { data_set 1651 lib/pacemaker/pcmk_sched_allocate.c stonith_op = pe_fence_op(node, NULL, FALSE, "node is unclean", FALSE, data_set); data_set 1654 lib/pacemaker/pcmk_sched_allocate.c pcmk__order_vs_fence(stonith_op, data_set); data_set 1662 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(data_set->flags, pe_flag_concurrent_fencing) data_set 1683 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *down_op = sched_shutdown_op(node, data_set); data_set 1701 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1705 lib/pacemaker/pcmk_sched_allocate.c } else if (!pcmk_is_set(data_set->flags, pe_flag_have_quorum)) { data_set 1733 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_concurrent_fencing)) { data_set 1851 lib/pacemaker/pcmk_sched_allocate.c pe_working_set_t *data_set) data_set 1889 lib/pacemaker/pcmk_sched_allocate.c lh_action = custom_action(lh_rsc, key, op_type, NULL, TRUE, TRUE, data_set); data_set 1915 lib/pacemaker/pcmk_sched_allocate.c pe_working_set_t *data_set); data_set 1931 lib/pacemaker/pcmk_sched_allocate.c apply_container_ordering(pe_action_t *action, pe_working_set_t *data_set) data_set 1955 lib/pacemaker/pcmk_sched_allocate.c pe_fence_node(data_set, action->node, "container failed", FALSE); data_set 1977 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 1981 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 2003 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 2016 lib/pacemaker/pcmk_sched_allocate.c pe_order_implies_then, data_set); data_set 2020 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 2104 lib/pacemaker/pcmk_sched_allocate.c apply_remote_ordering(pe_action_t *action, pe_working_set_t *data_set) data_set 2145 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(remote_rsc, action, order_opts, data_set); data_set 2151 lib/pacemaker/pcmk_sched_allocate.c pe_order_implies_first, data_set); data_set 2160 lib/pacemaker/pcmk_sched_allocate.c pe_fence_node(data_set, action->node, "resources are active and the connection is unrecoverable", FALSE); data_set 2168 lib/pacemaker/pcmk_sched_allocate.c pe_order_implies_first, data_set); data_set 2174 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(remote_rsc, action, pe_order_none, data_set); data_set 2185 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 2197 lib/pacemaker/pcmk_sched_allocate.c pe_order_implies_then, data_set); data_set 2208 lib/pacemaker/pcmk_sched_allocate.c pe_fence_node(data_set, action->node, "resources are in an unknown state and the connection is unrecoverable", FALSE); data_set 2220 lib/pacemaker/pcmk_sched_allocate.c pe_order_runnable_left, data_set); data_set 2224 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 2232 lib/pacemaker/pcmk_sched_allocate.c apply_remote_node_ordering(pe_working_set_t *data_set) data_set 2234 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(data_set->flags, pe_flag_have_remote_nodes)) { data_set 2238 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 2261 lib/pacemaker/pcmk_sched_allocate.c data_set); data_set 2305 lib/pacemaker/pcmk_sched_allocate.c pe_order_optional, data_set); data_set 2321 lib/pacemaker/pcmk_sched_allocate.c apply_container_ordering(action, data_set); data_set 2325 lib/pacemaker/pcmk_sched_allocate.c apply_remote_ordering(action, data_set); data_set 2358 lib/pacemaker/pcmk_sched_allocate.c order_first_probes_imply_stops(pe_working_set_t * data_set) data_set 2362 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { data_set 2485 lib/pacemaker/pcmk_sched_allocate.c pe_working_set_t * data_set) data_set 2560 lib/pacemaker/pcmk_sched_allocate.c FALSE, data_set); data_set 2610 lib/pacemaker/pcmk_sched_allocate.c order_first_probe_then_restart_repromote(probe, after_wrapper->action, data_set); data_set 2614 lib/pacemaker/pcmk_sched_allocate.c static void clear_actions_tracking_flag(pe_working_set_t * data_set) data_set 2618 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 2628 lib/pacemaker/pcmk_sched_allocate.c order_first_rsc_probes(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 2636 lib/pacemaker/pcmk_sched_allocate.c order_first_rsc_probes(child, data_set); data_set 2652 lib/pacemaker/pcmk_sched_allocate.c order_first_probe_then_restart_repromote(probe, after_wrapper->action, data_set); data_set 2653 lib/pacemaker/pcmk_sched_allocate.c clear_actions_tracking_flag(data_set); data_set 2661 lib/pacemaker/pcmk_sched_allocate.c order_first_probes(pe_working_set_t * data_set) data_set 2665 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 2668 lib/pacemaker/pcmk_sched_allocate.c order_first_rsc_probes(rsc, data_set); data_set 2671 lib/pacemaker/pcmk_sched_allocate.c order_first_probes_imply_stops(data_set); data_set 2675 lib/pacemaker/pcmk_sched_allocate.c order_then_probes(pe_working_set_t * data_set) data_set 2680 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 2792 lib/pacemaker/pcmk_sched_allocate.c order_probes(pe_working_set_t * data_set) data_set 2794 lib/pacemaker/pcmk_sched_allocate.c order_first_probes(data_set); data_set 2795 lib/pacemaker/pcmk_sched_allocate.c order_then_probes(data_set); data_set 2799 lib/pacemaker/pcmk_sched_allocate.c stage7(pe_working_set_t * data_set) data_set 2811 lib/pacemaker/pcmk_sched_allocate.c data_set->ordering_constraints = g_list_reverse(data_set->ordering_constraints); data_set 2813 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->ordering_constraints; gIter != NULL; gIter = gIter->next) { data_set 2821 lib/pacemaker/pcmk_sched_allocate.c rsc_order_first(rsc, order, data_set); data_set 2836 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 2839 lib/pacemaker/pcmk_sched_allocate.c update_colo_start_chain(action, data_set); data_set 2843 lib/pacemaker/pcmk_sched_allocate.c order_probes(data_set); data_set 2845 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Updating %d actions", g_list_length(data_set->actions)); data_set 2846 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 2849 lib/pacemaker/pcmk_sched_allocate.c update_action(action, data_set); data_set 2853 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 2867 lib/pacemaker/pcmk_sched_allocate.c LogNodeActions(data_set, FALSE); data_set 2868 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 2871 lib/pacemaker/pcmk_sched_allocate.c LogActions(rsc, data_set, FALSE); data_set 2909 lib/pacemaker/pcmk_sched_allocate.c stage8(pe_working_set_t * data_set) data_set 2917 lib/pacemaker/pcmk_sched_allocate.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); data_set 2919 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "cluster-delay"); data_set 2920 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "cluster-delay", value); data_set 2922 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "stonith-timeout"); data_set 2923 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "stonith-timeout", value); data_set 2925 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "failed-stop-offset", "INFINITY"); data_set 2927 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_start_failure_fatal)) { data_set 2928 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "failed-start-offset", "INFINITY"); data_set 2930 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "failed-start-offset", "1"); data_set 2933 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "batch-limit"); data_set 2934 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "batch-limit", value); data_set 2936 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add_int(data_set->graph, "transition_id", transition_id); data_set 2938 lib/pacemaker/pcmk_sched_allocate.c value = pe_pref(data_set->config_hash, "migration-limit"); data_set 2940 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "migration-limit", value); data_set 2943 lib/pacemaker/pcmk_sched_allocate.c if (data_set->recheck_by > 0) { data_set 2947 lib/pacemaker/pcmk_sched_allocate.c (long long) data_set->recheck_by); data_set 2948 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "recheck-by", recheck_epoch); data_set 2965 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->resources; data_set 2970 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds->expand(rsc, data_set); data_set 2973 lib/pacemaker/pcmk_sched_allocate.c crm_log_xml_trace(data_set->graph, "created resource-driven action list"); data_set 2976 lib/pacemaker/pcmk_sched_allocate.c add_maintenance_update(data_set); data_set 2981 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->actions; data_set 2997 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(data_set->flags, pe_flag_have_quorum) data_set 2998 lib/pacemaker/pcmk_sched_allocate.c || data_set->no_quorum_policy == no_quorum_ignore) { data_set 3008 lib/pacemaker/pcmk_sched_allocate.c graph_element_from_action(action, data_set); data_set 3011 lib/pacemaker/pcmk_sched_allocate.c crm_log_xml_trace(data_set->graph, "created generic action list"); data_set 3018 lib/pacemaker/pcmk_sched_allocate.c LogNodeActions(pe_working_set_t * data_set, gboolean terminal) data_set 3022 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 31 lib/pacemaker/pcmk_sched_bundle.c gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); data_set 33 lib/pacemaker/pcmk_sched_bundle.c int max, int per_host_max, pe_working_set_t * data_set); data_set 63 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 80 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 102 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 118 lib/pacemaker/pcmk_sched_bundle.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); data_set 119 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_sort_with_data(containers, sort_clone_instance, data_set); data_set 121 lib/pacemaker/pcmk_sched_bundle.c bundle_data->nreplicas_per_host, data_set); data_set 134 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->allocate(replica->ip, prefer, data_set); data_set 146 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 153 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 166 lib/pacemaker/pcmk_sched_bundle.c data_set)) { data_set 175 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 194 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->allocate(bundle_data->child, prefer, data_set); data_set 203 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_create_actions(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 219 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip, data_set); data_set 223 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 226 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote, data_set); data_set 230 lib/pacemaker/pcmk_sched_bundle.c clone_create_pseudo_actions(rsc, containers, NULL, NULL, data_set); data_set 233 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->create_actions(bundle_data->child, data_set); data_set 237 lib/pacemaker/pcmk_sched_bundle.c create_pseudo_resource_op(rsc, RSC_PROMOTE, TRUE, TRUE, data_set); data_set 238 lib/pacemaker/pcmk_sched_bundle.c action = create_pseudo_resource_op(rsc, RSC_PROMOTED, TRUE, TRUE, data_set); data_set 242 lib/pacemaker/pcmk_sched_bundle.c create_pseudo_resource_op(rsc, RSC_DEMOTE, TRUE, TRUE, data_set); data_set 243 lib/pacemaker/pcmk_sched_bundle.c action = create_pseudo_resource_op(rsc, RSC_DEMOTED, TRUE, TRUE, data_set); data_set 253 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 263 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_first_printed, data_set); data_set 265 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_first_printed, data_set); data_set 269 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 271 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 274 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 276 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 288 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 300 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 302 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 305 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip, data_set); data_set 309 lib/pacemaker/pcmk_sched_bundle.c pe_order_runnable_left|pe_order_preserve, data_set); data_set 311 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_first|pe_order_preserve, data_set); data_set 314 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, data_set); data_set 324 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 336 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->internal_constraints(bundle_data->child, data_set); data_set 338 lib/pacemaker/pcmk_sched_bundle.c promote_demote_constraints(rsc, data_set); data_set 342 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 346 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_first_printed, data_set); data_set 350 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_then_printed, data_set); data_set 354 lib/pacemaker/pcmk_sched_bundle.c pe_order_implies_first_printed, data_set); data_set 396 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 409 lib/pacemaker/pcmk_sched_bundle.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); data_set 429 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 473 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 493 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 498 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 522 lib/pacemaker/pcmk_sched_bundle.c constraint, data_set); data_set 642 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 661 lib/pacemaker/pcmk_sched_bundle.c current, data_set); data_set 764 lib/pacemaker/pcmk_sched_bundle.c filter, type, data_set); data_set 816 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t *data_set) data_set 824 lib/pacemaker/pcmk_sched_bundle.c filter, type, data_set); data_set 832 lib/pacemaker/pcmk_sched_bundle.c type, data_set); data_set 846 lib/pacemaker/pcmk_sched_bundle.c then_child_action, node, flags, filter, type, data_set); data_set 852 lib/pacemaker/pcmk_sched_bundle.c update_action(next->action, data_set); data_set 896 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_expand(pe_resource_t *rsc, pe_working_set_t * data_set) data_set 905 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->expand(bundle_data->child, data_set); data_set 947 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); data_set 950 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); data_set 953 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); data_set 961 lib/pacemaker/pcmk_sched_bundle.c pe_working_set_t * data_set) data_set 977 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 982 lib/pacemaker/pcmk_sched_bundle.c force, data_set); data_set 987 lib/pacemaker/pcmk_sched_bundle.c force, data_set); data_set 1018 lib/pacemaker/pcmk_sched_bundle.c data_set); data_set 1026 lib/pacemaker/pcmk_sched_bundle.c data_set)) { data_set 1045 lib/pacemaker/pcmk_sched_bundle.c pe_order_probe, data_set); data_set 1058 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_log_actions(pe_resource_t *rsc, pe_working_set_t *data_set, data_set 1072 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->ip, data_set, terminal); data_set 1075 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set, terminal); data_set 1078 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->remote, data_set, terminal); data_set 1081 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->child, data_set, terminal); data_set 18 lib/pacemaker/pcmk_sched_clone.c gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); data_set 78 lib/pacemaker/pcmk_sched_clone.c sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set) data_set 322 lib/pacemaker/pcmk_sched_clone.c list1 = sort_nodes_by_weight(list1, current_node1, data_set); data_set 323 lib/pacemaker/pcmk_sched_clone.c list2 = sort_nodes_by_weight(list2, current_node2, data_set); data_set 427 lib/pacemaker/pcmk_sched_clone.c int limit, pe_working_set_t *data_set) data_set 464 lib/pacemaker/pcmk_sched_clone.c chosen = rsc->cmds->allocate(rsc, prefer, data_set); data_set 528 lib/pacemaker/pcmk_sched_clone.c int max, int per_host_max, pe_working_set_t * data_set); data_set 532 lib/pacemaker/pcmk_sched_clone.c int max, int per_host_max, pe_working_set_t * data_set) data_set 581 lib/pacemaker/pcmk_sched_clone.c data_set)) { data_set 607 lib/pacemaker/pcmk_sched_clone.c resource_location(child, NULL, -INFINITY, "clone:limit_reached", data_set); data_set 610 lib/pacemaker/pcmk_sched_clone.c per_host_max, data_set)) { data_set 623 lib/pacemaker/pcmk_sched_clone.c pe_working_set_t *data_set) data_set 655 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_rh->cmds->allocate(constraint->rsc_rh, prefer, data_set); data_set 674 lib/pacemaker/pcmk_sched_clone.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); data_set 675 lib/pacemaker/pcmk_sched_clone.c rsc->children = g_list_sort_with_data(rsc->children, sort_clone_instance, data_set); data_set 676 lib/pacemaker/pcmk_sched_clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data->clone_node_max, data_set); data_set 680 lib/pacemaker/pcmk_sched_clone.c pcmk__set_instance_roles(rsc, data_set); data_set 802 lib/pacemaker/pcmk_sched_clone.c child_ordering_constraints(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 844 lib/pacemaker/pcmk_sched_clone.c clone_create_actions(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 849 lib/pacemaker/pcmk_sched_clone.c clone_create_pseudo_actions(rsc, rsc->children, &clone_data->start_notify, &clone_data->stop_notify,data_set); data_set 850 lib/pacemaker/pcmk_sched_clone.c child_ordering_constraints(rsc, data_set); data_set 852 lib/pacemaker/pcmk_sched_clone.c create_promotable_actions(rsc, data_set); data_set 858 lib/pacemaker/pcmk_sched_clone.c pe_resource_t * rsc, GListPtr children, notify_data_t **start_notify, notify_data_t **stop_notify, pe_working_set_t * data_set) data_set 878 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc, data_set); data_set 889 lib/pacemaker/pcmk_sched_clone.c start = create_pseudo_resource_op(rsc, RSC_START, !child_starting, TRUE, data_set); data_set 890 lib/pacemaker/pcmk_sched_clone.c started = create_pseudo_resource_op(rsc, RSC_STARTED, !child_starting, FALSE, data_set); data_set 898 lib/pacemaker/pcmk_sched_clone.c *start_notify = create_notification_boundaries(rsc, RSC_START, start, started, data_set); data_set 902 lib/pacemaker/pcmk_sched_clone.c stop = create_pseudo_resource_op(rsc, RSC_STOP, !child_stopping, TRUE, data_set); data_set 903 lib/pacemaker/pcmk_sched_clone.c stopped = create_pseudo_resource_op(rsc, RSC_STOPPED, !child_stopping, TRUE, data_set); data_set 911 lib/pacemaker/pcmk_sched_clone.c *stop_notify = create_notification_boundaries(rsc, RSC_STOP, stop, stopped, data_set); data_set 920 lib/pacemaker/pcmk_sched_clone.c clone_internal_constraints(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 929 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(rsc, RSC_STOPPED, rsc, RSC_START, pe_order_optional, data_set); data_set 930 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(rsc, RSC_START, rsc, RSC_STARTED, pe_order_runnable_left, data_set); data_set 931 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(rsc, RSC_STOP, rsc, RSC_STOPPED, pe_order_runnable_left, data_set); data_set 934 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(rsc, RSC_DEMOTED, rsc, RSC_STOP, pe_order_optional, data_set); data_set 935 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(rsc, RSC_STARTED, rsc, RSC_PROMOTE, pe_order_runnable_left, data_set); data_set 945 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); data_set 949 lib/pacemaker/pcmk_sched_clone.c data_set); data_set 956 lib/pacemaker/pcmk_sched_clone.c data_set); data_set 964 lib/pacemaker/pcmk_sched_clone.c promotable_constraints(rsc, data_set); data_set 1025 lib/pacemaker/pcmk_sched_clone.c pe_working_set_t *data_set) data_set 1038 lib/pacemaker/pcmk_sched_clone.c scratch = sort_nodes_by_weight(scratch, NULL, data_set); data_set 1059 lib/pacemaker/pcmk_sched_clone.c pe_working_set_t *data_set) data_set 1071 lib/pacemaker/pcmk_sched_clone.c pe_working_set_t *data_set) data_set 1095 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); data_set 1122 lib/pacemaker/pcmk_sched_clone.c FALSE, data_set); data_set 1127 lib/pacemaker/pcmk_sched_clone.c data_set); data_set 1163 lib/pacemaker/pcmk_sched_clone.c data_set); data_set 1278 lib/pacemaker/pcmk_sched_clone.c clone_expand(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 1294 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->start_notify, data_set); data_set 1295 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->start_notify, data_set); data_set 1300 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->stop_notify, data_set); data_set 1301 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->stop_notify, data_set); data_set 1306 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->promote_notify, data_set); data_set 1307 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->promote_notify, data_set); data_set 1312 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->demote_notify, data_set); data_set 1313 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->demote_notify, data_set); data_set 1322 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); data_set 1325 lib/pacemaker/pcmk_sched_clone.c native_expand(rsc, data_set); data_set 1384 lib/pacemaker/pcmk_sched_clone.c gboolean force, pe_working_set_t *data_set) data_set 1394 lib/pacemaker/pcmk_sched_clone.c data_set); data_set 1403 lib/pacemaker/pcmk_sched_clone.c pe_working_set_t *data_set) data_set 1430 lib/pacemaker/pcmk_sched_clone.c return child->cmds->create_probe(child, node, complete, force, data_set); data_set 1435 lib/pacemaker/pcmk_sched_clone.c gboolean force, pe_working_set_t * data_set) data_set 1465 lib/pacemaker/pcmk_sched_clone.c any_created = probe_unique_clone(rsc, node, complete, force, data_set); data_set 1468 lib/pacemaker/pcmk_sched_clone.c data_set); data_set 35 lib/pacemaker/pcmk_sched_constraints.c __rsc = pe_find_constraint_resource(data_set->resources, __name); \ data_set 49 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t *data_set, data_set 53 lib/pacemaker/pcmk_sched_constraints.c evaluate_lifetime(xmlNode *lifetime, pe_working_set_t *data_set) data_set 58 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, data_set->now, next_change); data_set 62 lib/pacemaker/pcmk_sched_constraints.c pe__update_recheck_time(recheck, data_set); data_set 69 lib/pacemaker/pcmk_sched_constraints.c unpack_constraints(xmlNode * xml_constraints, pe_working_set_t * data_set) data_set 95 lib/pacemaker/pcmk_sched_constraints.c if (lifetime && !evaluate_lifetime(lifetime, data_set)) { data_set 99 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_order(xml_obj, data_set); data_set 102 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_colocation(xml_obj, data_set); data_set 105 lib/pacemaker/pcmk_sched_constraints.c unpack_location(xml_obj, data_set); data_set 108 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_ticket(xml_obj, data_set); data_set 213 lib/pacemaker/pcmk_sched_constraints.c pe_find_constraint_tag(pe_working_set_t * data_set, const char * id, pe_tag_t ** tag) data_set 218 lib/pacemaker/pcmk_sched_constraints.c rc = g_hash_table_lookup_extended(data_set->template_rsc_sets, id, data_set 222 lib/pacemaker/pcmk_sched_constraints.c rc = g_hash_table_lookup_extended(data_set->tags, id, data_set 243 lib/pacemaker/pcmk_sched_constraints.c valid_resource_or_tag(pe_working_set_t * data_set, const char * id, data_set 250 lib/pacemaker/pcmk_sched_constraints.c *rsc = pe_find_constraint_resource(data_set->resources, id); data_set 258 lib/pacemaker/pcmk_sched_constraints.c rc = pe_find_constraint_tag(data_set, id, tag); data_set 305 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_rsc_order(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 362 lib/pacemaker/pcmk_sched_constraints.c rsc_then = pe_find_constraint_resource(data_set->resources, id_then); data_set 363 lib/pacemaker/pcmk_sched_constraints.c rsc_first = pe_find_constraint_resource(data_set->resources, id_first); data_set 389 lib/pacemaker/pcmk_sched_constraints.c rsc_then = find_clone_instance(rsc_then, instance_then, data_set); data_set 399 lib/pacemaker/pcmk_sched_constraints.c rsc_first = find_clone_instance(rsc_first, instance_first, data_set); data_set 454 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *unordered_action = get_pseudo_op(task, data_set); data_set 470 lib/pacemaker/pcmk_sched_constraints.c data_set); data_set 478 lib/pacemaker/pcmk_sched_constraints.c data_set); data_set 480 lib/pacemaker/pcmk_sched_constraints.c order_id = new_rsc_order(rsc_first, action_first, rsc_then, action_then, cons_weight, data_set); data_set 507 lib/pacemaker/pcmk_sched_constraints.c order_id = new_rsc_order(rsc_then, action_then, rsc_first, action_first, cons_weight, data_set); data_set 516 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) data_set 552 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { data_set 640 lib/pacemaker/pcmk_sched_constraints.c gboolean convert_rsc, pe_working_set_t * data_set) data_set 664 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id, &rsc, &tag) == FALSE) { data_set 713 lib/pacemaker/pcmk_sched_constraints.c const char * score, pe_working_set_t * data_set, pe_match_data_t * match_data); data_set 716 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_location(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 722 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, value); data_set 724 lib/pacemaker/pcmk_sched_constraints.c return unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); data_set 747 lib/pacemaker/pcmk_sched_constraints.c for (rIter = data_set->resources; rIter; rIter = rIter->next) { data_set 774 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, &match_data); data_set 778 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, NULL); data_set 796 lib/pacemaker/pcmk_sched_constraints.c const char * score, pe_working_set_t * data_set, pe_match_data_t * match_data) data_set 816 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *match = pe_find_node(data_set->nodes, node); data_set 821 lib/pacemaker/pcmk_sched_constraints.c location = rsc2node_new(id, rsc_lh, score_i, discovery, match, data_set); data_set 836 lib/pacemaker/pcmk_sched_constraints.c data_set, match_data); data_set 850 lib/pacemaker/pcmk_sched_constraints.c pe__update_recheck_time(t, data_set); data_set 885 lib/pacemaker/pcmk_sched_constraints.c unpack_location_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) data_set 910 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); data_set 923 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { data_set 938 lib/pacemaker/pcmk_sched_constraints.c if (tag_to_set(new_xml, &rsc_set_lh, XML_LOC_ATTR_SOURCE, FALSE, data_set) == FALSE) { data_set 962 lib/pacemaker/pcmk_sched_constraints.c unpack_location_set(xmlNode * location, xmlNode * set, pe_working_set_t * data_set) data_set 988 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(location, resource, role, local_score, data_set, NULL); data_set 996 lib/pacemaker/pcmk_sched_constraints.c unpack_location(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 1004 lib/pacemaker/pcmk_sched_constraints.c if (unpack_location_tags(xml_obj, &expanded_xml, data_set) == FALSE) { data_set 1018 lib/pacemaker/pcmk_sched_constraints.c set = expand_idref(set, data_set->input); data_set 1019 lib/pacemaker/pcmk_sched_constraints.c if (unpack_location_set(xml_obj, set, data_set) == FALSE) { data_set 1034 lib/pacemaker/pcmk_sched_constraints.c return unpack_simple_location(xml_obj, data_set); data_set 1071 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t *data_set, pe_match_data_t *match_data) data_set 1088 lib/pacemaker/pcmk_sched_constraints.c rule_xml = expand_idref(rule_xml, data_set->input); data_set 1111 lib/pacemaker/pcmk_sched_constraints.c location_rule = rsc2node_new(rule_id, rsc, 0, discovery, NULL, data_set); data_set 1141 lib/pacemaker/pcmk_sched_constraints.c match_L = pcmk__copy_node_list(data_set->nodes, true); data_set 1149 lib/pacemaker/pcmk_sched_constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1154 lib/pacemaker/pcmk_sched_constraints.c data_set->now, next_change, match_data); data_set 1305 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t * data_set) data_set 1339 lib/pacemaker/pcmk_sched_constraints.c pe_order_anti_colocation, data_set); data_set 1347 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh, const char *state_rh, pe_working_set_t * data_set) data_set 1389 lib/pacemaker/pcmk_sched_constraints.c data_set->colocation_constraints = g_list_append(data_set->colocation_constraints, new_con); data_set 1392 lib/pacemaker/pcmk_sched_constraints.c anti_colocation_order(rsc_lh, new_con->role_lh, rsc_rh, new_con->role_rh, data_set); data_set 1393 lib/pacemaker/pcmk_sched_constraints.c anti_colocation_order(rsc_rh, new_con->role_rh, rsc_lh, new_con->role_lh, data_set); data_set 1403 lib/pacemaker/pcmk_sched_constraints.c enum pe_ordering type, pe_working_set_t * data_set) data_set 1425 lib/pacemaker/pcmk_sched_constraints.c return custom_action_order(lh_rsc, lh_key, NULL, rh_rsc, rh_key, NULL, type, data_set); data_set 1446 lib/pacemaker/pcmk_sched_constraints.c handle_migration_ordering(pe__ordering_t *order, pe_working_set_t *data_set) data_set 1494 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); data_set 1508 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); data_set 1525 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); data_set 1534 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); data_set 1547 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); data_set 1558 lib/pacemaker/pcmk_sched_constraints.c flags, data_set); data_set 1567 lib/pacemaker/pcmk_sched_constraints.c NULL, flags, data_set); data_set 1581 lib/pacemaker/pcmk_sched_constraints.c enum pe_ordering type, pe_working_set_t * data_set) data_set 1602 lib/pacemaker/pcmk_sched_constraints.c crm_trace("Creating[%d] %s %s %s - %s %s %s", data_set->order_id, data_set 1608 lib/pacemaker/pcmk_sched_constraints.c order->id = data_set->order_id++; data_set 1633 lib/pacemaker/pcmk_sched_constraints.c data_set->ordering_constraints = g_list_prepend(data_set->ordering_constraints, order); data_set 1634 lib/pacemaker/pcmk_sched_constraints.c handle_migration_ordering(order, data_set); data_set 1681 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t * data_set) data_set 1787 lib/pacemaker/pcmk_sched_constraints.c flags, data_set); data_set 1792 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(last, action, resource, action, flags, data_set); data_set 1838 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(resource, action, last, action, flags, data_set); data_set 1851 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t * data_set, gboolean invert, gboolean symmetrical) data_set 1901 lib/pacemaker/pcmk_sched_constraints.c pe_action_t *unordered_action = get_pseudo_op(task, data_set); data_set 1921 lib/pacemaker/pcmk_sched_constraints.c data_set); data_set 1936 lib/pacemaker/pcmk_sched_constraints.c NULL, flags|pe_order_runnable_left, data_set); data_set 1997 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(rsc_1, action_1, rsc_2, action_2, flags, data_set); data_set 2005 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(rsc_1, action_1, rsc_2, action_2, flags, data_set); data_set 2017 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(rsc_1, action_1, rsc_2, action_2, flags, data_set); data_set 2036 lib/pacemaker/pcmk_sched_constraints.c new_rsc_order(rsc_1, action_1, rsc_2, action_2, flags, data_set); data_set 2047 lib/pacemaker/pcmk_sched_constraints.c unpack_order_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) data_set 2077 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); data_set 2091 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_first, &rsc_first, &tag_first) == FALSE) { data_set 2097 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_then, &rsc_then, &tag_then) == FALSE) { data_set 2114 lib/pacemaker/pcmk_sched_constraints.c if (tag_to_set(new_xml, &rsc_set_first, XML_ORDER_ATTR_FIRST, TRUE, data_set) == FALSE) { data_set 2130 lib/pacemaker/pcmk_sched_constraints.c if (tag_to_set(new_xml, &rsc_set_then, XML_ORDER_ATTR_THEN, TRUE, data_set) == FALSE) { data_set 2156 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_order(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 2192 lib/pacemaker/pcmk_sched_constraints.c rc = unpack_order_tags(xml_obj, &expanded_xml, data_set); data_set 2206 lib/pacemaker/pcmk_sched_constraints.c set = expand_idref(set, data_set->input); data_set 2208 lib/pacemaker/pcmk_sched_constraints.c &set_inv_begin, &set_inv_end, invert, data_set) == FALSE) { data_set 2249 lib/pacemaker/pcmk_sched_constraints.c if (order_rsc_sets(id, last, set, kind, data_set, FALSE, invert_bool) == FALSE) { data_set 2254 lib/pacemaker/pcmk_sched_constraints.c && order_rsc_sets(id, set, last, kind, data_set, TRUE, invert_bool) == FALSE) { data_set 2276 lib/pacemaker/pcmk_sched_constraints.c return unpack_simple_rsc_order(xml_obj, data_set); data_set 2283 lib/pacemaker/pcmk_sched_constraints.c unpack_colocation_set(xmlNode * set, int score, pe_working_set_t * data_set) data_set 2317 lib/pacemaker/pcmk_sched_constraints.c data_set); data_set 2333 lib/pacemaker/pcmk_sched_constraints.c data_set); data_set 2366 lib/pacemaker/pcmk_sched_constraints.c data_set); data_set 2378 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t * data_set) data_set 2417 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); data_set 2425 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); data_set 2435 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); data_set 2454 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, NULL, score, rsc_1, rsc_2, role_1, role_2, data_set); data_set 2465 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_colocation(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 2483 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); data_set 2484 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *rsc_rh = pe_find_constraint_resource(data_set->resources, id_rh); data_set 2510 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); data_set 2520 lib/pacemaker/pcmk_sched_constraints.c rsc_rh = find_clone_instance(rsc_rh, instance_rh, data_set); data_set 2539 lib/pacemaker/pcmk_sched_constraints.c rsc_colocation_new(id, attr, score_i, rsc_lh, rsc_rh, state_lh, state_rh, data_set); data_set 2544 lib/pacemaker/pcmk_sched_constraints.c unpack_colocation_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) data_set 2575 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); data_set 2589 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { data_set 2595 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_rh, &rsc_rh, &tag_rh) == FALSE) { data_set 2619 lib/pacemaker/pcmk_sched_constraints.c if (tag_to_set(new_xml, &rsc_set_lh, XML_COLOC_ATTR_SOURCE, TRUE, data_set) == FALSE) { data_set 2635 lib/pacemaker/pcmk_sched_constraints.c if (tag_to_set(new_xml, &rsc_set_rh, XML_COLOC_ATTR_TARGET, TRUE, data_set) == FALSE) { data_set 2661 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_colocation(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 2680 lib/pacemaker/pcmk_sched_constraints.c rc = unpack_colocation_tags(xml_obj, &expanded_xml, data_set); data_set 2694 lib/pacemaker/pcmk_sched_constraints.c set = expand_idref(set, data_set->input); data_set 2695 lib/pacemaker/pcmk_sched_constraints.c if (unpack_colocation_set(set, score_i, data_set) == FALSE) { data_set 2698 lib/pacemaker/pcmk_sched_constraints.c } else if (last && colocate_rsc_sets(id, last, set, score_i, data_set) == FALSE) { data_set 2711 lib/pacemaker/pcmk_sched_constraints.c return unpack_simple_colocation(xml_obj, data_set); data_set 2719 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh, const char *loss_policy, pe_working_set_t * data_set) data_set 2744 lib/pacemaker/pcmk_sched_constraints.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 2797 lib/pacemaker/pcmk_sched_constraints.c data_set->ticket_constraints = g_list_append(data_set->ticket_constraints, new_rsc_ticket); data_set 2800 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_constraint(rsc_lh, new_rsc_ticket, data_set); data_set 2808 lib/pacemaker/pcmk_sched_constraints.c pe_working_set_t * data_set) data_set 2833 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(set_id, resource, ticket, role, loss_policy, data_set); data_set 2840 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_rsc_ticket(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 2870 lib/pacemaker/pcmk_sched_constraints.c ticket = g_hash_table_lookup(data_set->tickets, ticket_str); data_set 2883 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = pe_find_constraint_resource(data_set->resources, id_lh); data_set 2899 lib/pacemaker/pcmk_sched_constraints.c rsc_lh = find_clone_instance(rsc_lh, instance_lh, data_set); data_set 2908 lib/pacemaker/pcmk_sched_constraints.c rsc_ticket_new(id, rsc_lh, ticket, state_lh, loss_policy, data_set); data_set 2913 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_ticket_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) data_set 2938 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); data_set 2951 lib/pacemaker/pcmk_sched_constraints.c if (valid_resource_or_tag(data_set, id_lh, &rsc_lh, &tag_lh) == FALSE) { data_set 2966 lib/pacemaker/pcmk_sched_constraints.c if (tag_to_set(new_xml, &rsc_set_lh, XML_COLOC_ATTR_SOURCE, FALSE, data_set) == FALSE) { data_set 2992 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_ticket(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 3017 lib/pacemaker/pcmk_sched_constraints.c if (data_set->tickets == NULL) { data_set 3018 lib/pacemaker/pcmk_sched_constraints.c data_set->tickets = data_set 3026 lib/pacemaker/pcmk_sched_constraints.c ticket = g_hash_table_lookup(data_set->tickets, ticket_str); data_set 3030 lib/pacemaker/pcmk_sched_constraints.c ticket = ticket_new(ticket_str, data_set); data_set 3036 lib/pacemaker/pcmk_sched_constraints.c rc = unpack_rsc_ticket_tags(xml_obj, &expanded_xml, data_set); data_set 3050 lib/pacemaker/pcmk_sched_constraints.c set = expand_idref(set, data_set->input); data_set 3051 lib/pacemaker/pcmk_sched_constraints.c if (unpack_rsc_ticket_set(set, ticket, loss_policy, data_set) == FALSE) { data_set 3063 lib/pacemaker/pcmk_sched_constraints.c return unpack_simple_rsc_ticket(xml_obj, data_set); data_set 22 lib/pacemaker/pcmk_sched_graph.c void update_colo_start_chain(pe_action_t *action, pe_working_set_t *data_set); data_set 178 lib/pacemaker/pcmk_sched_graph.c pe_action_wrapper_t *order, pe_working_set_t *data_set) data_set 212 lib/pacemaker/pcmk_sched_graph.c pe_order_implies_then, data_set); data_set 232 lib/pacemaker/pcmk_sched_graph.c pe_order_restart, data_set); data_set 245 lib/pacemaker/pcmk_sched_graph.c data_set); data_set 270 lib/pacemaker/pcmk_sched_graph.c pe_order_implies_first_master, data_set); data_set 288 lib/pacemaker/pcmk_sched_graph.c data_set); data_set 326 lib/pacemaker/pcmk_sched_graph.c data_set); data_set 341 lib/pacemaker/pcmk_sched_graph.c data_set); data_set 361 lib/pacemaker/pcmk_sched_graph.c pe_order_implies_first_migratable, data_set); data_set 375 lib/pacemaker/pcmk_sched_graph.c data_set); data_set 388 lib/pacemaker/pcmk_sched_graph.c first_flags, pe_action_runnable, pe_order_optional, data_set); data_set 402 lib/pacemaker/pcmk_sched_graph.c data_set); data_set 457 lib/pacemaker/pcmk_sched_graph.c pe_working_set_t *data_set) data_set 471 lib/pacemaker/pcmk_sched_graph.c update_colo_start_chain(action, data_set); data_set 472 lib/pacemaker/pcmk_sched_graph.c update_action(action, data_set); data_set 479 lib/pacemaker/pcmk_sched_graph.c update_colo_start_chain(pe_action_t *action, pe_working_set_t *data_set) data_set 515 lib/pacemaker/pcmk_sched_graph.c mark_start_blocked(colocate_with->rsc_lh, action->rsc, data_set); data_set 521 lib/pacemaker/pcmk_sched_graph.c update_action(pe_action_t *then, pe_working_set_t *data_set) data_set 647 lib/pacemaker/pcmk_sched_graph.c then_flags, other, data_set); data_set 679 lib/pacemaker/pcmk_sched_graph.c update_action(other->action, data_set); data_set 681 lib/pacemaker/pcmk_sched_graph.c update_action(first, data_set); data_set 703 lib/pacemaker/pcmk_sched_graph.c update_colo_start_chain(then, data_set); data_set 705 lib/pacemaker/pcmk_sched_graph.c update_action(then, data_set); data_set 709 lib/pacemaker/pcmk_sched_graph.c update_action(other->action, data_set); data_set 717 lib/pacemaker/pcmk_sched_graph.c shutdown_constraints(pe_node_t * node, pe_action_t * shutdown_op, pe_working_set_t * data_set) data_set 724 lib/pacemaker/pcmk_sched_graph.c for (lpc = data_set->actions; lpc != NULL; lpc = lpc->next) { data_set 754 lib/pacemaker/pcmk_sched_graph.c pe_order_optional | pe_order_runnable_left, data_set); data_set 772 lib/pacemaker/pcmk_sched_graph.c pcmk__order_vs_fence(pe_action_t *stonith_op, pe_working_set_t *data_set) data_set 774 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(stonith_op && data_set, return); data_set 775 lib/pacemaker/pcmk_sched_graph.c for (GList *r = data_set->resources; r != NULL; r = r->next) { data_set 776 lib/pacemaker/pcmk_sched_graph.c rsc_stonith_ordering((pe_resource_t *) r->data, stonith_op, data_set); data_set 891 lib/pacemaker/pcmk_sched_graph.c add_maintenance_nodes(xmlNode *xml, const pe_working_set_t *data_set) data_set 898 lib/pacemaker/pcmk_sched_graph.c for (gIter = data_set->nodes; gIter != NULL; data_set 928 lib/pacemaker/pcmk_sched_graph.c add_maintenance_update(pe_working_set_t *data_set) data_set 932 lib/pacemaker/pcmk_sched_graph.c if (add_maintenance_nodes(NULL, data_set)) { data_set 934 lib/pacemaker/pcmk_sched_graph.c action = get_pseudo_op(CRM_OP_MAINTENANCE_NODES, data_set); data_set 953 lib/pacemaker/pcmk_sched_graph.c const pe_working_set_t *data_set) data_set 955 lib/pacemaker/pcmk_sched_graph.c CRM_CHECK(xml && action && action->node && data_set, return); data_set 971 lib/pacemaker/pcmk_sched_graph.c pe_foreach_guest_node(data_set, action->node, add_node_to_xml, downed); data_set 1020 lib/pacemaker/pcmk_sched_graph.c action2xml(pe_action_t * action, gboolean as_input, pe_working_set_t *data_set) data_set 1214 lib/pacemaker/pcmk_sched_graph.c get_rsc_attributes(p, action->rsc, action->node, data_set); data_set 1223 lib/pacemaker/pcmk_sched_graph.c action->node, data_set); data_set 1320 lib/pacemaker/pcmk_sched_graph.c add_downed_nodes(action_xml, action, data_set); data_set 1324 lib/pacemaker/pcmk_sched_graph.c add_maintenance_nodes(action_xml, data_set); data_set 1804 lib/pacemaker/pcmk_sched_graph.c graph_element_from_action(pe_action_t *action, pe_working_set_t *data_set) data_set 1828 lib/pacemaker/pcmk_sched_graph.c syn = create_xml_node(data_set->graph, "synapse"); data_set 1832 lib/pacemaker/pcmk_sched_graph.c crm_xml_add_int(syn, XML_ATTR_ID, data_set->num_synapse); data_set 1833 lib/pacemaker/pcmk_sched_graph.c data_set->num_synapse++; data_set 1845 lib/pacemaker/pcmk_sched_graph.c xml_action = action2xml(action, FALSE, data_set); data_set 1854 lib/pacemaker/pcmk_sched_graph.c xml_action = action2xml(input->action, TRUE, data_set); data_set 21 lib/pacemaker/pcmk_sched_group.c pe_working_set_t *data_set) data_set 63 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); data_set 81 lib/pacemaker/pcmk_sched_group.c group_create_actions(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 92 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); data_set 100 lib/pacemaker/pcmk_sched_group.c RSC_STARTED, NULL, TRUE /* !group_data->child_starting */ , TRUE, data_set); data_set 107 lib/pacemaker/pcmk_sched_group.c RSC_STOPPED, NULL, TRUE /* !group_data->child_stopping */ , TRUE, data_set); data_set 112 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demote_key(rsc), RSC_DEMOTE, NULL, TRUE, TRUE, data_set); data_set 115 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, demoted_key(rsc), RSC_DEMOTED, NULL, TRUE, TRUE, data_set); data_set 118 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, promote_key(rsc), RSC_PROMOTE, NULL, TRUE, TRUE, data_set); data_set 121 lib/pacemaker/pcmk_sched_group.c op = custom_action(rsc, promoted_key(rsc), RSC_PROMOTED, NULL, TRUE, TRUE, data_set); data_set 164 lib/pacemaker/pcmk_sched_group.c group_internal_constraints(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 174 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_STOPPED, rsc, RSC_START, pe_order_optional, data_set); data_set 175 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_START, rsc, RSC_STARTED, pe_order_runnable_left, data_set); data_set 176 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_STOP, rsc, RSC_STOPPED, pe_order_runnable_left, data_set); data_set 186 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); data_set 196 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, data_set); data_set 201 lib/pacemaker/pcmk_sched_group.c stop | pe_order_implies_first_printed, data_set); data_set 203 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stopped, data_set); data_set 205 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_PROMOTE, rsc, RSC_PROMOTED, started, data_set); data_set 208 lib/pacemaker/pcmk_sched_group.c pe_order_implies_first_printed, data_set); data_set 215 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, stopped, data_set); data_set 217 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, started, data_set); data_set 223 lib/pacemaker/pcmk_sched_group.c start | pe_order_implies_first_printed, data_set); data_set 233 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, start, data_set); data_set 235 lib/pacemaker/pcmk_sched_group.c data_set); data_set 249 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, flags, data_set); data_set 274 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_STOP, rsc, RSC_STOPPED, stop_stopped_flags, data_set); data_set 277 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_DEMOTE, last_rsc, RSC_DEMOTE, stop_stop_flags, data_set); data_set 278 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stop_stopped_flags, data_set); data_set 286 lib/pacemaker/pcmk_sched_group.c pe_working_set_t *data_set) data_set 311 lib/pacemaker/pcmk_sched_group.c data_set); data_set 325 lib/pacemaker/pcmk_sched_group.c data_set); data_set 332 lib/pacemaker/pcmk_sched_group.c pe_working_set_t *data_set) data_set 355 lib/pacemaker/pcmk_sched_group.c data_set); data_set 361 lib/pacemaker/pcmk_sched_group.c data_set); data_set 376 lib/pacemaker/pcmk_sched_group.c data_set); data_set 428 lib/pacemaker/pcmk_sched_group.c enum pe_ordering type, pe_working_set_t *data_set) data_set 435 lib/pacemaker/pcmk_sched_group.c data_set); data_set 444 lib/pacemaker/pcmk_sched_group.c data_set); data_set 481 lib/pacemaker/pcmk_sched_group.c group_expand(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 486 lib/pacemaker/pcmk_sched_group.c native_expand(rsc, data_set); data_set 491 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->expand(child_rsc, data_set); data_set 29 lib/pacemaker/pcmk_sched_messages.c log_resource_details(pe_working_set_t *data_set) data_set 56 lib/pacemaker/pcmk_sched_messages.c for (GList *item = data_set->resources; item != NULL; item = item->next) { data_set 79 lib/pacemaker/pcmk_sched_messages.c pcmk__schedule_actions(pe_working_set_t *data_set, xmlNode *xml_input, data_set 86 lib/pacemaker/pcmk_sched_messages.c CRM_ASSERT(xml_input || pcmk_is_set(data_set->flags, pe_flag_have_status)); data_set 88 lib/pacemaker/pcmk_sched_messages.c if (!pcmk_is_set(data_set->flags, pe_flag_have_status)) { data_set 89 lib/pacemaker/pcmk_sched_messages.c set_working_set_defaults(data_set); data_set 90 lib/pacemaker/pcmk_sched_messages.c data_set->input = xml_input; data_set 91 lib/pacemaker/pcmk_sched_messages.c data_set->now = now; data_set 97 lib/pacemaker/pcmk_sched_messages.c if (data_set->now == NULL) { data_set 98 lib/pacemaker/pcmk_sched_messages.c data_set->now = crm_time_new(NULL); data_set 102 lib/pacemaker/pcmk_sched_messages.c stage0(data_set); data_set 103 lib/pacemaker/pcmk_sched_messages.c if (!pcmk_is_set(data_set->flags, pe_flag_quick_location)) { data_set 104 lib/pacemaker/pcmk_sched_messages.c log_resource_details(data_set); data_set 108 lib/pacemaker/pcmk_sched_messages.c stage2(data_set); data_set 110 lib/pacemaker/pcmk_sched_messages.c if (pcmk_is_set(data_set->flags, pe_flag_quick_location)) { data_set 115 lib/pacemaker/pcmk_sched_messages.c stage3(data_set); data_set 118 lib/pacemaker/pcmk_sched_messages.c stage4(data_set); data_set 121 lib/pacemaker/pcmk_sched_messages.c stage5(data_set); data_set 124 lib/pacemaker/pcmk_sched_messages.c stage6(data_set); data_set 127 lib/pacemaker/pcmk_sched_messages.c stage7(data_set); data_set 130 lib/pacemaker/pcmk_sched_messages.c stage8(data_set); data_set 135 lib/pacemaker/pcmk_sched_messages.c gIter = data_set->actions; data_set 148 lib/pacemaker/pcmk_sched_messages.c return data_set->graph; data_set 27 lib/pacemaker/pcmk_sched_native.c pe_working_set_t *data_set); data_set 29 lib/pacemaker/pcmk_sched_native.c xmlNode *operation, pe_working_set_t *data_set); data_set 31 lib/pacemaker/pcmk_sched_native.c pe_working_set_t *data_set); data_set 33 lib/pacemaker/pcmk_sched_native.c xmlNode *operation, pe_working_set_t *data_set); data_set 35 lib/pacemaker/pcmk_sched_native.c void ReloadRsc(pe_resource_t * rsc, pe_node_t *node, pe_working_set_t * data_set); data_set 36 lib/pacemaker/pcmk_sched_native.c gboolean DeleteRsc(pe_resource_t * rsc, pe_node_t * node, gboolean optional, pe_working_set_t * data_set); data_set 37 lib/pacemaker/pcmk_sched_native.c gboolean StopRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set); data_set 38 lib/pacemaker/pcmk_sched_native.c gboolean StartRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set); data_set 39 lib/pacemaker/pcmk_sched_native.c gboolean DemoteRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set); data_set 41 lib/pacemaker/pcmk_sched_native.c pe_working_set_t * data_set); data_set 42 lib/pacemaker/pcmk_sched_native.c gboolean RoleError(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set); data_set 43 lib/pacemaker/pcmk_sched_native.c gboolean NullOp(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set); data_set 63 lib/pacemaker/pcmk_sched_native.c pe_working_set_t *data_set); data_set 83 lib/pacemaker/pcmk_sched_native.c native_choose_node(pe_resource_t * rsc, pe_node_t * prefer, pe_working_set_t * data_set) data_set 92 lib/pacemaker/pcmk_sched_native.c process_utilization(rsc, &prefer, data_set); data_set 104 lib/pacemaker/pcmk_sched_native.c nodes = sort_nodes_by_weight(nodes, pe__current_node(rsc), data_set); data_set 497 lib/pacemaker/pcmk_sched_native.c is_unfence_device(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 500 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(data_set->flags, pe_flag_enable_unfencing); data_set 505 lib/pacemaker/pcmk_sched_native.c pe_working_set_t *data_set) data_set 513 lib/pacemaker/pcmk_sched_native.c rsc->parent->cmds->allocate(rsc->parent, prefer, data_set); data_set 547 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->allocate(rsc_rh, NULL, data_set); data_set 548 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, rsc_rh, constraint, data_set); data_set 581 lib/pacemaker/pcmk_sched_native.c resource_location(rsc, NULL, -INFINITY, XML_RSC_ATTR_TARGET_ROLE, data_set); data_set 584 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(data_set->flags, pe_flag_have_quorum) data_set 585 lib/pacemaker/pcmk_sched_native.c && data_set->no_quorum_policy == no_quorum_freeze) { data_set 592 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled) data_set 593 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(data_set->flags, pe_flag_have_stonith_resource)) { data_set 616 lib/pacemaker/pcmk_sched_native.c } else if (pcmk_is_set(data_set->flags, pe_flag_stop_everything)) { data_set 621 lib/pacemaker/pcmk_sched_native.c && native_choose_node(rsc, prefer, data_set)) { data_set 640 lib/pacemaker/pcmk_sched_native.c pe_node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); data_set 712 lib/pacemaker/pcmk_sched_native.c xmlNode * operation, pe_working_set_t * data_set) data_set 805 lib/pacemaker/pcmk_sched_native.c cancel_op = pe_cancel_op(rsc, name, interval_ms, node, data_set); data_set 827 lib/pacemaker/pcmk_sched_native.c pe_order_runnable_left, data_set); data_set 839 lib/pacemaker/pcmk_sched_native.c mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set); data_set 872 lib/pacemaker/pcmk_sched_native.c pe_order_implies_then | pe_order_runnable_left, data_set); data_set 876 lib/pacemaker/pcmk_sched_native.c pe_order_implies_then | pe_order_runnable_left, data_set); data_set 881 lib/pacemaker/pcmk_sched_native.c pe_order_optional | pe_order_runnable_left, data_set); data_set 886 lib/pacemaker/pcmk_sched_native.c pe_order_optional | pe_order_runnable_left, data_set); data_set 892 lib/pacemaker/pcmk_sched_native.c Recurring(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, pe_working_set_t * data_set) data_set 903 lib/pacemaker/pcmk_sched_native.c RecurringOp(rsc, start, node, operation, data_set); data_set 911 lib/pacemaker/pcmk_sched_native.c xmlNode * operation, pe_working_set_t * data_set) data_set 976 lib/pacemaker/pcmk_sched_native.c cancel_op = pe_cancel_op(rsc, name, interval_ms, node, data_set); data_set 982 lib/pacemaker/pcmk_sched_native.c pe_order_runnable_left, data_set); data_set 990 lib/pacemaker/pcmk_sched_native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1022 lib/pacemaker/pcmk_sched_native.c stopped_mon = custom_action(rsc, strdup(key), name, stop_node, is_optional, TRUE, data_set); data_set 1066 lib/pacemaker/pcmk_sched_native.c pe_order_implies_then | pe_order_runnable_left, data_set); data_set 1105 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, pe_working_set_t * data_set) data_set 1116 lib/pacemaker/pcmk_sched_native.c RecurringOp_Stopped(rsc, start, node, operation, data_set); data_set 1123 lib/pacemaker/pcmk_sched_native.c handle_migration_actions(pe_resource_t * rsc, pe_node_t *current, pe_node_t *chosen, pe_working_set_t * data_set) data_set 1138 lib/pacemaker/pcmk_sched_native.c RSC_MIGRATE, current, TRUE, TRUE, data_set); data_set 1142 lib/pacemaker/pcmk_sched_native.c RSC_MIGRATED, chosen, TRUE, TRUE, data_set); data_set 1159 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); data_set 1168 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); data_set 1173 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1179 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1183 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1212 lib/pacemaker/pcmk_sched_native.c native_create_actions(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 1248 lib/pacemaker/pcmk_sched_native.c (pcmk_is_set(data_set->flags, pe_flag_remove_after_stop)? "and" : "without"), data_set 1252 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(data_set->flags, pe_flag_remove_after_stop)) { data_set 1253 lib/pacemaker/pcmk_sched_native.c DeleteRsc(rsc, dangling_source, FALSE, data_set); data_set 1360 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, current, !need_stop, data_set) == FALSE) { data_set 1379 lib/pacemaker/pcmk_sched_native.c data_set) == FALSE) { data_set 1392 lib/pacemaker/pcmk_sched_native.c if (rsc_action_matrix[role][next_role] (rsc, chosen, FALSE, data_set) == FALSE) { data_set 1408 lib/pacemaker/pcmk_sched_native.c Recurring(rsc, start, chosen, data_set); data_set 1409 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(rsc, start, chosen, data_set); data_set 1414 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(rsc, NULL, NULL, data_set); data_set 1435 lib/pacemaker/pcmk_sched_native.c handle_migration_actions(rsc, current, chosen, data_set); data_set 1467 lib/pacemaker/pcmk_sched_native.c allowed_nodes_as_list(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 1475 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(data_set->flags, pe_flag_stdout)) { data_set 1482 lib/pacemaker/pcmk_sched_native.c native_internal_constraints(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 1502 lib/pacemaker/pcmk_sched_native.c && pcmk_is_set(data_set->flags, pe_flag_enable_unfencing) data_set 1507 lib/pacemaker/pcmk_sched_native.c && !pcmk__str_eq(data_set->placement_strategy, data_set 1514 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1522 lib/pacemaker/pcmk_sched_native.c pe_order_implies_first_master, data_set); data_set 1526 lib/pacemaker/pcmk_sched_native.c pe_order_runnable_left, data_set); data_set 1533 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1537 lib/pacemaker/pcmk_sched_native.c allowed_nodes = allowed_nodes_as_list(rsc, data_set); data_set 1545 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, FALSE, data_set); data_set 1567 lib/pacemaker/pcmk_sched_native.c pe_order_optional|pe_order_same_node, data_set); data_set 1572 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1580 lib/pacemaker/pcmk_sched_native.c rsc->id, data_set->placement_strategy); data_set 1587 lib/pacemaker/pcmk_sched_native.c pe_action_t *load_stopped = get_pseudo_op(load_stopped_task, data_set); data_set 1596 lib/pacemaker/pcmk_sched_native.c NULL, load_stopped_task, load_stopped, pe_order_load, data_set); data_set 1603 lib/pacemaker/pcmk_sched_native.c pe_action_t *load_stopped = get_pseudo_op(load_stopped_task, data_set); data_set 1612 lib/pacemaker/pcmk_sched_native.c rsc, start_key(rsc), NULL, pe_order_load, data_set); data_set 1616 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_load, data_set); data_set 1643 lib/pacemaker/pcmk_sched_native.c pe_order_optional, data_set); data_set 1655 lib/pacemaker/pcmk_sched_native.c remote_rsc = pe__resource_contains_guest_node(data_set, data_set 1686 lib/pacemaker/pcmk_sched_native.c data_set); data_set 1691 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_implies_first, data_set); data_set 1699 lib/pacemaker/pcmk_sched_native.c rsc->container, NULL, NULL, data_set); data_set 1714 lib/pacemaker/pcmk_sched_native.c pe_working_set_t *data_set) data_set 1731 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); data_set 1930 lib/pacemaker/pcmk_sched_native.c pe_working_set_t *data_set) data_set 1967 lib/pacemaker/pcmk_sched_native.c rsc_ticket_constraint(pe_resource_t * rsc_lh, rsc_ticket_t * rsc_ticket, pe_working_set_t * data_set) data_set 1991 lib/pacemaker/pcmk_sched_native.c rsc_ticket_constraint(child_rsc, rsc_ticket, data_set); data_set 2007 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); data_set 2013 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); data_set 2022 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__loss_of_ticket__", data_set); data_set 2027 lib/pacemaker/pcmk_sched_native.c pe_fence_node(data_set, node, "deadman ticket was lost", FALSE); data_set 2045 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__no_ticket__", data_set); data_set 2051 lib/pacemaker/pcmk_sched_native.c resource_location(rsc_lh, NULL, -INFINITY, "__ticket_standby__", data_set); data_set 2138 lib/pacemaker/pcmk_sched_native.c enum pe_ordering type, pe_working_set_t *data_set) data_set 2276 lib/pacemaker/pcmk_sched_native.c update_action(then, data_set); data_set 2349 lib/pacemaker/pcmk_sched_native.c native_expand(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 2360 lib/pacemaker/pcmk_sched_native.c graph_element_from_action(action, data_set); data_set 2366 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); data_set 2504 lib/pacemaker/pcmk_sched_native.c LogActions(pe_resource_t * rsc, pe_working_set_t * data_set, gboolean terminal) data_set 2520 lib/pacemaker/pcmk_sched_native.c pcmk__bundle_log_actions(rsc, data_set, terminal); data_set 2530 lib/pacemaker/pcmk_sched_native.c LogActions(child_rsc, data_set, terminal); data_set 2702 lib/pacemaker/pcmk_sched_native.c StopRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set) data_set 2736 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(data_set->flags, pe_flag_remove_after_stop)) { data_set 2737 lib/pacemaker/pcmk_sched_native.c DeleteRsc(rsc, current, optional, data_set); data_set 2741 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(current, "on", TRUE, NULL, FALSE, data_set); data_set 2755 lib/pacemaker/pcmk_sched_native.c enum pe_ordering order, pe_working_set_t *data_set) data_set 2764 lib/pacemaker/pcmk_sched_native.c if (is_unfence_device(rsc, data_set) data_set 2771 lib/pacemaker/pcmk_sched_native.c pe_action_t *unfence = pe_fence_op(node, "on", TRUE, NULL, FALSE, data_set); data_set 2780 lib/pacemaker/pcmk_sched_native.c trigger_unfencing(NULL, node, reason, NULL, data_set); data_set 2787 lib/pacemaker/pcmk_sched_native.c StartRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set) data_set 2795 lib/pacemaker/pcmk_sched_native.c order_after_unfencing(rsc, next, start, pe_order_implies_then, data_set); data_set 2807 lib/pacemaker/pcmk_sched_native.c PromoteRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set) data_set 2849 lib/pacemaker/pcmk_sched_native.c DemoteRsc(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set) data_set 2867 lib/pacemaker/pcmk_sched_native.c RoleError(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set) data_set 2876 lib/pacemaker/pcmk_sched_native.c NullOp(pe_resource_t * rsc, pe_node_t * next, gboolean optional, pe_working_set_t * data_set) data_set 2884 lib/pacemaker/pcmk_sched_native.c DeleteRsc(pe_resource_t * rsc, pe_node_t * node, gboolean optional, pe_working_set_t * data_set) data_set 2905 lib/pacemaker/pcmk_sched_native.c optional ? pe_order_implies_then : pe_order_optional, data_set); data_set 2908 lib/pacemaker/pcmk_sched_native.c optional ? pe_order_implies_then : pe_order_optional, data_set); data_set 2915 lib/pacemaker/pcmk_sched_native.c gboolean force, pe_working_set_t * data_set) data_set 2933 lib/pacemaker/pcmk_sched_native.c if (!force && !pcmk_is_set(data_set->flags, pe_flag_startup_probes)) { data_set 2947 lib/pacemaker/pcmk_sched_native.c && pe__resource_contains_guest_node(data_set, rsc)) { data_set 2967 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) data_set 3051 lib/pacemaker/pcmk_sched_native.c pe_order_optional, data_set); data_set 3073 lib/pacemaker/pcmk_sched_native.c NULL, pe_order_optional, data_set); data_set 3084 lib/pacemaker/pcmk_sched_native.c probe = custom_action(rsc, key, RSC_STATUS, node, FALSE, TRUE, data_set); data_set 3088 lib/pacemaker/pcmk_sched_native.c order_after_unfencing(rsc, node, probe, pe_order_optional, data_set); data_set 3105 lib/pacemaker/pcmk_sched_native.c if (is_unfence_device(rsc, data_set) || !pe_rsc_is_clone(top)) { data_set 3121 lib/pacemaker/pcmk_sched_native.c flags, data_set); data_set 3126 lib/pacemaker/pcmk_sched_native.c pe_order_optional, data_set); data_set 3130 lib/pacemaker/pcmk_sched_native.c if (!is_unfence_device(rsc, data_set)) { data_set 3179 lib/pacemaker/pcmk_sched_native.c native_start_constraints(pe_resource_t * rsc, pe_action_t * stonith_op, pe_working_set_t * data_set) data_set 3224 lib/pacemaker/pcmk_sched_native.c native_stop_constraints(pe_resource_t * rsc, pe_action_t * stonith_op, pe_working_set_t * data_set) data_set 3316 lib/pacemaker/pcmk_sched_native.c create_secondary_notification(action, rsc, stonith_op, data_set); data_set 3390 lib/pacemaker/pcmk_sched_native.c rsc_stonith_ordering(pe_resource_t * rsc, pe_action_t * stonith_op, pe_working_set_t * data_set) data_set 3398 lib/pacemaker/pcmk_sched_native.c rsc_stonith_ordering(child_rsc, stonith_op, data_set); data_set 3405 lib/pacemaker/pcmk_sched_native.c native_start_constraints(rsc, stonith_op, data_set); data_set 3406 lib/pacemaker/pcmk_sched_native.c native_stop_constraints(rsc, stonith_op, data_set); data_set 3411 lib/pacemaker/pcmk_sched_native.c ReloadRsc(pe_resource_t * rsc, pe_node_t *node, pe_working_set_t * data_set) data_set 3420 lib/pacemaker/pcmk_sched_native.c ReloadRsc(child_rsc, node, data_set); data_set 3456 lib/pacemaker/pcmk_sched_native.c rsc, reload_key(rsc), CRMD_ACTION_RELOAD, node, FALSE, TRUE, data_set); data_set 3461 lib/pacemaker/pcmk_sched_native.c data_set); data_set 3464 lib/pacemaker/pcmk_sched_native.c data_set); data_set 205 lib/pacemaker/pcmk_sched_notif.c notify_data_t * n_data, pe_working_set_t * data_set) data_set 236 lib/pacemaker/pcmk_sched_notif.c TRUE, data_set); data_set 250 lib/pacemaker/pcmk_sched_notif.c pe_post_notify(pe_resource_t * rsc, pe_node_t * node, notify_data_t * n_data, pe_working_set_t * data_set) data_set 260 lib/pacemaker/pcmk_sched_notif.c notify = pe_notify(rsc, node, n_data->post, n_data->post_done, n_data, data_set); data_set 289 lib/pacemaker/pcmk_sched_notif.c pe_action_t * end, pe_working_set_t * data_set) data_set 316 lib/pacemaker/pcmk_sched_notif.c TRUE, data_set); data_set 332 lib/pacemaker/pcmk_sched_notif.c TRUE, data_set); data_set 354 lib/pacemaker/pcmk_sched_notif.c TRUE, data_set); data_set 377 lib/pacemaker/pcmk_sched_notif.c TRUE, data_set); data_set 528 lib/pacemaker/pcmk_sched_notif.c pe_working_set_t *data_set) data_set 585 lib/pacemaker/pcmk_sched_notif.c if (pcmk_is_set(data_set->flags, pe_flag_stdout)) { data_set 598 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, &metal_list); data_set 601 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, NULL); data_set 643 lib/pacemaker/pcmk_sched_notif.c create_notifications(pe_resource_t * rsc, notify_data_t * n_data, pe_working_set_t * data_set) data_set 655 lib/pacemaker/pcmk_sched_notif.c create_notifications(child, n_data, data_set); data_set 734 lib/pacemaker/pcmk_sched_notif.c pe_notify(rsc, current_node, n_data->pre, n_data->pre_done, n_data, data_set); data_set 737 lib/pacemaker/pcmk_sched_notif.c pe_post_notify(rsc, current_node, n_data, data_set); data_set 767 lib/pacemaker/pcmk_sched_notif.c pe_notify(rsc, rsc->allocated_to, n_data->pre, n_data->pre_done, n_data, data_set); data_set 769 lib/pacemaker/pcmk_sched_notif.c pe_post_notify(rsc, rsc->allocated_to, n_data, data_set); data_set 796 lib/pacemaker/pcmk_sched_notif.c pe_working_set_t *data_set) data_set 802 lib/pacemaker/pcmk_sched_notif.c data_set); data_set 806 lib/pacemaker/pcmk_sched_notif.c create_notifications(uber_parent(rsc), n_data, data_set); data_set 18 lib/pacemaker/pcmk_sched_promotable.c extern gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); data_set 23 lib/pacemaker/pcmk_sched_promotable.c pe_working_set_t * data_set) data_set 29 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(last, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); data_set 35 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_PROMOTE, rsc, RSC_PROMOTED, type, data_set); data_set 38 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); data_set 49 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(last, RSC_PROMOTE, child, RSC_PROMOTE, type, data_set); data_set 59 lib/pacemaker/pcmk_sched_promotable.c pe_working_set_t * data_set) data_set 65 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTE, last, RSC_DEMOTE, pe_order_optional, data_set); data_set 71 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, pe_order_implies_then_printed, data_set); data_set 74 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTE, child, RSC_DEMOTE, pe_order_implies_first_printed, data_set); data_set 80 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, last, RSC_DEMOTE, type, data_set); data_set 85 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child, RSC_DEMOTE, rsc, RSC_DEMOTED, type, data_set); data_set 240 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instance(gconstpointer a, gconstpointer b, gpointer data_set) data_set 270 lib/pacemaker/pcmk_sched_promotable.c return sort_clone_instance(a, b, data_set); data_set 274 lib/pacemaker/pcmk_sched_promotable.c promotion_order(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 374 lib/pacemaker/pcmk_sched_promotable.c resource_location(rsc, NULL, -INFINITY, "__stateful_without_ticket__", data_set); data_set 404 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instance, data_set); data_set 663 lib/pacemaker/pcmk_sched_promotable.c pcmk__set_instance_roles(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 747 lib/pacemaker/pcmk_sched_promotable.c data_set); data_set 759 lib/pacemaker/pcmk_sched_promotable.c promotion_order(rsc, data_set); data_set 769 lib/pacemaker/pcmk_sched_promotable.c if (pcmk_is_set(data_set->flags, pe_flag_stdout)) { data_set 799 lib/pacemaker/pcmk_sched_promotable.c && !pcmk_is_set(data_set->flags, pe_flag_have_quorum) data_set 800 lib/pacemaker/pcmk_sched_promotable.c && data_set->no_quorum_policy == no_quorum_freeze) { data_set 821 lib/pacemaker/pcmk_sched_promotable.c create_promotable_actions(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 843 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->create_actions(child_rsc, data_set); data_set 853 lib/pacemaker/pcmk_sched_promotable.c action = create_pseudo_resource_op(rsc, RSC_PROMOTE, !any_promoting, TRUE, data_set); data_set 854 lib/pacemaker/pcmk_sched_promotable.c action_complete = create_pseudo_resource_op(rsc, RSC_PROMOTED, !any_promoting, TRUE, data_set); data_set 858 lib/pacemaker/pcmk_sched_promotable.c rsc, NULL, last_promote_rsc, data_set); data_set 862 lib/pacemaker/pcmk_sched_promotable.c create_notification_boundaries(rsc, RSC_PROMOTE, action, action_complete, data_set); data_set 866 lib/pacemaker/pcmk_sched_promotable.c action = create_pseudo_resource_op(rsc, RSC_DEMOTE, !any_demoting, TRUE, data_set); data_set 867 lib/pacemaker/pcmk_sched_promotable.c action_complete = create_pseudo_resource_op(rsc, RSC_DEMOTED, !any_demoting, TRUE, data_set); data_set 870 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); data_set 874 lib/pacemaker/pcmk_sched_promotable.c create_notification_boundaries(rsc, RSC_DEMOTE, action, action_complete, data_set); data_set 904 lib/pacemaker/pcmk_sched_promotable.c promote_demote_constraints(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 907 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_STOPPED, rsc, RSC_START, pe_order_optional, data_set); data_set 910 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_STOPPED, rsc, RSC_PROMOTE, pe_order_optional, data_set); data_set 913 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTED, rsc, RSC_START, pe_order_optional, data_set); data_set 916 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_STARTED, rsc, RSC_PROMOTE, pe_order_optional, data_set); data_set 919 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTED, rsc, RSC_STOP, pe_order_optional, data_set); data_set 922 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, pe_order_optional, data_set); data_set 925 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(rsc, RSC_DEMOTED, rsc, RSC_PROMOTE, pe_order_optional, data_set); data_set 930 lib/pacemaker/pcmk_sched_promotable.c promotable_constraints(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 938 lib/pacemaker/pcmk_sched_promotable.c promote_demote_constraints(rsc, data_set); data_set 944 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child_rsc, RSC_DEMOTE, child_rsc, RSC_PROMOTE, pe_order_optional, data_set); data_set 947 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); data_set 950 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); data_set 985 lib/pacemaker/pcmk_sched_promotable.c pe_working_set_t *data_set) data_set 1025 lib/pacemaker/pcmk_sched_promotable.c FALSE, data_set); data_set 404 lib/pacemaker/pcmk_sched_transition.c modify_configuration(pe_working_set_t * data_set, cib_t *cib, data_set 562 lib/pacemaker/pcmk_sched_transition.c rsc = pe_find_resource(data_set->resources, resource); data_set 808 lib/pacemaker/pcmk_sched_transition.c run_simulation(pe_working_set_t * data_set, cib_t *cib, GListPtr op_fail_list, bool quiet) data_set 827 lib/pacemaker/pcmk_sched_transition.c transition = unpack_graph(data_set->graph, crm_system_name); data_set 830 lib/pacemaker/pcmk_sched_transition.c fake_resource_list = data_set->resources; data_set 851 lib/pacemaker/pcmk_sched_transition.c pe_reset_working_set(data_set); data_set 852 lib/pacemaker/pcmk_sched_transition.c data_set->input = cib_object; data_set 331 lib/pacemaker/pcmk_sched_utilization.c process_utilization(pe_resource_t * rsc, pe_node_t ** prefer, pe_working_set_t * data_set) data_set 333 lib/pacemaker/pcmk_sched_utilization.c CRM_CHECK(rsc && prefer && data_set, return); data_set 334 lib/pacemaker/pcmk_sched_utilization.c if (!pcmk__str_eq(data_set->placement_strategy, "default", pcmk__str_casei)) { data_set 378 lib/pacemaker/pcmk_sched_utilization.c resource_location(rsc, node, -INFINITY, "__limit_utilization__", data_set); data_set 406 lib/pacemaker/pcmk_sched_utilization.c resource_location(rsc, node, -INFINITY, "__limit_utilization__", data_set); data_set 19 lib/pacemaker/pcmk_sched_utils.c pe_node_t *foo_node, pe_working_set_t *data_set) data_set 57 lib/pacemaker/pcmk_sched_utils.c data_set->placement_constraints = g_list_prepend(data_set->placement_constraints, new_con); data_set 145 lib/pacemaker/pcmk_sched_utils.c pe_working_set_t *data_set; data_set 196 lib/pacemaker/pcmk_sched_utils.c if (pcmk__str_eq(nw->data_set->placement_strategy, "minimal", pcmk__str_casei)) { data_set 200 lib/pacemaker/pcmk_sched_utils.c if (pcmk__str_eq(nw->data_set->placement_strategy, "balanced", pcmk__str_casei)) { data_set 245 lib/pacemaker/pcmk_sched_utils.c pe_working_set_t *data_set) data_set 247 lib/pacemaker/pcmk_sched_utils.c struct node_weight_s nw = { active_node, data_set }; data_set 471 lib/pacemaker/pcmk_sched_utils.c create_pseudo_resource_op(pe_resource_t * rsc, const char *task, bool optional, bool runnable, pe_working_set_t *data_set) data_set 474 lib/pacemaker/pcmk_sched_utils.c task, NULL, optional, TRUE, data_set); data_set 497 lib/pacemaker/pcmk_sched_utils.c pe_node_t *node, pe_working_set_t *data_set) data_set 506 lib/pacemaker/pcmk_sched_utils.c data_set); data_set 531 lib/pacemaker/pcmk_sched_utils.c sched_shutdown_op(pe_node_t *node, pe_working_set_t *data_set) data_set 537 lib/pacemaker/pcmk_sched_utils.c node, FALSE, TRUE, data_set); data_set 540 lib/pacemaker/pcmk_sched_utils.c shutdown_constraints(node, shutdown_op, data_set); data_set 127 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) data_set 161 lib/pengine/bundle.c if (!common_unpack(xml_ip, &replica->ip, parent, data_set)) { data_set 173 lib/pengine/bundle.c pe_working_set_t *data_set) data_set 329 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { data_set 339 lib/pengine/bundle.c pe_working_set_t *data_set) data_set 498 lib/pengine/bundle.c data_set)) { data_set 507 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) data_set 669 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { data_set 703 lib/pengine/bundle.c pe_working_set_t *data_set) data_set 715 lib/pengine/bundle.c if (pe_find_resource(data_set->resources, id) != NULL) { data_set 721 lib/pengine/bundle.c CRM_ASSERT(pe_find_resource(data_set->resources, id) == NULL); data_set 757 lib/pengine/bundle.c node = pe_find_node(data_set->nodes, uname); data_set 760 lib/pengine/bundle.c data_set); data_set 783 lib/pengine/bundle.c for (rsc_iter = data_set->resources; rsc_iter; rsc_iter = rsc_iter->next) { data_set 808 lib/pengine/bundle.c if (!common_unpack(xml_remote, &replica->remote, parent, data_set)) { data_set 847 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) data_set 852 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { data_set 858 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { data_set 864 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { data_set 872 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { data_set 875 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { data_set 1032 lib/pengine/bundle.c pe__unpack_bundle(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 1232 lib/pengine/bundle.c if (common_unpack(xml_resource, &new_rsc, rsc, data_set) == FALSE) { data_set 1340 lib/pengine/bundle.c if (!create_container(rsc, bundle_data, replica, data_set)) { data_set 24 lib/pengine/clone.c pe_working_set_t *data_set) data_set 37 lib/pengine/clone.c g_list_length(data_set->nodes)); data_set 42 lib/pengine/clone.c find_clone_instance(pe_resource_t * rsc, const char *sub_id, pe_working_set_t * data_set) data_set 60 lib/pengine/clone.c pe__create_clone_child(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 86 lib/pengine/clone.c if (common_unpack(child_copy, &child_rsc, rsc, data_set) == FALSE) { data_set 112 lib/pengine/clone.c clone_unpack(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 160 lib/pengine/clone.c } else if (pcmk__list_of_multiple(data_set->nodes)) { data_set 161 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); data_set 219 lib/pengine/clone.c if (pe__create_clone_child(rsc, data_set) == NULL) { data_set 226 lib/pengine/clone.c if (pe__create_clone_child(rsc, data_set) == NULL) { data_set 1171 lib/pengine/clone.c pe_working_set_t *data_set) data_set 1177 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { data_set 101 lib/pengine/complex.c pe_node_t * node, pe_working_set_t * data_set) data_set 112 lib/pengine/complex.c .now = data_set->now, data_set 134 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set); data_set 142 lib/pengine/complex.c pe__unpack_dataset_nvpairs(data_set->rsc_defaults, XML_TAG_META_SETS, data_set 143 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); data_set 148 lib/pengine/complex.c pe_node_t * node, pe_working_set_t * data_set) data_set 153 lib/pengine/complex.c .now = data_set->now, data_set 164 lib/pengine/complex.c meta_hash, NULL, FALSE, data_set); data_set 168 lib/pengine/complex.c get_rsc_attributes(meta_hash, rsc->parent, node, data_set); data_set 172 lib/pengine/complex.c pe__unpack_dataset_nvpairs(data_set->rsc_defaults, XML_TAG_ATTR_SETS, data_set 173 lib/pengine/complex.c &rule_data, meta_hash, NULL, FALSE, data_set); data_set 180 lib/pengine/complex.c pe_node_t * node, pe_working_set_t * data_set) data_set 185 lib/pengine/complex.c .now = data_set->now, data_set 191 lib/pengine/complex.c pe_eval_versioned_attributes(data_set->input, rsc->xml, XML_TAG_ATTR_SETS, data_set 196 lib/pengine/complex.c pe_get_versioned_attributes(meta_hash, rsc->parent, node, data_set); data_set 200 lib/pengine/complex.c pe_eval_versioned_attributes(data_set->input, data_set->rsc_defaults, data_set 224 lib/pengine/complex.c unpack_template(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) data_set 257 lib/pengine/complex.c cib_resources = get_xpath_object("//"XML_CIB_TAG_RESOURCES, data_set->input, LOG_TRACE); data_set 340 lib/pengine/complex.c add_template_rsc(xmlNode * xml_obj, pe_working_set_t * data_set) data_set 366 lib/pengine/complex.c if (add_tag_ref(data_set->template_rsc_sets, template_ref, id) == FALSE) { data_set 397 lib/pengine/complex.c pe_resource_t * parent, pe_working_set_t * data_set) data_set 412 lib/pengine/complex.c .now = data_set->now, data_set 430 lib/pengine/complex.c if (unpack_template(xml_obj, &expanded_xml, data_set) == FALSE) { data_set 435 lib/pengine/complex.c (*rsc)->cluster = data_set; data_set 452 lib/pengine/complex.c (*rsc)->ops_xml = expand_idref(ops, data_set->input); data_set 487 lib/pengine/complex.c get_meta_attributes((*rsc)->meta, *rsc, NULL, data_set); data_set 488 lib/pengine/complex.c get_rsc_attributes((*rsc)->parameters, *rsc, NULL, data_set); data_set 490 lib/pengine/complex.c pe_get_versioned_attributes((*rsc)->versioned_parameters, *rsc, NULL, data_set); data_set 496 lib/pengine/complex.c if (!pcmk_is_set(data_set->flags, pe_flag_maintenance_mode)) { data_set 561 lib/pengine/complex.c if (pcmk_is_set(data_set->flags, pe_flag_maintenance_mode)) { data_set 627 lib/pengine/complex.c pe__set_working_set_flags(data_set, pe_flag_have_stonith_resource); data_set 648 lib/pengine/complex.c } else if (!pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 663 lib/pengine/complex.c if (!pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 682 lib/pengine/complex.c } else if (pcmk_is_set(data_set->flags, pe_flag_enable_unfencing)) { data_set 685 lib/pengine/complex.c } else if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 688 lib/pengine/complex.c } else if (data_set->no_quorum_policy == no_quorum_ignore) { data_set 727 lib/pengine/complex.c if ((*rsc)->fns->unpack(*rsc, data_set) == FALSE) { data_set 731 lib/pengine/complex.c if (pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster)) { data_set 733 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "symmetric_default", data_set); data_set 738 lib/pengine/complex.c resource_location(*rsc, NULL, 0, "remote_connection_default", data_set); data_set 747 lib/pengine/complex.c (*rsc)->utilization, NULL, FALSE, data_set); data_set 752 lib/pengine/complex.c if (add_template_rsc(xml_obj, data_set) == FALSE) { data_set 81 lib/pengine/failcounts.c pe_working_set_t *data_set) data_set 133 lib/pengine/failcounts.c lrm_op_xpathObj = xpath_search(data_set->input, lrm_op_xpath); data_set 234 lib/pengine/failcounts.c generate_fail_regexes(pe_resource_t *rsc, pe_working_set_t *data_set, data_set 238 lib/pengine/failcounts.c const char *version = crm_element_value(data_set->input, XML_ATTR_CRM_VERSION); data_set 252 lib/pengine/failcounts.c uint32_t flags, xmlNode *xml_op, pe_working_set_t *data_set) data_set 261 lib/pengine/failcounts.c generate_fail_regexes(rsc, data_set, &failcount_re, &lastfailure_re); data_set 282 lib/pengine/failcounts.c && block_failure(node, rsc, xml_op, data_set)) { data_set 293 lib/pengine/failcounts.c time_t now = get_effective_time(data_set); data_set 322 lib/pengine/failcounts.c flags, xml_op, data_set); data_set 361 lib/pengine/failcounts.c const char *reason, pe_working_set_t *data_set) data_set 366 lib/pengine/failcounts.c CRM_CHECK(rsc && node && reason && data_set, return NULL); data_set 370 lib/pengine/failcounts.c data_set); data_set 23 lib/pengine/group.c group_unpack(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 60 lib/pengine/group.c if (common_unpack(xml_native_rsc, &new_rsc, rsc, data_set) == FALSE) { data_set 83 lib/pengine/native.c native_add_running(pe_resource_t * rsc, pe_node_t * node, pe_working_set_t * data_set) data_set 115 lib/pengine/native.c resource_location(rsc, node, INFINITY, "not_managed_default", data_set); data_set 136 lib/pengine/native.c rsc->allowed_nodes = pe__node_list2table(data_set->nodes); data_set 175 lib/pengine/native.c native_add_running(rsc->parent, node, data_set); data_set 191 lib/pengine/native.c native_unpack(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 212 lib/pengine/native.c pe__force_anon(standard, parent, rsc->id, data_set); data_set 317 lib/pengine/native.c pe_working_set_t * data_set) data_set 338 lib/pengine/native.c get_rsc_attributes(local_hash, rsc, node, data_set); data_set 61 lib/pengine/pe_output.c get_cluster_stack(pe_working_set_t *data_set) data_set 64 lib/pengine/pe_output.c data_set->input, LOG_DEBUG); data_set 211 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 220 lib/pengine/pe_output.c const char *stack_s = get_cluster_stack(data_set); data_set 228 lib/pengine/pe_output.c if (data_set->dc_node == NULL || show_dc) { data_set 230 lib/pengine/pe_output.c data_set->input, LOG_DEBUG); data_set 234 lib/pengine/pe_output.c const char *quorum = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); data_set 235 lib/pengine/pe_output.c char *dc_name = data_set->dc_node ? pe__node_display_name(data_set->dc_node, print_clone_detail) : NULL; data_set 238 lib/pengine/pe_output.c out->message(out, "cluster-dc", data_set->dc_node, quorum, dc_version_s, dc_name); data_set 243 lib/pengine/pe_output.c const char *last_written = crm_element_value(data_set->input, XML_CIB_ATTR_WRITTEN); data_set 244 lib/pengine/pe_output.c const char *user = crm_element_value(data_set->input, XML_ATTR_UPDATE_USER); data_set 245 lib/pengine/pe_output.c const char *client = crm_element_value(data_set->input, XML_ATTR_UPDATE_CLIENT); data_set 246 lib/pengine/pe_output.c const char *origin = crm_element_value(data_set->input, XML_ATTR_UPDATE_ORIG); data_set 254 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), data_set 255 lib/pengine/pe_output.c data_set->ninstances, data_set->disabled_resources, data_set 256 lib/pengine/pe_output.c data_set->blocked_resources); data_set 261 lib/pengine/pe_output.c out->message(out, "cluster-options", data_set); data_set 266 lib/pengine/pe_output.c if (out->message(out, "maint-mode", data_set->flags) == pcmk_rc_ok) { data_set 277 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 286 lib/pengine/pe_output.c const char *stack_s = get_cluster_stack(data_set); data_set 294 lib/pengine/pe_output.c if (data_set->dc_node == NULL || show_dc) { data_set 296 lib/pengine/pe_output.c data_set->input, LOG_DEBUG); data_set 300 lib/pengine/pe_output.c const char *quorum = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); data_set 301 lib/pengine/pe_output.c char *dc_name = data_set->dc_node ? pe__node_display_name(data_set->dc_node, print_clone_detail) : NULL; data_set 304 lib/pengine/pe_output.c out->message(out, "cluster-dc", data_set->dc_node, quorum, dc_version_s, dc_name); data_set 309 lib/pengine/pe_output.c const char *last_written = crm_element_value(data_set->input, XML_CIB_ATTR_WRITTEN); data_set 310 lib/pengine/pe_output.c const char *user = crm_element_value(data_set->input, XML_ATTR_UPDATE_USER); data_set 311 lib/pengine/pe_output.c const char *client = crm_element_value(data_set->input, XML_ATTR_UPDATE_CLIENT); data_set 312 lib/pengine/pe_output.c const char *origin = crm_element_value(data_set->input, XML_ATTR_UPDATE_ORIG); data_set 320 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), data_set 321 lib/pengine/pe_output.c data_set->ninstances, data_set->disabled_resources, data_set 322 lib/pengine/pe_output.c data_set->blocked_resources); data_set 333 lib/pengine/pe_output.c out->message(out, "cluster-options", data_set); data_set 338 lib/pengine/pe_output.c if (out->message(out, "maint-mode", data_set->flags) == pcmk_rc_ok) { data_set 712 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 715 lib/pengine/pe_output.c pcmk_is_set(data_set->flags, pe_flag_stonith_enabled) ? "enabled" : "disabled"); data_set 718 lib/pengine/pe_output.c pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster) ? "symmetric" : "asymmetric"); data_set 720 lib/pengine/pe_output.c switch (data_set->no_quorum_policy) { data_set 743 lib/pengine/pe_output.c if (pcmk_is_set(data_set->flags, pe_flag_maintenance_mode)) { data_set 750 lib/pengine/pe_output.c } else if (pcmk_is_set(data_set->flags, pe_flag_stop_everything)) { data_set 767 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 769 lib/pengine/pe_output.c if (pcmk_is_set(data_set->flags, pe_flag_maintenance_mode)) { data_set 772 lib/pengine/pe_output.c } else if (pcmk_is_set(data_set->flags, pe_flag_stop_everything)) { data_set 783 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 786 lib/pengine/pe_output.c pcmk_is_set(data_set->flags, pe_flag_stonith_enabled) ? "enabled" : "disabled"); data_set 789 lib/pengine/pe_output.c pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster) ? "symmetric" : "asymmetric"); data_set 791 lib/pengine/pe_output.c switch (data_set->no_quorum_policy) { data_set 821 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 824 lib/pengine/pe_output.c (pcmkXmlStr) pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_stonith_enabled))); data_set 826 lib/pengine/pe_output.c (pcmkXmlStr) pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster))); data_set 828 lib/pengine/pe_output.c switch (data_set->no_quorum_policy) { data_set 851 lib/pengine/pe_output.c (pcmkXmlStr) pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_maintenance_mode))); data_set 853 lib/pengine/pe_output.c (pcmkXmlStr) pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_stop_everything))); data_set 1657 lib/pengine/pe_output.c pe_working_set_t *data_set = va_arg(args, pe_working_set_t *); data_set 1691 lib/pengine/pe_output.c GListPtr rscs = pe__filter_rsc_list(data_set->resources, only_rsc); data_set 1698 lib/pengine/pe_output.c for (rsc_iter = data_set->resources; rsc_iter != NULL; rsc_iter = rsc_iter->next) { data_set 44 lib/pengine/pe_status_private.h pe_working_set_t *data_set); data_set 48 lib/pengine/pe_status_private.h pe_working_set_t *data_set); data_set 51 lib/pengine/pe_status_private.h gboolean unpack_remote_nodes(xmlNode *xml_resources, pe_working_set_t *data_set); data_set 54 lib/pengine/pe_status_private.h gboolean unpack_resources(xmlNode *xml_resources, pe_working_set_t *data_set); data_set 57 lib/pengine/pe_status_private.h gboolean unpack_config(xmlNode *config, pe_working_set_t *data_set); data_set 60 lib/pengine/pe_status_private.h gboolean unpack_nodes(xmlNode *xml_nodes, pe_working_set_t *data_set); data_set 63 lib/pengine/pe_status_private.h gboolean unpack_tags(xmlNode *xml_tags, pe_working_set_t *data_set); data_set 66 lib/pengine/pe_status_private.h gboolean unpack_status(xmlNode *status, pe_working_set_t *data_set); data_set 18 lib/pengine/remote.c const pe_working_set_t *data_set) data_set 21 lib/pengine/remote.c && pe__is_remote_node(pe_find_node(data_set->nodes, rsc->id)); data_set 66 lib/pengine/remote.c pe__resource_contains_guest_node(const pe_working_set_t *data_set, data_set 69 lib/pengine/remote.c if ((rsc != NULL) && (data_set != NULL) data_set 70 lib/pengine/remote.c && pcmk_is_set(data_set->flags, pe_flag_have_remote_nodes)) { data_set 120 lib/pengine/remote.c pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, data_set 125 lib/pengine/remote.c CRM_CHECK(data_set && host && host->details && helper, return); data_set 126 lib/pengine/remote.c if (!pcmk_is_set(data_set->flags, pe_flag_have_remote_nodes)) { data_set 133 lib/pengine/remote.c pe_node_t *guest_node = pe_find_node(data_set->nodes, rsc->id); data_set 221 lib/pengine/remote.c enum pe_check_parameters flag, pe_working_set_t *data_set) data_set 225 lib/pengine/remote.c CRM_CHECK(data_set && rsc_op && rsc && node, return); data_set 235 lib/pengine/remote.c data_set->param_check = g_list_prepend(data_set->param_check, check_op); data_set 246 lib/pengine/remote.c pe__foreach_param_check(pe_working_set_t *data_set, data_set 250 lib/pengine/remote.c CRM_CHECK(data_set && cb, return); data_set 252 lib/pengine/remote.c for (GList *item = data_set->param_check; item != NULL; item = item->next) { data_set 256 lib/pengine/remote.c check_op->check_type, data_set); data_set 261 lib/pengine/remote.c pe__free_param_checks(pe_working_set_t *data_set) data_set 263 lib/pengine/remote.c if (data_set && data_set->param_check) { data_set 264 lib/pengine/remote.c g_list_free_full(data_set->param_check, free); data_set 265 lib/pengine/remote.c data_set->param_check = NULL; data_set 36 lib/pengine/status.c pe_working_set_t *data_set = calloc(1, sizeof(pe_working_set_t)); data_set 38 lib/pengine/status.c if (data_set != NULL) { data_set 39 lib/pengine/status.c set_working_set_defaults(data_set); data_set 41 lib/pengine/status.c return data_set; data_set 50 lib/pengine/status.c pe_free_working_set(pe_working_set_t *data_set) data_set 52 lib/pengine/status.c if (data_set != NULL) { data_set 53 lib/pengine/status.c pe_reset_working_set(data_set); data_set 54 lib/pengine/status.c free(data_set); data_set 70 lib/pengine/status.c cluster_status(pe_working_set_t * data_set) data_set 72 lib/pengine/status.c xmlNode *config = get_xpath_object("//"XML_CIB_TAG_CRMCONFIG, data_set->input, LOG_TRACE); data_set 73 lib/pengine/status.c xmlNode *cib_nodes = get_xpath_object("//"XML_CIB_TAG_NODES, data_set->input, LOG_TRACE); data_set 74 lib/pengine/status.c xmlNode *cib_resources = get_xpath_object("//"XML_CIB_TAG_RESOURCES, data_set->input, LOG_TRACE); data_set 75 lib/pengine/status.c xmlNode *cib_status = get_xpath_object("//"XML_CIB_TAG_STATUS, data_set->input, LOG_TRACE); data_set 76 lib/pengine/status.c xmlNode *cib_tags = get_xpath_object("//" XML_CIB_TAG_TAGS, data_set->input, data_set 78 lib/pengine/status.c const char *value = crm_element_value(data_set->input, XML_ATTR_HAVE_QUORUM); data_set 83 lib/pengine/status.c data_set->failed = create_xml_node(NULL, "failed-ops"); data_set 85 lib/pengine/status.c if (data_set->input == NULL) { data_set 89 lib/pengine/status.c if (data_set->now == NULL) { data_set 90 lib/pengine/status.c data_set->now = crm_time_new(NULL); data_set 93 lib/pengine/status.c if (data_set->dc_uuid == NULL) { data_set 94 lib/pengine/status.c data_set->dc_uuid = crm_element_value_copy(data_set->input, data_set 99 lib/pengine/status.c pe__set_working_set_flags(data_set, pe_flag_have_quorum); data_set 101 lib/pengine/status.c pe__clear_working_set_flags(data_set, pe_flag_have_quorum); data_set 104 lib/pengine/status.c data_set->op_defaults = get_xpath_object("//" XML_CIB_TAG_OPCONFIG, data_set 105 lib/pengine/status.c data_set->input, LOG_NEVER); data_set 106 lib/pengine/status.c data_set->rsc_defaults = get_xpath_object("//" XML_CIB_TAG_RSCCONFIG, data_set 107 lib/pengine/status.c data_set->input, LOG_NEVER); data_set 109 lib/pengine/status.c unpack_config(config, data_set); data_set 111 lib/pengine/status.c if (!pcmk_any_flags_set(data_set->flags, data_set 113 lib/pengine/status.c && (data_set->no_quorum_policy != no_quorum_ignore)) { data_set 117 lib/pengine/status.c unpack_nodes(cib_nodes, data_set); data_set 119 lib/pengine/status.c if (!pcmk_is_set(data_set->flags, pe_flag_quick_location)) { data_set 120 lib/pengine/status.c unpack_remote_nodes(cib_resources, data_set); data_set 123 lib/pengine/status.c unpack_resources(cib_resources, data_set); data_set 124 lib/pengine/status.c unpack_tags(cib_tags, data_set); data_set 126 lib/pengine/status.c if (!pcmk_is_set(data_set->flags, pe_flag_quick_location)) { data_set 127 lib/pengine/status.c unpack_status(cib_status, data_set); data_set 130 lib/pengine/status.c if (!pcmk_is_set(data_set->flags, pe_flag_no_counts)) { data_set 131 lib/pengine/status.c for (GList *item = data_set->resources; item != NULL; data_set 137 lib/pengine/status.c pe__set_working_set_flags(data_set, pe_flag_have_status); data_set 269 lib/pengine/status.c cleanup_calculations(pe_working_set_t * data_set) data_set 271 lib/pengine/status.c if (data_set == NULL) { data_set 275 lib/pengine/status.c pe__clear_working_set_flags(data_set, pe_flag_have_status); data_set 276 lib/pengine/status.c if (data_set->config_hash != NULL) { data_set 277 lib/pengine/status.c g_hash_table_destroy(data_set->config_hash); data_set 280 lib/pengine/status.c if (data_set->singletons != NULL) { data_set 281 lib/pengine/status.c g_hash_table_destroy(data_set->singletons); data_set 284 lib/pengine/status.c if (data_set->tickets) { data_set 285 lib/pengine/status.c g_hash_table_destroy(data_set->tickets); data_set 288 lib/pengine/status.c if (data_set->template_rsc_sets) { data_set 289 lib/pengine/status.c g_hash_table_destroy(data_set->template_rsc_sets); data_set 292 lib/pengine/status.c if (data_set->tags) { data_set 293 lib/pengine/status.c g_hash_table_destroy(data_set->tags); data_set 296 lib/pengine/status.c free(data_set->dc_uuid); data_set 299 lib/pengine/status.c pe_free_resources(data_set->resources); data_set 302 lib/pengine/status.c pe_free_actions(data_set->actions); data_set 305 lib/pengine/status.c pe_free_nodes(data_set->nodes); data_set 307 lib/pengine/status.c pe__free_param_checks(data_set); data_set 308 lib/pengine/status.c g_list_free(data_set->stop_needed); data_set 309 lib/pengine/status.c free_xml(data_set->graph); data_set 310 lib/pengine/status.c crm_time_free(data_set->now); data_set 311 lib/pengine/status.c free_xml(data_set->input); data_set 312 lib/pengine/status.c free_xml(data_set->failed); data_set 314 lib/pengine/status.c set_working_set_defaults(data_set); data_set 316 lib/pengine/status.c CRM_CHECK(data_set->ordering_constraints == NULL,; data_set 318 lib/pengine/status.c CRM_CHECK(data_set->placement_constraints == NULL,; data_set 328 lib/pengine/status.c pe_reset_working_set(pe_working_set_t *data_set) data_set 330 lib/pengine/status.c if (data_set == NULL) { data_set 335 lib/pengine/status.c g_list_length(data_set->ordering_constraints)); data_set 336 lib/pengine/status.c pe__free_ordering(data_set->ordering_constraints); data_set 337 lib/pengine/status.c data_set->ordering_constraints = NULL; data_set 340 lib/pengine/status.c g_list_length(data_set->placement_constraints)); data_set 341 lib/pengine/status.c pe__free_location(data_set->placement_constraints); data_set 342 lib/pengine/status.c data_set->placement_constraints = NULL; data_set 345 lib/pengine/status.c g_list_length(data_set->colocation_constraints)); data_set 346 lib/pengine/status.c g_list_free_full(data_set->colocation_constraints, free); data_set 347 lib/pengine/status.c data_set->colocation_constraints = NULL; data_set 350 lib/pengine/status.c g_list_length(data_set->ticket_constraints)); data_set 351 lib/pengine/status.c g_list_free_full(data_set->ticket_constraints, free); data_set 352 lib/pengine/status.c data_set->ticket_constraints = NULL; data_set 354 lib/pengine/status.c cleanup_calculations(data_set); data_set 358 lib/pengine/status.c set_working_set_defaults(pe_working_set_t * data_set) data_set 360 lib/pengine/status.c memset(data_set, 0, sizeof(pe_working_set_t)); data_set 362 lib/pengine/status.c data_set->order_id = 1; data_set 363 lib/pengine/status.c data_set->action_id = 1; data_set 364 lib/pengine/status.c data_set->no_quorum_policy = no_quorum_stop; data_set 366 lib/pengine/status.c data_set->flags = 0x0ULL; data_set 369 lib/pengine/status.c pe__set_working_set_flags(data_set, data_set 375 lib/pengine/status.c pe__set_working_set_flags(data_set, data_set 18 lib/pengine/tags.c pe__rscs_with_tag(pe_working_set_t *data_set, const char *tag_name) data_set 23 lib/pengine/tags.c if (data_set->tags == NULL) { data_set 27 lib/pengine/tags.c value = g_hash_table_lookup(data_set->tags, tag_name); data_set 35 lib/pengine/tags.c pe_resource_t *rsc = pe_find_resource_with_flags(data_set->resources, id, data_set 49 lib/pengine/tags.c pe__unames_with_tag(pe_working_set_t *data_set, const char *tag_name) data_set 54 lib/pengine/tags.c if (data_set->tags == NULL) { data_set 58 lib/pengine/tags.c value = g_hash_table_lookup(data_set->tags, tag_name); data_set 68 lib/pengine/tags.c pe_node_t *node = pe_find_node_id(data_set->nodes, id); data_set 82 lib/pengine/tags.c pe__rsc_has_tag(pe_working_set_t *data_set, const char *rsc_name, const char *tag_name) data_set 84 lib/pengine/tags.c GListPtr rscs = pe__rscs_with_tag(data_set, tag_name); data_set 97 lib/pengine/tags.c pe__uname_has_tag(pe_working_set_t *data_set, const char *node_name, const char *tag_name) data_set 99 lib/pengine/tags.c GListPtr unames = pe__unames_with_tag(data_set, tag_name); data_set 35 lib/pengine/unpack.c #define set_config_flag(data_set, option, flag) do { \ data_set 36 lib/pengine/unpack.c const char *scf_value = pe_pref((data_set)->config_hash, (option)); \ data_set 39 lib/pengine/unpack.c (data_set)->flags = pcmk__set_flags_as(__func__, __LINE__, \ data_set 41 lib/pengine/unpack.c crm_system_name, (data_set)->flags, \ data_set 44 lib/pengine/unpack.c (data_set)->flags = pcmk__clear_flags_as(__func__, __LINE__,\ data_set 46 lib/pengine/unpack.c crm_system_name, (data_set)->flags, \ data_set 55 lib/pengine/unpack.c pe_working_set_t *data_set); data_set 56 lib/pengine/unpack.c static void determine_remote_online_status(pe_working_set_t *data_set, data_set 59 lib/pengine/unpack.c pe_working_set_t *data_set); data_set 61 lib/pengine/unpack.c pe_working_set_t *data_set); data_set 64 lib/pengine/unpack.c pe_working_set_t *data_set); data_set 97 lib/pengine/unpack.c pe_fence_node(pe_working_set_t * data_set, pe_node_t * node, data_set 145 lib/pengine/unpack.c pe_can_fence(data_set, node)? "will be fenced" : "is unclean", data_set 150 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, FALSE, data_set); data_set 155 lib/pengine/unpack.c pe_can_fence(data_set, node)? "would also be fenced" : "also is unclean", data_set 161 lib/pengine/unpack.c pe_can_fence(data_set, node)? "will be fenced" : "is unclean", data_set 164 lib/pengine/unpack.c pe_fence_op(node, NULL, TRUE, reason, priority_delay, data_set); data_set 184 lib/pengine/unpack.c set_if_xpath(uint64_t flag, const char *xpath, pe_working_set_t *data_set) data_set 188 lib/pengine/unpack.c if (!pcmk_is_set(data_set->flags, flag)) { data_set 189 lib/pengine/unpack.c result = xpath_search(data_set->input, xpath); data_set 191 lib/pengine/unpack.c pe__set_working_set_flags(data_set, flag); data_set 198 lib/pengine/unpack.c unpack_config(xmlNode * config, pe_working_set_t * data_set) data_set 206 lib/pengine/unpack.c .now = data_set->now, data_set 212 lib/pengine/unpack.c data_set->config_hash = config_hash; data_set 215 lib/pengine/unpack.c CIB_OPTIONS_FIRST, FALSE, data_set); data_set 217 lib/pengine/unpack.c verify_pe_options(data_set->config_hash); data_set 219 lib/pengine/unpack.c set_config_flag(data_set, "enable-startup-probes", pe_flag_startup_probes); data_set 220 lib/pengine/unpack.c if (!pcmk_is_set(data_set->flags, pe_flag_startup_probes)) { data_set 224 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, XML_ATTR_HAVE_WATCHDOG); data_set 228 lib/pengine/unpack.c pe__set_working_set_flags(data_set, pe_flag_have_stonith_resource); data_set 234 lib/pengine/unpack.c set_if_xpath(pe_flag_enable_unfencing, XPATH_ENABLE_UNFENCING, data_set); data_set 236 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "stonith-timeout"); data_set 237 lib/pengine/unpack.c data_set->stonith_timeout = (int) crm_parse_interval_spec(value); data_set 238 lib/pengine/unpack.c crm_debug("STONITH timeout: %d", data_set->stonith_timeout); data_set 240 lib/pengine/unpack.c set_config_flag(data_set, "stonith-enabled", pe_flag_stonith_enabled); data_set 242 lib/pengine/unpack.c pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)? "enabled" : "disabled"); data_set 244 lib/pengine/unpack.c data_set->stonith_action = pe_pref(data_set->config_hash, "stonith-action"); data_set 245 lib/pengine/unpack.c if (!strcmp(data_set->stonith_action, "poweroff")) { data_set 249 lib/pengine/unpack.c data_set->stonith_action = "off"; data_set 251 lib/pengine/unpack.c crm_trace("STONITH will %s nodes", data_set->stonith_action); data_set 253 lib/pengine/unpack.c set_config_flag(data_set, "concurrent-fencing", pe_flag_concurrent_fencing); data_set 255 lib/pengine/unpack.c pcmk_is_set(data_set->flags, pe_flag_concurrent_fencing)? "enabled" : "disabled"); data_set 257 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, data_set 260 lib/pengine/unpack.c data_set->priority_fencing_delay = crm_parse_interval_spec(value) / 1000; data_set 261 lib/pengine/unpack.c crm_trace("Priority fencing delay is %ds", data_set->priority_fencing_delay); data_set 264 lib/pengine/unpack.c set_config_flag(data_set, "stop-all-resources", pe_flag_stop_everything); data_set 266 lib/pengine/unpack.c pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_stop_everything))); data_set 268 lib/pengine/unpack.c set_config_flag(data_set, "symmetric-cluster", pe_flag_symmetric_cluster); data_set 269 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster)) { data_set 273 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, "no-quorum-policy"); data_set 276 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_ignore; data_set 279 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_freeze; data_set 282 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_demote; data_set 285 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 288 lib/pengine/unpack.c crm_element_value_int(data_set->input, XML_ATTR_QUORUM_PANIC, data_set 290 lib/pengine/unpack.c if (do_panic || pcmk_is_set(data_set->flags, pe_flag_have_quorum)) { data_set 291 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_suicide; data_set 294 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_stop; data_set 299 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_stop; data_set 303 lib/pengine/unpack.c data_set->no_quorum_policy = no_quorum_stop; data_set 306 lib/pengine/unpack.c switch (data_set->no_quorum_policy) { data_set 325 lib/pengine/unpack.c set_config_flag(data_set, "stop-orphan-resources", pe_flag_stop_rsc_orphans); data_set 327 lib/pengine/unpack.c pcmk_is_set(data_set->flags, pe_flag_stop_rsc_orphans)? "stopped" : "ignored"); data_set 329 lib/pengine/unpack.c set_config_flag(data_set, "stop-orphan-actions", pe_flag_stop_action_orphans); data_set 331 lib/pengine/unpack.c pcmk_is_set(data_set->flags, pe_flag_stop_action_orphans)? "stopped" : "ignored"); data_set 333 lib/pengine/unpack.c set_config_flag(data_set, "remove-after-stop", pe_flag_remove_after_stop); data_set 335 lib/pengine/unpack.c pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_remove_after_stop))); data_set 337 lib/pengine/unpack.c set_config_flag(data_set, "maintenance-mode", pe_flag_maintenance_mode); data_set 339 lib/pengine/unpack.c pcmk__btoa(pcmk_is_set(data_set->flags, pe_flag_maintenance_mode))); data_set 341 lib/pengine/unpack.c set_config_flag(data_set, "start-failure-is-fatal", pe_flag_start_failure_fatal); data_set 343 lib/pengine/unpack.c pcmk_is_set(data_set->flags, pe_flag_start_failure_fatal)? "always fatal" : "handled by failcount"); data_set 345 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 346 lib/pengine/unpack.c set_config_flag(data_set, "startup-fencing", pe_flag_startup_fencing); data_set 348 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_startup_fencing)) { data_set 354 lib/pengine/unpack.c pcmk__score_red = char2score(pe_pref(data_set->config_hash, "node-health-red")); data_set 355 lib/pengine/unpack.c pcmk__score_green = char2score(pe_pref(data_set->config_hash, "node-health-green")); data_set 356 lib/pengine/unpack.c pcmk__score_yellow = char2score(pe_pref(data_set->config_hash, "node-health-yellow")); data_set 359 lib/pengine/unpack.c pe_pref(data_set->config_hash, "node-health-red"), data_set 360 lib/pengine/unpack.c pe_pref(data_set->config_hash, "node-health-yellow"), data_set 361 lib/pengine/unpack.c pe_pref(data_set->config_hash, "node-health-green")); data_set 363 lib/pengine/unpack.c data_set->placement_strategy = pe_pref(data_set->config_hash, "placement-strategy"); data_set 364 lib/pengine/unpack.c crm_trace("Placement strategy: %s", data_set->placement_strategy); data_set 366 lib/pengine/unpack.c set_config_flag(data_set, "shutdown-lock", pe_flag_shutdown_lock); data_set 368 lib/pengine/unpack.c (pcmk_is_set(data_set->flags, pe_flag_shutdown_lock)? "" : " not")); data_set 369 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_shutdown_lock)) { data_set 370 lib/pengine/unpack.c value = pe_pref(data_set->config_hash, data_set 372 lib/pengine/unpack.c data_set->shutdown_lock = crm_parse_interval_spec(value) / 1000; data_set 373 lib/pengine/unpack.c crm_trace("Shutdown locks expire after %us", data_set->shutdown_lock); data_set 397 lib/pengine/unpack.c const char *score, pe_working_set_t * data_set) data_set 401 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { data_set 430 lib/pengine/unpack.c pe__set_working_set_flags(data_set, pe_flag_have_remote_nodes); data_set 451 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); data_set 513 lib/pengine/unpack.c handle_startup_fencing(pe_working_set_t *data_set, pe_node_t *new_node) data_set 523 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_startup_fencing)) { data_set 538 lib/pengine/unpack.c unpack_nodes(xmlNode * xml_nodes, pe_working_set_t * data_set) data_set 550 lib/pengine/unpack.c .now = data_set->now, data_set 573 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); data_set 585 lib/pengine/unpack.c handle_startup_fencing(data_set, new_node); data_set 587 lib/pengine/unpack.c add_node_attrs(xml_obj, new_node, FALSE, data_set); data_set 590 lib/pengine/unpack.c FALSE, data_set); data_set 596 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { data_set 598 lib/pengine/unpack.c pe_create_node(data_set->localhost, data_set->localhost, NULL, 0, data_set 599 lib/pengine/unpack.c data_set); data_set 606 lib/pengine/unpack.c setup_container(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 616 lib/pengine/unpack.c setup_container(child_rsc, data_set); data_set 623 lib/pengine/unpack.c pe_resource_t *container = pe_find_resource(data_set->resources, container_id); data_set 637 lib/pengine/unpack.c unpack_remote_nodes(xmlNode * xml_resources, pe_working_set_t * data_set) data_set 656 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { data_set 660 lib/pengine/unpack.c data_set); data_set 673 lib/pengine/unpack.c new_node_id = expand_remote_rsc_meta(xml_obj, xml_resources, data_set); data_set 674 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { data_set 678 lib/pengine/unpack.c data_set); data_set 691 lib/pengine/unpack.c new_node_id = expand_remote_rsc_meta(xml_obj2, xml_resources, data_set); data_set 693 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { data_set 697 lib/pengine/unpack.c data_set); data_set 714 lib/pengine/unpack.c link_rsc2remotenode(pe_working_set_t *data_set, pe_resource_t *new_rsc) data_set 722 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_quick_location)) { data_set 727 lib/pengine/unpack.c remote_node = pe_find_node(data_set->nodes, new_rsc->id); data_set 738 lib/pengine/unpack.c handle_startup_fencing(data_set, remote_node); data_set 774 lib/pengine/unpack.c unpack_resources(xmlNode * xml_resources, pe_working_set_t * data_set) data_set 779 lib/pengine/unpack.c data_set->template_rsc_sets = g_hash_table_new_full(crm_str_hash, data_set 791 lib/pengine/unpack.c if (template_id && g_hash_table_lookup_extended(data_set->template_rsc_sets, data_set 794 lib/pengine/unpack.c g_hash_table_insert(data_set->template_rsc_sets, strdup(template_id), NULL); data_set 800 lib/pengine/unpack.c if (common_unpack(xml_obj, &new_rsc, NULL, data_set) && (new_rsc != NULL)) { data_set 801 lib/pengine/unpack.c data_set->resources = g_list_append(data_set->resources, new_rsc); data_set 814 lib/pengine/unpack.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 817 lib/pengine/unpack.c setup_container(rsc, data_set); data_set 818 lib/pengine/unpack.c link_rsc2remotenode(data_set, rsc); data_set 821 lib/pengine/unpack.c data_set->resources = g_list_sort(data_set->resources, sort_rsc_priority); data_set 822 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_quick_location)) { data_set 825 lib/pengine/unpack.c } else if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled) data_set 826 lib/pengine/unpack.c && !pcmk_is_set(data_set->flags, pe_flag_have_stonith_resource)) { data_set 837 lib/pengine/unpack.c unpack_tags(xmlNode * xml_tags, pe_working_set_t * data_set) data_set 841 lib/pengine/unpack.c data_set->tags = g_hash_table_new_full(crm_str_hash, g_str_equal, free, data_set 875 lib/pengine/unpack.c if (add_tag_ref(data_set->tags, tag_id, obj_ref) == FALSE) { data_set 887 lib/pengine/unpack.c unpack_ticket_state(xmlNode * xml_ticket, pe_working_set_t * data_set) data_set 904 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); data_set 906 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); data_set 952 lib/pengine/unpack.c unpack_tickets_state(xmlNode * xml_tickets, pe_working_set_t * data_set) data_set 962 lib/pengine/unpack.c unpack_ticket_state(xml_obj, data_set); data_set 969 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) data_set 993 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); data_set 1017 lib/pengine/unpack.c && !pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1033 lib/pengine/unpack.c unpack_node_loop(xmlNode * status, bool fence, pe_working_set_t * data_set) data_set 1052 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); data_set 1063 lib/pengine/unpack.c && pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1088 lib/pengine/unpack.c || pcmk_is_set(data_set->flags, pe_flag_shutdown_lock))) { data_set 1094 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); data_set 1095 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); data_set 1105 lib/pengine/unpack.c } else if (pcmk_is_set(data_set->flags, pe_flag_shutdown_lock)) { data_set 1119 lib/pengine/unpack.c unpack_lrm_resources(this_node, lrm_rsc, data_set); data_set 1129 lib/pengine/unpack.c unpack_status(xmlNode * status, pe_working_set_t * data_set) data_set 1139 lib/pengine/unpack.c if (data_set->tickets == NULL) { data_set 1140 lib/pengine/unpack.c data_set->tickets = g_hash_table_new_full(crm_str_hash, g_str_equal, data_set 1148 lib/pengine/unpack.c unpack_tickets_state((xmlNode *) state, data_set); data_set 1156 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); data_set 1185 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); data_set 1204 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); data_set 1206 lib/pengine/unpack.c if (!pcmk_is_set(data_set->flags, pe_flag_have_quorum) data_set 1208 lib/pengine/unpack.c && (data_set->no_quorum_policy == no_quorum_suicide)) { data_set 1213 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "cluster does not have quorum", FALSE); data_set 1219 lib/pengine/unpack.c while(unpack_node_loop(status, FALSE, data_set)) { data_set 1225 lib/pengine/unpack.c pcmk_is_set(data_set->flags, pe_flag_stonith_enabled), data_set 1226 lib/pengine/unpack.c data_set); data_set 1231 lib/pengine/unpack.c if (data_set->stop_needed != NULL) { data_set 1232 lib/pengine/unpack.c for (GList *item = data_set->stop_needed; item; item = item->next) { data_set 1240 lib/pengine/unpack.c g_list_free(data_set->stop_needed); data_set 1241 lib/pengine/unpack.c data_set->stop_needed = NULL; data_set 1244 lib/pengine/unpack.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1254 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); data_set 1261 lib/pengine/unpack.c determine_online_status_no_fencing(pe_working_set_t * data_set, xmlNode * node_state, data_set 1287 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is unexpectedly down", FALSE); data_set 1295 lib/pengine/unpack.c determine_online_status_fencing(pe_working_set_t * data_set, xmlNode * node_state, data_set 1343 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer has not been seen by the cluster", FALSE); data_set 1346 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer failed the pacemaker membership criteria", FALSE); data_set 1366 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is no longer part of the cluster", TRUE); data_set 1369 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer process is no longer available", FALSE); data_set 1373 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "termination was requested", FALSE); data_set 1384 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer was in an unknown state", FALSE); data_set 1394 lib/pengine/unpack.c determine_remote_online_status(pe_working_set_t * data_set, pe_node_t * this_node) data_set 1463 lib/pengine/unpack.c determine_online_status(xmlNode * node_state, pe_node_t * this_node, pe_working_set_t * data_set) data_set 1487 lib/pengine/unpack.c } else if (!pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1488 lib/pengine/unpack.c online = determine_online_status_no_fencing(data_set, node_state, this_node); data_set 1491 lib/pengine/unpack.c online = determine_online_status_fencing(data_set, node_state, this_node); data_set 1614 lib/pengine/unpack.c create_fake_resource(const char *rsc_id, xmlNode * rsc_entry, pe_working_set_t * data_set) data_set 1623 lib/pengine/unpack.c if (!common_unpack(xml_rsc, &rsc, NULL, data_set)) { data_set 1631 lib/pengine/unpack.c node = pe_find_node(data_set->nodes, rsc_id); data_set 1633 lib/pengine/unpack.c node = pe_create_node(rsc_id, rsc_id, "remote", NULL, data_set); data_set 1635 lib/pengine/unpack.c link_rsc2remotenode(data_set, rsc); data_set 1649 lib/pengine/unpack.c data_set->resources = g_list_append(data_set->resources, rsc); data_set 1659 lib/pengine/unpack.c pe_node_t *node, pe_working_set_t *data_set) data_set 1661 lib/pengine/unpack.c pe_resource_t *top = pe__create_clone_child(parent, data_set); data_set 1686 lib/pengine/unpack.c find_anonymous_clone(pe_working_set_t * data_set, pe_node_t * node, pe_resource_t * parent, data_set 1796 lib/pengine/unpack.c && !pe__is_universal_clone(parent, data_set)) { data_set 1802 lib/pengine/unpack.c rsc = create_anonymous_orphan(parent, rsc_id, node, data_set); data_set 1809 lib/pengine/unpack.c unpack_find_resource(pe_working_set_t * data_set, pe_node_t * node, const char *rsc_id, data_set 1816 lib/pengine/unpack.c rsc = pe_find_resource(data_set->resources, rsc_id); data_set 1824 lib/pengine/unpack.c pe_resource_t *clone0 = pe_find_resource(data_set->resources, clone0_id); data_set 1852 lib/pengine/unpack.c rsc = find_anonymous_clone(data_set, node, parent, base); data_set 1871 lib/pengine/unpack.c process_orphan_resource(xmlNode * rsc_entry, pe_node_t * node, pe_working_set_t * data_set) data_set 1877 lib/pengine/unpack.c rsc = create_fake_resource(rsc_id, rsc_entry, data_set); data_set 1879 lib/pengine/unpack.c if (!pcmk_is_set(data_set->flags, pe_flag_stop_rsc_orphans)) { data_set 1885 lib/pengine/unpack.c resource_location(rsc, NULL, -INFINITY, "__orphan_do_not_run__", data_set); data_set 1893 lib/pengine/unpack.c xmlNode * migrate_op, pe_working_set_t * data_set) data_set 1940 lib/pengine/unpack.c } else if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1963 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); data_set 1990 lib/pengine/unpack.c pe_fence_node(data_set, node, reason, FALSE); data_set 2011 lib/pengine/unpack.c resource_location(rsc, node, -INFINITY, "__action_migration_auto__", data_set); data_set 2033 lib/pengine/unpack.c data_set->stop_needed = g_list_prepend(data_set->stop_needed, data_set 2044 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 2047 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); data_set 2056 lib/pengine/unpack.c pe_fence_node(data_set, tmpnode, data_set 2079 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); data_set 2098 lib/pengine/unpack.c native_add_running(rsc, node, data_set); data_set 2138 lib/pengine/unpack.c GListPtr sorted_op_list, pe_working_set_t * data_set) data_set 2186 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, TRUE, data_set); data_set 2241 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 2248 lib/pengine/unpack.c if ((data_set->shutdown_lock > 0) data_set 2249 lib/pengine/unpack.c && (get_effective_time(data_set) data_set 2250 lib/pengine/unpack.c > (lock_time + data_set->shutdown_lock))) { data_set 2253 lib/pengine/unpack.c pe__clear_resource_history(rsc, node, data_set); data_set 2262 lib/pengine/unpack.c unpack_lrm_rsc_state(pe_node_t * node, xmlNode * rsc_entry, pe_working_set_t * data_set) data_set 2299 lib/pengine/unpack.c if (!pcmk_is_set(data_set->flags, pe_flag_shutdown_lock)) { data_set 2307 lib/pengine/unpack.c rsc = unpack_find_resource(data_set, node, rsc_id, rsc_entry); data_set 2313 lib/pengine/unpack.c rsc = process_orphan_resource(rsc_entry, node, data_set); data_set 2319 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_shutdown_lock)) { data_set 2320 lib/pengine/unpack.c unpack_shutdown_lock(rsc_entry, rsc, node, data_set); data_set 2336 lib/pengine/unpack.c unpack_rsc_op(rsc, node, rsc_op, &last_failure, &on_fail, data_set); data_set 2341 lib/pengine/unpack.c process_recurring(node, rsc, start_index, stop_index, sorted_op_list, data_set); data_set 2346 lib/pengine/unpack.c process_rsc_state(rsc, node, on_fail, migrate_op, data_set); data_set 2370 lib/pengine/unpack.c handle_orphaned_container_fillers(xmlNode * lrm_rsc_list, pe_working_set_t * data_set) data_set 2391 lib/pengine/unpack.c container = pe_find_resource(data_set->resources, container_id); data_set 2396 lib/pengine/unpack.c rsc = pe_find_resource(data_set->resources, rsc_id); data_set 2412 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 2421 lib/pengine/unpack.c pe_resource_t *rsc = unpack_lrm_rsc_state(node, rsc_entry, data_set); data_set 2435 lib/pengine/unpack.c handle_orphaned_container_fillers(lrm_rsc_list, data_set); data_set 2463 lib/pengine/unpack.c bool success_only, pe_working_set_t *data_set) data_set 2492 lib/pengine/unpack.c xml = get_xpath_object(xpath, data_set->input, LOG_DEBUG); data_set 2536 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 2539 lib/pengine/unpack.c node->details->uname, NULL, TRUE, data_set); data_set 2546 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 2576 lib/pengine/unpack.c if (stop_happened_after(rsc, node, xml_op, data_set)) { data_set 2583 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); data_set 2584 lib/pengine/unpack.c source_node = pe_find_node(data_set->nodes, source); data_set 2588 lib/pengine/unpack.c source, FALSE, data_set); data_set 2611 lib/pengine/unpack.c native_add_running(rsc, target_node, data_set); data_set 2619 lib/pengine/unpack.c native_add_running(rsc, target_node, data_set); data_set 2641 lib/pengine/unpack.c int call_id, pe_working_set_t *data_set) data_set 2644 lib/pengine/unpack.c data_set); data_set 2651 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 2670 lib/pengine/unpack.c TRUE, data_set); data_set 2675 lib/pengine/unpack.c source, TRUE, data_set); data_set 2683 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); data_set 2688 lib/pengine/unpack.c native_add_running(rsc, target_node, data_set); data_set 2705 lib/pengine/unpack.c data_set) data_set 2707 lib/pengine/unpack.c data_set) data_set 2709 lib/pengine/unpack.c data_set)) { data_set 2720 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) data_set 2737 lib/pengine/unpack.c TRUE, data_set); data_set 2741 lib/pengine/unpack.c source, target, TRUE, data_set); data_set 2749 lib/pengine/unpack.c pe_node_t *source_node = pe_find_node(data_set->nodes, source); data_set 2752 lib/pengine/unpack.c native_add_running(rsc, source_node, data_set); data_set 2759 lib/pengine/unpack.c const pe_resource_t *rsc, pe_working_set_t *data_set) data_set 2768 lib/pengine/unpack.c for (xIter = data_set->failed->children; xIter; xIter = xIter->next) { data_set 2781 lib/pengine/unpack.c add_node_copy(data_set->failed, op); data_set 2905 lib/pengine/unpack.c enum action_fail_response * on_fail, pe_working_set_t * data_set) data_set 2930 lib/pengine/unpack.c if (!pcmk_is_set(data_set->flags, pe_flag_symmetric_cluster) data_set 2958 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); data_set 2961 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); data_set 2969 lib/pengine/unpack.c resource_location(rsc, node, -INFINITY, "__stop_fail__", data_set); data_set 2972 lib/pengine/unpack.c unpack_migrate_to_failure(rsc, node, xml_op, data_set); data_set 2975 lib/pengine/unpack.c unpack_migrate_from_failure(rsc, node, xml_op, data_set); data_set 3039 lib/pengine/unpack.c fail_rsc->allowed_nodes = pe__node_list2table(data_set->nodes); data_set 3067 lib/pengine/unpack.c pe_resource_t *rsc, int rc, int target_rc, pe_node_t * node, xmlNode * xml_op, enum action_fail_response * on_fail, pe_working_set_t * data_set) data_set 3165 lib/pengine/unpack.c if (!pe_can_fence(data_set, node) data_set 3197 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 3207 lib/pengine/unpack.c data_set); data_set 3212 lib/pengine/unpack.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, data_set); data_set 3232 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 3234 lib/pengine/unpack.c pe_node_t *remote_node = pe_find_node(data_set->nodes, remote_conn->id); data_set 3238 lib/pengine/unpack.c FALSE, data_set); data_set 3247 lib/pengine/unpack.c bool is_last_failure, pe_working_set_t *data_set) data_set 3270 lib/pengine/unpack.c && pcmk_is_set(data_set->flags, pe_flag_stonith_enabled) data_set 3273 lib/pengine/unpack.c pe_node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); data_set 3310 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) data_set 3328 lib/pengine/unpack.c time_t now = get_effective_time(data_set); data_set 3334 lib/pengine/unpack.c is_last_failure, data_set)) { data_set 3341 lib/pengine/unpack.c data_set); data_set 3351 lib/pengine/unpack.c pe__update_recheck_time(last_failure, data_set); data_set 3356 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { data_set 3383 lib/pengine/unpack.c && should_clear_for_param_change(xml_op, task, rsc, node, data_set)) { data_set 3390 lib/pengine/unpack.c data_set); data_set 3392 lib/pengine/unpack.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled) data_set 3404 lib/pengine/unpack.c order_after_remote_fencing(clear_op, rsc, data_set); data_set 3437 lib/pengine/unpack.c get_action_on_fail(pe_resource_t *rsc, const char *key, const char *task, pe_working_set_t * data_set) data_set 3440 lib/pengine/unpack.c pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); data_set 3450 lib/pengine/unpack.c xmlNode * last_failure, enum action_fail_response * on_fail, pe_working_set_t * data_set) data_set 3502 lib/pengine/unpack.c unpack_migrate_to_success(rsc, node, xml_op, data_set); data_set 3566 lib/pengine/unpack.c const pe_resource_t *rsc, pe_working_set_t *data_set) data_set 3573 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); data_set 3582 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 3647 lib/pengine/unpack.c && check_operation_expiry(rsc, node, rc, xml_op, data_set)) { data_set 3652 lib/pengine/unpack.c rc = remap_monitor_rc(rc, xml_op, node, rsc, data_set); data_set 3689 lib/pengine/unpack.c status = determine_op_status(rsc, rc, target_rc, node, xml_op, on_fail, data_set); data_set 3714 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); data_set 3742 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, rc, *last_failure, on_fail, data_set); data_set 3746 lib/pengine/unpack.c failure_strategy = get_action_on_fail(rsc, task_key, task, data_set); data_set 3756 lib/pengine/unpack.c resource_location(parent, node, -INFINITY, "hard-error", data_set); data_set 3757 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); data_set 3782 lib/pengine/unpack.c failure_strategy = get_action_on_fail(rsc, task_key, task, data_set); data_set 3794 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, on_fail, data_set); data_set 3798 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); data_set 3806 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); data_set 3816 lib/pengine/unpack.c resource_location(parent, node, -INFINITY, "hard-error", data_set); data_set 3824 lib/pengine/unpack.c resource_location(parent, NULL, -INFINITY, "fatal-error", data_set); data_set 3838 lib/pengine/unpack.c pe_working_set_t *data_set) data_set 3845 lib/pengine/unpack.c .now = data_set->now, data_set 3856 lib/pengine/unpack.c if (pcmk__str_eq(node->details->id, data_set->dc_uuid, pcmk__str_casei)) { data_set 3857 lib/pengine/unpack.c data_set->dc_node = node; data_set 3866 lib/pengine/unpack.c cluster_name = g_hash_table_lookup(data_set->config_hash, "cluster-name"); data_set 3873 lib/pengine/unpack.c node->details->attrs, NULL, overwrite, data_set); data_set 3958 lib/pengine/unpack.c pe_working_set_t * data_set) data_set 3964 lib/pengine/unpack.c xmlNode *status = find_xml_node(data_set->input, XML_CIB_TAG_STATUS, TRUE); data_set 3980 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); data_set 3986 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); data_set 3989 lib/pengine/unpack.c determine_online_status(node_state, this_node, data_set); data_set 3993 lib/pengine/unpack.c || pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 27 lib/pengine/utils.c pe_working_set_t * data_set, guint interval_ms); data_set 87 lib/pengine/utils.c pe_can_fence(pe_working_set_t *data_set, pe_node_t *node) data_set 99 lib/pengine/utils.c && !pe_can_fence(data_set, container_node)) { data_set 105 lib/pengine/utils.c } else if (!pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 108 lib/pengine/utils.c } else if (!pcmk_is_set(data_set->flags, pe_flag_have_stonith_resource)) { data_set 111 lib/pengine/utils.c } else if (pcmk_is_set(data_set->flags, pe_flag_have_quorum)) { data_set 114 lib/pengine/utils.c } else if (data_set->no_quorum_policy == no_quorum_ignore) { data_set 440 lib/pengine/utils.c effective_quorum_policy(pe_resource_t *rsc, pe_working_set_t *data_set) data_set 442 lib/pengine/utils.c enum pe_quorum_policy policy = data_set->no_quorum_policy; data_set 444 lib/pengine/utils.c if (pcmk_is_set(data_set->flags, pe_flag_have_quorum)) { data_set 447 lib/pengine/utils.c } else if (data_set->no_quorum_policy == no_quorum_demote) { data_set 467 lib/pengine/utils.c pe_working_set_t * data_set) data_set 479 lib/pengine/utils.c action = g_hash_table_lookup(data_set->singletons, key); data_set 482 lib/pengine/utils.c possible_matches = find_actions(data_set->actions, key, on_node); data_set 486 lib/pengine/utils.c if(data_set->singletons == NULL) { data_set 487 lib/pengine/utils.c data_set->singletons = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, NULL); data_set 508 lib/pengine/utils.c data_set->action_id, data_set 516 lib/pengine/utils.c action->id = data_set->action_id++; data_set 543 lib/pengine/utils.c data_set->actions = g_list_prepend(data_set->actions, action); data_set 545 lib/pengine/utils.c g_hash_table_insert(data_set->singletons, action->uuid, action); data_set 555 lib/pengine/utils.c unpack_operation(action, action->op_entry, rsc->container, data_set, data_set 570 lib/pengine/utils.c enum pe_quorum_policy quorum_policy = effective_quorum_policy(rsc, data_set); data_set 582 lib/pengine/utils.c .now = data_set->now, data_set 591 lib/pengine/utils.c FALSE, data_set); data_set 621 lib/pengine/utils.c pe_fence_node(data_set, action->node, "resource actions are unrunnable", FALSE); data_set 634 lib/pengine/utils.c && !pe_can_fence(data_set, action->node)) { data_set 892 lib/pengine/utils.c pe_get_configured_timeout(pe_resource_t *rsc, const char *action, pe_working_set_t *data_set) data_set 902 lib/pengine/utils.c .now = data_set->now, data_set 917 lib/pengine/utils.c if (timeout_spec == NULL && data_set->op_defaults) { data_set 919 lib/pengine/utils.c pe__unpack_dataset_nvpairs(data_set->op_defaults, XML_TAG_META_SETS, data_set 920 lib/pengine/utils.c &rule_data, action_meta, NULL, FALSE, data_set); data_set 993 lib/pengine/utils.c pe_working_set_t * data_set, guint interval_ms) data_set 1015 lib/pengine/utils.c .now = data_set->now, data_set 1024 lib/pengine/utils.c pe__unpack_dataset_nvpairs(data_set->op_defaults, XML_TAG_META_SETS, &rule_data, data_set 1025 lib/pengine/utils.c action->meta, NULL, FALSE, data_set); data_set 1048 lib/pengine/utils.c action->meta, NULL, TRUE, data_set); data_set 1053 lib/pengine/utils.c pe_eval_versioned_attributes(data_set->input, xml_obj, data_set 1057 lib/pengine/utils.c pe_eval_versioned_attributes(data_set->input, xml_obj, data_set 1153 lib/pengine/utils.c if (!pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1215 lib/pengine/utils.c && pe__resource_is_remote_conn(action->rsc, data_set) data_set 1226 lib/pengine/utils.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1239 lib/pengine/utils.c if (pcmk_is_set(data_set->flags, pe_flag_stonith_enabled)) { data_set 1285 lib/pengine/utils.c if (unpack_interval_origin(value, xml_obj, interval_ms, data_set->now, data_set 1294 lib/pengine/utils.c data_set->now); data_set 1670 lib/pengine/utils.c pe_working_set_t * data_set) data_set 1675 lib/pengine/utils.c } else if (data_set != NULL) { data_set 1676 lib/pengine/utils.c GListPtr gIter = data_set->nodes; data_set 1830 lib/pengine/utils.c get_effective_time(pe_working_set_t * data_set) data_set 1832 lib/pengine/utils.c if(data_set) { data_set 1833 lib/pengine/utils.c if (data_set->now == NULL) { data_set 1835 lib/pengine/utils.c data_set->now = crm_time_new(NULL); data_set 1837 lib/pengine/utils.c return crm_time_get_seconds_since_epoch(data_set->now); data_set 1929 lib/pengine/utils.c get_pseudo_op(const char *name, pe_working_set_t * data_set) data_set 1933 lib/pengine/utils.c if(data_set->singletons) { data_set 1934 lib/pengine/utils.c op = g_hash_table_lookup(data_set->singletons, name); data_set 1937 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); data_set 1957 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) data_set 1965 lib/pengine/utils.c if (data_set->tickets == NULL) { data_set 1966 lib/pengine/utils.c data_set->tickets = data_set 1971 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); data_set 1988 lib/pengine/utils.c g_hash_table_insert(data_set->tickets, strdup(ticket->id), ticket); data_set 2056 lib/pengine/utils.c pe_working_set_t *data_set) data_set 2063 lib/pengine/utils.c pe_action_t *action = custom_action(rsc, strdup(key), task, node, TRUE, FALSE, data_set); data_set 2076 lib/pengine/utils.c get_rsc_attributes(local_rsc_params, rsc, node, data_set); data_set 2078 lib/pengine/utils.c pe_get_versioned_attributes(local_versioned_params, rsc, node, data_set); data_set 2149 lib/pengine/utils.c pe_working_set_t * data_set) data_set 2170 lib/pengine/utils.c pcmk_is_set(data_set->flags, pe_flag_sanitized), data_set 2171 lib/pengine/utils.c data_set); data_set 2278 lib/pengine/utils.c pe_node_t *node, pe_working_set_t *data_set) data_set 2285 lib/pengine/utils.c node, NULL, TRUE, data_set); data_set 2308 lib/pengine/utils.c if (pcmk_is_set(data_set->flags, pe_flag_stdout)) { data_set 2317 lib/pengine/utils.c if (pcmk_is_set(data_set->flags, (pe_flag_sanitized|pe_flag_stdout)) data_set 2376 lib/pengine/utils.c node_priority_fencing_delay(pe_node_t * node, pe_working_set_t * data_set) data_set 2385 lib/pengine/utils.c if (data_set->priority_fencing_delay <= 0) { data_set 2400 lib/pengine/utils.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 2439 lib/pengine/utils.c return data_set->priority_fencing_delay; data_set 2444 lib/pengine/utils.c bool priority_delay, pe_working_set_t * data_set) data_set 2450 lib/pengine/utils.c op = data_set->stonith_action; data_set 2455 lib/pengine/utils.c if(data_set->singletons) { data_set 2456 lib/pengine/utils.c stonith_op = g_hash_table_lookup(data_set->singletons, op_key); data_set 2460 lib/pengine/utils.c stonith_op = custom_action(NULL, op_key, CRM_OP_FENCE, node, TRUE, TRUE, data_set); data_set 2467 lib/pengine/utils.c && pcmk_is_set(data_set->flags, pe_flag_enable_unfencing)) { data_set 2479 lib/pengine/utils.c GListPtr matches = find_unfencing_devices(data_set->resources, NULL); data_set 2487 lib/pengine/utils.c data = fencing_action_digest_cmp(match, agent, node, data_set); data_set 2491 lib/pengine/utils.c if (pcmk_is_set(data_set->flags, pe_flag_stdout)) { data_set 2516 lib/pengine/utils.c if (data_set->priority_fencing_delay > 0 data_set 2532 lib/pengine/utils.c char *delay_s = crm_itoa(node_priority_fencing_delay(node, data_set)); data_set 2539 lib/pengine/utils.c if(optional == FALSE && pe_can_fence(data_set, node)) { data_set 2550 lib/pengine/utils.c pe_resource_t * rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t * data_set) data_set 2552 lib/pengine/utils.c if (!pcmk_is_set(data_set->flags, pe_flag_enable_unfencing)) { data_set 2565 lib/pengine/utils.c pe_action_t *unfence = pe_fence_op(node, "on", FALSE, reason, FALSE, data_set); data_set 2577 lib/pengine/utils.c trigger_unfencing(rsc, node, reason, dependency, data_set); data_set 2727 lib/pengine/utils.c pe__update_recheck_time(time_t recheck, pe_working_set_t *data_set) data_set 2729 lib/pengine/utils.c if ((recheck > get_effective_time(data_set)) data_set 2730 lib/pengine/utils.c && ((data_set->recheck_by == 0) data_set 2731 lib/pengine/utils.c || (data_set->recheck_by > recheck))) { data_set 2732 lib/pengine/utils.c data_set->recheck_by = recheck; data_set 2744 lib/pengine/utils.c pe_working_set_t *data_set) data_set 2748 lib/pengine/utils.c pe_eval_nvpairs(data_set->input, xml_obj, set_name, rule_data, hash, data_set 2753 lib/pengine/utils.c pe__update_recheck_time(recheck, data_set); data_set 2788 lib/pengine/utils.c pe_working_set_t *data_set) data_set 2795 lib/pengine/utils.c data_set); data_set 1460 tools/crm_mon.c print_simple_status(pcmk__output_t *out, pe_working_set_t * data_set, data_set 1472 tools/crm_mon.c if (data_set->dc_node == NULL) { data_set 1477 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 1522 tools/crm_mon.c data_set->ninstances, pcmk__plural_s(data_set->ninstances)); data_set 97 tools/crm_mon.h void print_status(pcmk__output_t *out, pe_working_set_t *data_set, data_set 101 tools/crm_mon.h void print_xml_status(pcmk__output_t *out, pe_working_set_t *data_set, data_set 105 tools/crm_mon.h int print_html_status(pcmk__output_t *out, pe_working_set_t *data_set, data_set 112 tools/crm_mon.h void crm_mon_get_parameters(pe_resource_t *rsc, pe_working_set_t *data_set); data_set 35 tools/crm_mon_print.c static int print_rsc_history(pcmk__output_t *out, pe_working_set_t *data_set, data_set 38 tools/crm_mon_print.c static int print_node_history(pcmk__output_t *out, pe_working_set_t *data_set, data_set 44 tools/crm_mon_print.c static int print_node_summary(pcmk__output_t *out, pe_working_set_t * data_set, data_set 47 tools/crm_mon_print.c static int print_cluster_tickets(pcmk__output_t *out, pe_working_set_t * data_set, data_set 49 tools/crm_mon_print.c static int print_neg_locations(pcmk__output_t *out, pe_working_set_t *data_set, data_set 52 tools/crm_mon_print.c static int print_node_attributes(pcmk__output_t *out, pe_working_set_t *data_set, data_set 55 tools/crm_mon_print.c static int print_failed_actions(pcmk__output_t *out, pe_working_set_t *data_set, data_set 59 tools/crm_mon_print.c build_uname_list(pe_working_set_t *data_set, const char *s) { data_set 69 tools/crm_mon_print.c pe_node_t *node = pe_find_node(data_set->nodes, s); data_set 83 tools/crm_mon_print.c unames = pe__unames_with_tag(data_set, s); data_set 91 tools/crm_mon_print.c build_rsc_list(pe_working_set_t *data_set, const char *s) { data_set 97 tools/crm_mon_print.c pe_resource_t *rsc = pe_find_resource_with_flags(data_set->resources, s, data_set 116 tools/crm_mon_print.c resources = pe__rscs_with_tag(data_set, s); data_set 124 tools/crm_mon_print.c failure_count(pe_working_set_t *data_set, pe_node_t *node, pe_resource_t *rsc, time_t *last_failure) { data_set 126 tools/crm_mon_print.c NULL, data_set) data_set 175 tools/crm_mon_print.c print_rsc_history(pcmk__output_t *out, pe_working_set_t *data_set, pe_node_t *node, data_set 181 tools/crm_mon_print.c pe_resource_t *rsc = pe_find_resource(data_set->resources, rsc_id); data_set 201 tools/crm_mon_print.c int failcount = failure_count(data_set, node, rsc, &last_failure); data_set 230 tools/crm_mon_print.c print_node_history(pcmk__output_t *out, pe_working_set_t *data_set, data_set 246 tools/crm_mon_print.c pe_resource_t *rsc = pe_find_resource(data_set->resources, rsc_id); data_set 273 tools/crm_mon_print.c int failcount = failure_count(data_set, node, rsc, &last_failure); data_set 308 tools/crm_mon_print.c print_rsc_history(out, data_set, node, rsc_entry, mon_ops, op_list); data_set 414 tools/crm_mon_print.c print_node_summary(pcmk__output_t *out, pe_working_set_t * data_set, data_set 419 tools/crm_mon_print.c xmlNode *cib_status = get_object_root(XML_CIB_TAG_STATUS, data_set->input); data_set 435 tools/crm_mon_print.c node = pe_find_node_id(data_set->nodes, ID(node_state)); data_set 447 tools/crm_mon_print.c print_node_history(out, data_set, node, node_state, operations, mon_ops, data_set 463 tools/crm_mon_print.c print_cluster_tickets(pcmk__output_t *out, pe_working_set_t * data_set, data_set 469 tools/crm_mon_print.c if (g_hash_table_size(data_set->tickets) == 0) { data_set 479 tools/crm_mon_print.c g_hash_table_iter_init(&iter, data_set->tickets); data_set 500 tools/crm_mon_print.c print_neg_locations(pcmk__output_t *out, pe_working_set_t *data_set, data_set 508 tools/crm_mon_print.c for (gIter = data_set->placement_constraints; gIter != NULL; gIter = gIter->next) { data_set 543 tools/crm_mon_print.c print_node_attributes(pcmk__output_t *out, pe_working_set_t *data_set, data_set 553 tools/crm_mon_print.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 554 tools/crm_mon_print.c crm_mon_get_parameters(gIter->data, data_set); data_set 558 tools/crm_mon_print.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 608 tools/crm_mon_print.c print_failed_actions(pcmk__output_t *out, pe_working_set_t *data_set, data_set 616 tools/crm_mon_print.c if (xmlChildElementCount(data_set->failed) == 0) { data_set 620 tools/crm_mon_print.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; data_set 665 tools/crm_mon_print.c print_status(pcmk__output_t *out, pe_working_set_t *data_set, data_set 675 tools/crm_mon_print.c CHECK_RC(rc, out->message(out, "cluster-summary", data_set, data_set 683 tools/crm_mon_print.c unames = build_uname_list(data_set, only_node); data_set 684 tools/crm_mon_print.c resources = build_rsc_list(data_set, only_rsc); data_set 688 tools/crm_mon_print.c CHECK_RC(rc, out->message(out, "node-list", data_set->nodes, unames, data_set 697 tools/crm_mon_print.c CHECK_RC(rc, out->message(out, "resource-list", data_set, print_opts, data_set 706 tools/crm_mon_print.c CHECK_RC(rc, print_node_attributes(out, data_set, mon_ops, unames, resources, data_set 716 tools/crm_mon_print.c CHECK_RC(rc, print_node_summary(out, data_set, data_set 724 tools/crm_mon_print.c && xml_has_children(data_set->failed)) { data_set 726 tools/crm_mon_print.c CHECK_RC(rc, print_failed_actions(out, data_set, unames, resources, data_set 746 tools/crm_mon_print.c CHECK_RC(rc, print_cluster_tickets(out, data_set, rc == pcmk_rc_ok)); data_set 751 tools/crm_mon_print.c CHECK_RC(rc, print_neg_locations(out, data_set, mon_ops, prefix, resources, data_set 792 tools/crm_mon_print.c print_xml_status(pcmk__output_t *out, pe_working_set_t *data_set, data_set 801 tools/crm_mon_print.c out->message(out, "cluster-summary", data_set, data_set 809 tools/crm_mon_print.c unames = build_uname_list(data_set, only_node); data_set 810 tools/crm_mon_print.c resources = build_rsc_list(data_set, only_rsc); data_set 814 tools/crm_mon_print.c out->message(out, "node-list", data_set->nodes, unames, data_set 823 tools/crm_mon_print.c out->message(out, "resource-list", data_set, print_opts, data_set 831 tools/crm_mon_print.c print_node_attributes(out, data_set, mon_ops, unames, resources, FALSE); data_set 840 tools/crm_mon_print.c print_node_summary(out, data_set, data_set 847 tools/crm_mon_print.c && xml_has_children(data_set->failed)) { data_set 849 tools/crm_mon_print.c print_failed_actions(out, data_set, unames, resources, FALSE); data_set 863 tools/crm_mon_print.c print_cluster_tickets(out, data_set, FALSE); data_set 868 tools/crm_mon_print.c print_neg_locations(out, data_set, mon_ops, prefix, resources, FALSE); data_set 887 tools/crm_mon_print.c print_html_status(pcmk__output_t *out, pe_working_set_t *data_set, data_set 897 tools/crm_mon_print.c out->message(out, "cluster-summary", data_set, data_set 905 tools/crm_mon_print.c unames = build_uname_list(data_set, only_node); data_set 906 tools/crm_mon_print.c resources = build_rsc_list(data_set, only_rsc); data_set 910 tools/crm_mon_print.c out->message(out, "node-list", data_set->nodes, unames, data_set 919 tools/crm_mon_print.c out->message(out, "resource-list", data_set, print_opts, data_set 928 tools/crm_mon_print.c print_node_attributes(out, data_set, mon_ops, unames, resources, FALSE); data_set 937 tools/crm_mon_print.c print_node_summary(out, data_set, data_set 944 tools/crm_mon_print.c && xml_has_children(data_set->failed)) { data_set 946 tools/crm_mon_print.c print_failed_actions(out, data_set, unames, resources, FALSE); data_set 986 tools/crm_mon_print.c print_cluster_tickets(out, data_set, FALSE); data_set 991 tools/crm_mon_print.c print_neg_locations(out, data_set, mon_ops, prefix, resources, FALSE); data_set 70 tools/crm_mon_runtime.c crm_mon_get_parameters(pe_resource_t *rsc, pe_working_set_t * data_set) data_set 72 tools/crm_mon_runtime.c get_rsc_attributes(rsc->parameters, rsc, NULL, data_set); data_set 77 tools/crm_mon_runtime.c crm_mon_get_parameters(gIter->data, data_set); data_set 163 tools/crm_resource.c static pe_working_set_t *data_set = NULL; data_set 195 tools/crm_resource.c pe_free_working_set(data_set); data_set 196 tools/crm_resource.c data_set = NULL; data_set 975 tools/crm_resource.c options.interval_spec, TRUE, data_set, options.force); data_set 998 tools/crm_resource.c before = build_constraint_list(data_set->input); data_set 1002 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, data_set 1007 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); data_set 1019 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, data_set 1034 tools/crm_resource.c data_set->input = *cib_xml_copy; data_set 1035 tools/crm_resource.c cluster_status(data_set); data_set 1037 tools/crm_resource.c after = build_constraint_list(data_set->input); data_set 1170 tools/crm_resource.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { data_set 1190 tools/crm_resource.c data_set->input); data_set 1192 tools/crm_resource.c unpack_constraints(cib_constraints, data_set); data_set 1197 tools/crm_resource.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { data_set 1208 tools/crm_resource.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { data_set 1234 tools/crm_resource.c data_set = pe_new_working_set(); data_set 1235 tools/crm_resource.c if (data_set == NULL) { data_set 1240 tools/crm_resource.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 1241 tools/crm_resource.c rc = update_working_set_xml(data_set, cib_xml_copy); data_set 1243 tools/crm_resource.c cluster_status(data_set); data_set 1256 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); data_set 1305 tools/crm_resource.c data_set, options.force); data_set 1671 tools/crm_resource.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, data_set 1701 tools/crm_resource.c cli_resource_print_list(data_set, FALSE); data_set 1744 tools/crm_resource.c data_set, options.resource_verbose, data_set 1758 tools/crm_resource.c for (GList *lpc = data_set->resources; lpc != NULL; data_set 1764 tools/crm_resource.c cli_resource_print_cts_constraints(data_set); data_set 1769 tools/crm_resource.c options.rsc_id, data_set); data_set 1778 tools/crm_resource.c data_set); data_set 1784 tools/crm_resource.c data_set); data_set 1788 tools/crm_resource.c cli_resource_search(rsc, options.rsc_id, data_set); data_set 1793 tools/crm_resource.c rc = cli_resource_print(rsc, data_set, TRUE); data_set 1797 tools/crm_resource.c rc = cli_resource_print(rsc, data_set, FALSE); data_set 1805 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); data_set 1811 tools/crm_resource.c cli_resource_why(cib_conn, data_set->resources, rsc, dest); data_set 1826 tools/crm_resource.c options.cib_options, data_set, data_set 1836 tools/crm_resource.c pe_node_t *dest = pe_find_node(data_set->nodes, data_set 1851 tools/crm_resource.c rc = cli_resource_print_property(rsc, options.prop_name, data_set); data_set 1860 tools/crm_resource.c options.attr_set_type, data_set); data_set 1879 tools/crm_resource.c options.cib_options, data_set, data_set 1890 tools/crm_resource.c options.cib_options, data_set, data_set 1898 tools/crm_resource.c data_set); data_set 41 tools/crm_resource.h void cli_resource_print_cts_constraints(pe_working_set_t * data_set); data_set 45 tools/crm_resource.h int cli_resource_print(pe_resource_t *rsc, pe_working_set_t *data_set, data_set 47 tools/crm_resource.h int cli_resource_print_list(pe_working_set_t * data_set, bool raw); data_set 49 tools/crm_resource.h pe_working_set_t *data_set); data_set 51 tools/crm_resource.h pe_working_set_t *data_set); data_set 52 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, bool active, pe_working_set_t * data_set); data_set 58 tools/crm_resource.h pe_working_set_t *data_set); data_set 60 tools/crm_resource.h pe_working_set_t *data_set); data_set 64 tools/crm_resource.h bool just_failures, pe_working_set_t *data_set, data_set 68 tools/crm_resource.h pe_working_set_t *data_set); data_set 74 tools/crm_resource.h cib_t *cib, int cib_options, pe_working_set_t *data_set, data_set 83 tools/crm_resource.h int timeout_ms, cib_t *cib, pe_working_set_t *data_set, data_set 90 tools/crm_resource.h int cib_options, pe_working_set_t *data_set, gboolean force); data_set 94 tools/crm_resource.h int cib_options, pe_working_set_t *data_set, gboolean force); data_set 96 tools/crm_resource.h int update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml); data_set 15 tools/crm_resource_print.c cli_resource_print_cts_constraints(pe_working_set_t * data_set) data_set 19 tools/crm_resource_print.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); data_set 31 tools/crm_resource_print.c if (pe_evaluate_rules(lifetime, NULL, data_set->now, NULL) == FALSE) { data_set 105 tools/crm_resource_print.c cli_resource_print_list(pe_working_set_t * data_set, bool raw) data_set 112 tools/crm_resource_print.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { data_set 134 tools/crm_resource_print.c pe_working_set_t * data_set) data_set 138 tools/crm_resource_print.c GListPtr ops = find_operations(rsc_id, host_uname, active, data_set); data_set 150 tools/crm_resource_print.c rsc = pe_find_resource(data_set->resources, op_rsc); data_set 266 tools/crm_resource_print.c cli_resource_print(pe_resource_t *rsc, pe_working_set_t *data_set, bool expanded) data_set 283 tools/crm_resource_print.c pe_working_set_t * data_set) data_set 300 tools/crm_resource_print.c get_rsc_attributes(params, rsc, current, data_set); data_set 304 tools/crm_resource_print.c get_meta_attributes(params, rsc, current, data_set); data_set 308 tools/crm_resource_print.c NULL, FALSE, data_set); data_set 327 tools/crm_resource_print.c cli_resource_print_property(pe_resource_t *rsc, const char *attr, pe_working_set_t * data_set) data_set 16 tools/crm_resource_runtime.c do_find_resource(const char *rsc, pe_resource_t * the_rsc, pe_working_set_t * data_set) data_set 47 tools/crm_resource_runtime.c pe_working_set_t *data_set) data_set 54 tools/crm_resource_runtime.c found += do_find_resource(requested_name, iter->data, data_set); data_set 65 tools/crm_resource_runtime.c found += do_find_resource(requested_name, iter->data, data_set); data_set 69 tools/crm_resource_runtime.c found += do_find_resource(requested_name, rsc, data_set); data_set 252 tools/crm_resource_runtime.c int cib_options, pe_working_set_t *data_set, gboolean force) data_set 368 tools/crm_resource_runtime.c xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); data_set 371 tools/crm_resource_runtime.c unpack_constraints(cib_constraints, data_set); data_set 373 tools/crm_resource_runtime.c for (lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { data_set 392 tools/crm_resource_runtime.c cib, cib_options, data_set, force); data_set 406 tools/crm_resource_runtime.c int cib_options, pe_working_set_t *data_set, gboolean force) data_set 476 tools/crm_resource_runtime.c pe_working_set_t *data_set) data_set 485 tools/crm_resource_runtime.c pe_resource_t *rsc = pe_find_resource(data_set->resources, rsc_id); data_set 509 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, host_uname); data_set 572 tools/crm_resource_runtime.c const char *rsc_id, pe_working_set_t *data_set) data_set 581 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, data_set); data_set 599 tools/crm_resource_runtime.c const char *interval_spec, pe_working_set_t *data_set) data_set 620 tools/crm_resource_runtime.c for (xmlNode *xml_op = pcmk__xml_first_child(data_set->failed); data_set 632 tools/crm_resource_runtime.c pe_resource_t *fail_rsc = pe_find_resource_with_flags(data_set->resources, data_set 670 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, node_name, failed_id, data_set); data_set 703 tools/crm_resource_runtime.c pe_working_set_t *data_set, gboolean force) data_set 718 tools/crm_resource_runtime.c interval_spec, just_failures, data_set, data_set 731 tools/crm_resource_runtime.c nodes = pcmk__copy_node_list(data_set->nodes, false); data_set 754 tools/crm_resource_runtime.c just_failures, data_set, force); data_set 766 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); data_set 795 tools/crm_resource_runtime.c interval_spec, data_set); data_set 797 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, data_set); data_set 812 tools/crm_resource_runtime.c pe_working_set_t *data_set) data_set 825 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, node_name); data_set 846 tools/crm_resource_runtime.c operation, interval_spec, data_set); data_set 853 tools/crm_resource_runtime.c for (GList *iter = data_set->nodes; iter; iter = iter->next) { data_set 857 tools/crm_resource_runtime.c operation, interval_spec, data_set); data_set 924 tools/crm_resource_runtime.c const char *rsc_id, pe_working_set_t *data_set) data_set 927 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, data_set); data_set 931 tools/crm_resource_runtime.c generate_resource_params(pe_resource_t * rsc, pe_working_set_t * data_set) data_set 947 tools/crm_resource_runtime.c get_rsc_attributes(params, rsc, NULL /* TODO: Pass in local node */ , data_set); data_set 948 tools/crm_resource_runtime.c get_meta_attributes(meta, rsc, NULL /* TODO: Pass in local node */ , data_set); data_set 1084 tools/crm_resource_runtime.c update_working_set_xml(pe_working_set_t *data_set, xmlNode **xml) data_set 1089 tools/crm_resource_runtime.c data_set->input = *xml; data_set 1090 tools/crm_resource_runtime.c data_set->now = crm_time_new(NULL); data_set 1106 tools/crm_resource_runtime.c update_working_set_from_cib(pe_working_set_t * data_set, cib_t *cib) data_set 1118 tools/crm_resource_runtime.c rc = update_working_set_xml(data_set, &cib_xml_copy); data_set 1130 tools/crm_resource_runtime.c update_dataset(cib_t *cib, pe_working_set_t * data_set, bool simulate) data_set 1137 tools/crm_resource_runtime.c pe_reset_working_set(data_set); data_set 1138 tools/crm_resource_runtime.c rc = update_working_set_from_cib(data_set, cib); data_set 1154 tools/crm_resource_runtime.c rc = write_xml_file(data_set->input, shadow_file, FALSE); data_set 1169 tools/crm_resource_runtime.c pcmk__schedule_actions(data_set, data_set->input, NULL); data_set 1170 tools/crm_resource_runtime.c run_simulation(data_set, shadow_cib, NULL, TRUE); data_set 1171 tools/crm_resource_runtime.c rc = update_dataset(shadow_cib, data_set, FALSE); data_set 1174 tools/crm_resource_runtime.c cluster_status(data_set); data_set 1191 tools/crm_resource_runtime.c max_delay_for_resource(pe_working_set_t * data_set, pe_resource_t *rsc) data_set 1202 tools/crm_resource_runtime.c delay = max_delay_for_resource(data_set, child); data_set 1212 tools/crm_resource_runtime.c pe_action_t *stop = custom_action(rsc, key, RSC_STOP, NULL, TRUE, FALSE, data_set); data_set 1224 tools/crm_resource_runtime.c max_delay_in(pe_working_set_t * data_set, GList *resources) data_set 1231 tools/crm_resource_runtime.c pe_resource_t *rsc = pe_find_resource(data_set->resources, (const char *)item->data); data_set 1233 tools/crm_resource_runtime.c delay = max_delay_for_resource(data_set, rsc); data_set 1283 tools/crm_resource_runtime.c pe_working_set_t *data_set = NULL; data_set 1318 tools/crm_resource_runtime.c data_set = pe_new_working_set(); data_set 1319 tools/crm_resource_runtime.c if (data_set == NULL) { data_set 1324 tools/crm_resource_runtime.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 1325 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); data_set 1331 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); data_set 1332 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); data_set 1355 tools/crm_resource_runtime.c data_set, force); data_set 1368 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, TRUE); data_set 1374 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); data_set 1385 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; data_set 1395 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); data_set 1404 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); data_set 1429 tools/crm_resource_runtime.c cib_options, data_set, force); data_set 1435 tools/crm_resource_runtime.c cib_options, data_set, force); data_set 1455 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; data_set 1467 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); data_set 1480 tools/crm_resource_runtime.c current_active = get_active_resources(NULL, data_set->resources); data_set 1506 tools/crm_resource_runtime.c FALSE, cib, cib_options, data_set, force); data_set 1511 tools/crm_resource_runtime.c data_set, force); data_set 1528 tools/crm_resource_runtime.c pe_free_working_set(data_set); data_set 1615 tools/crm_resource_runtime.c pe_working_set_t *data_set = NULL; data_set 1622 tools/crm_resource_runtime.c data_set = pe_new_working_set(); data_set 1623 tools/crm_resource_runtime.c if (data_set == NULL) { data_set 1626 tools/crm_resource_runtime.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 1635 tools/crm_resource_runtime.c print_pending_actions(data_set->actions); data_set 1636 tools/crm_resource_runtime.c pe_free_working_set(data_set); data_set 1644 tools/crm_resource_runtime.c pe_reset_working_set(data_set); data_set 1645 tools/crm_resource_runtime.c rc = update_working_set_from_cib(data_set, cib); data_set 1647 tools/crm_resource_runtime.c pe_free_working_set(data_set); data_set 1650 tools/crm_resource_runtime.c pcmk__schedule_actions(data_set, data_set->input, NULL); data_set 1661 tools/crm_resource_runtime.c const char *dc_version = g_hash_table_lookup(data_set->config_hash, data_set 1671 tools/crm_resource_runtime.c } while (actions_are_pending(data_set->actions)); data_set 1673 tools/crm_resource_runtime.c pe_free_working_set(data_set); data_set 1820 tools/crm_resource_runtime.c int timeout_ms, cib_t * cib, pe_working_set_t *data_set, data_set 1845 tools/crm_resource_runtime.c int rc = cli_resource_search(rsc, requested_name, data_set); data_set 1874 tools/crm_resource_runtime.c params = generate_resource_params(rsc, data_set); data_set 1877 tools/crm_resource_runtime.c timeout_ms = pe_get_configured_timeout(rsc, action, data_set); data_set 1892 tools/crm_resource_runtime.c pe_working_set_t *data_set, gboolean promoted_role_only, data_set 1898 tools/crm_resource_runtime.c pe_node_t *dest = pe_find_node(data_set->nodes, host_name); data_set 1962 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); data_set 1965 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, data_set 38 tools/crm_rule.c static int crm_rule_check(pe_working_set_t *data_set, const char *rule_id, crm_time_t *effective_date); data_set 79 tools/crm_rule.c crm_rule_check(pe_working_set_t *data_set, const char *rule_id, crm_time_t *effective_date) data_set 89 tools/crm_rule.c cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); data_set 205 tools/crm_rule.c pe_working_set_t *data_set = NULL; data_set 318 tools/crm_rule.c data_set = pe_new_working_set(); data_set 319 tools/crm_rule.c if (data_set == NULL) { data_set 323 tools/crm_rule.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 325 tools/crm_rule.c data_set->input = input; data_set 326 tools/crm_rule.c data_set->now = rule_date; data_set 329 tools/crm_rule.c cluster_status(data_set); data_set 337 tools/crm_rule.c rc = crm_rule_check(data_set, options.rule, rule_date); data_set 359 tools/crm_rule.c pe_free_working_set(data_set); data_set 358 tools/crm_simulate.c get_date(pe_working_set_t *data_set, bool print_original, char *use_date) data_set 362 tools/crm_simulate.c crm_element_value_epoch(data_set->input, "execution-date", &original_date); data_set 365 tools/crm_simulate.c data_set->now = crm_time_new(use_date); data_set 367 tools/crm_simulate.c crm_time_log(LOG_NOTICE, "Pretending 'now' is", data_set->now, data_set 373 tools/crm_simulate.c data_set->now = crm_time_new(NULL); data_set 374 tools/crm_simulate.c crm_time_set_timet(data_set->now, &original_date); data_set 377 tools/crm_simulate.c char *when = crm_time_as_string(data_set->now, data_set 387 tools/crm_simulate.c print_cluster_status(pe_working_set_t * data_set, long options) data_set 403 tools/crm_simulate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { data_set 506 tools/crm_simulate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 596 tools/crm_simulate.c create_dotfile(pe_working_set_t * data_set, const char *dot_file, gboolean all_actions, data_set 610 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 655 tools/crm_simulate.c for (gIter = data_set->actions; gIter != NULL; gIter = gIter->next) { data_set 782 tools/crm_simulate.c profile_one(const char *xml_file, long long repeat, pe_working_set_t *data_set, char *use_date) data_set 811 tools/crm_simulate.c data_set->input = input; data_set 812 tools/crm_simulate.c get_date(data_set, false, use_date); data_set 813 tools/crm_simulate.c pcmk__schedule_actions(data_set, input, NULL); data_set 814 tools/crm_simulate.c pe_reset_working_set(data_set); data_set 824 tools/crm_simulate.c profile_all(const char *dir, long long repeat, pe_working_set_t *data_set, char *use_date) data_set 846 tools/crm_simulate.c profile_one(buffer, repeat, data_set, use_date); data_set 906 tools/crm_simulate.c pe_working_set_t *data_set = NULL; data_set 949 tools/crm_simulate.c data_set = pe_new_working_set(); data_set 950 tools/crm_simulate.c if (data_set == NULL) { data_set 955 tools/crm_simulate.c pe__set_working_set_flags(data_set, pe_flag_no_compat); data_set 958 tools/crm_simulate.c profile_all(options.test_dir, options.repeat, data_set, options.use_date); data_set 985 tools/crm_simulate.c data_set->input = input; data_set 986 tools/crm_simulate.c get_date(data_set, true, options.use_date); data_set 988 tools/crm_simulate.c pe__set_working_set_flags(data_set, pe_flag_sanitized); data_set 990 tools/crm_simulate.c pe__set_working_set_flags(data_set, pe_flag_stdout); data_set 991 tools/crm_simulate.c cluster_status(data_set); data_set 996 tools/crm_simulate.c if (pcmk_is_set(data_set->flags, pe_flag_maintenance_mode)) { data_set 1002 tools/crm_simulate.c if (data_set->disabled_resources || data_set->blocked_resources) { data_set 1005 tools/crm_simulate.c data_set->disabled_resources, data_set->ninstances, data_set 1006 tools/crm_simulate.c data_set->blocked_resources); data_set 1010 tools/crm_simulate.c print_cluster_status(data_set, opts); data_set 1015 tools/crm_simulate.c modify_configuration(data_set, global_cib, options.quorum, options.watchdog, options.node_up, data_set 1028 tools/crm_simulate.c cleanup_calculations(data_set); data_set 1029 tools/crm_simulate.c data_set->input = input; data_set 1030 tools/crm_simulate.c get_date(data_set, true, options.use_date); data_set 1033 tools/crm_simulate.c pe__set_working_set_flags(data_set, pe_flag_sanitized); data_set 1035 tools/crm_simulate.c pe__set_working_set_flags(data_set, pe_flag_stdout); data_set 1036 tools/crm_simulate.c cluster_status(data_set); data_set 1060 tools/crm_simulate.c pcmk__schedule_actions(data_set, input, local_date); data_set 1064 tools/crm_simulate.c write_xml_file(data_set->graph, options.graph_file, FALSE); data_set 1068 tools/crm_simulate.c if (!create_dotfile(data_set, options.dot_file, options.all_actions, &error)) { data_set 1080 tools/crm_simulate.c LogNodeActions(data_set, TRUE); data_set 1081 tools/crm_simulate.c for (gIter = data_set->resources; gIter != NULL; gIter = gIter->next) { data_set 1084 tools/crm_simulate.c LogActions(rsc, data_set, TRUE); data_set 1092 tools/crm_simulate.c if (run_simulation(data_set, global_cib, options.op_fail, quiet) != pcmk_rc_ok) { data_set 1096 tools/crm_simulate.c get_date(data_set, true, options.use_date); data_set 1099 tools/crm_simulate.c pe__set_working_set_flags(data_set, pe_flag_stdout); data_set 1100 tools/crm_simulate.c cluster_status(data_set); data_set 1101 tools/crm_simulate.c print_cluster_status(data_set, 0); data_set 1134 tools/crm_simulate.c if (data_set) { data_set 1135 tools/crm_simulate.c pe_free_working_set(data_set); data_set 49 tools/crm_ticket.c find_ticket(const char *ticket_id, pe_working_set_t * data_set) data_set 53 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); data_set 121 tools/crm_ticket.c print_ticket_list(pe_working_set_t * data_set, gboolean raw, gboolean details) data_set 126 tools/crm_ticket.c g_hash_table_iter_init(&iter, data_set->tickets); data_set 266 tools/crm_ticket.c pe_working_set_t * data_set) data_set 273 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); data_set 368 tools/crm_ticket.c cib_t * cib, pe_working_set_t * data_set) data_set 409 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); data_set 710 tools/crm_ticket.c pe_working_set_t *data_set = NULL; data_set 846 tools/crm_ticket.c data_set = pe_new_working_set(); data_set 847 tools/crm_ticket.c if (data_set == NULL) { data_set 852 tools/crm_ticket.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 886 tools/crm_ticket.c data_set->input = cib_xml_copy; data_set 887 tools/crm_ticket.c data_set->now = crm_time_new(NULL); data_set 889 tools/crm_ticket.c cluster_status(data_set); data_set 893 tools/crm_ticket.c cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); data_set 894 tools/crm_ticket.c unpack_constraints(cib_constraints, data_set); data_set 907 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(ticket_id, data_set); data_set 917 tools/crm_ticket.c rc = print_ticket_list(data_set, raw, details); data_set 947 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, data_set); data_set 966 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); data_set 1013 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, data_set); data_set 1059 tools/crm_ticket.c pe_free_working_set(data_set); data_set 1060 tools/crm_ticket.c data_set = NULL; data_set 32 tools/crm_verify.c extern gboolean stage0(pe_working_set_t * data_set); data_set 114 tools/crm_verify.c pe_working_set_t *data_set = NULL; data_set 276 tools/crm_verify.c data_set = pe_new_working_set(); data_set 277 tools/crm_verify.c if (data_set == NULL) { data_set 282 tools/crm_verify.c pe__set_working_set_flags(data_set, pe_flag_no_counts|pe_flag_no_compat); data_set 287 tools/crm_verify.c pcmk__schedule_actions(data_set, cib_object, NULL); data_set 290 tools/crm_verify.c data_set->now = crm_time_new(NULL); data_set 291 tools/crm_verify.c data_set->input = cib_object; data_set 292 tools/crm_verify.c stage0(data_set); data_set 294 tools/crm_verify.c pe_free_working_set(data_set);