/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/lib/pacemaker/ |
H A D | pcmk_sched_allocate.c | 421 for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { in check_actions_for() 599 gIter != NULL; gIter = gIter->next) { in apply_placement_constraints() 737 for (; gIter != NULL; gIter = gIter->next) { in complex_set_cmds() 750 for (; gIter != NULL; gIter = gIter->next) { in set_alloc_actions() 834 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in apply_system_health() 940 for (; gIter != NULL; gIter = gIter->next) { in rsc_discover_filter() 1213 for (gIter = nodes; gIter != NULL; gIter = gIter->next) { in sort_rsc_process_order() 1332 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in cleanup_orphans() 1614 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in stage6() 2615 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in order_first_rsc_probes() [all …]
|
H A D | pcmk_sched_promotable.c | 102 for (; gIter != NULL; gIter = gIter->next) { in check_promotable_actions() 114 for (; gIter != NULL; gIter = gIter->next) { in check_promotable_actions() 137 for (GList *gIter = location_constraints; gIter; gIter = gIter->next) { in apply_promoted_location() local 298 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in promotion_order() 306 for (; gIter != NULL; gIter = gIter->next) { in promotion_order() 327 for (; gIter != NULL; gIter = gIter->next) { in promotion_order() 347 for (; gIter != NULL; gIter = gIter->next) { in promotion_order() 371 for (; gIter != NULL; gIter = gIter->next) { in promotion_order() 385 for (; gIter != NULL; gIter = gIter->next) { in promotion_order() 683 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in pcmk__set_instance_roles() [all …]
|
H A D | pcmk_sched_clone.c | 67 for (; gIter != NULL; gIter = gIter->next) { in did_fail() 546 for (; gIter != NULL; gIter = gIter->next) { in append_parent_colocation() 555 for (; gIter != NULL; gIter = gIter->next) { in append_parent_colocation() 647 for (GList *gIter = children; gIter != NULL; gIter = gIter->next) { in distribute_children() local 703 for (GList *gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { in pcmk__clone_allocate() local 769 for (; gIter != NULL; gIter = gIter->next) { in clone_update_pseudo_status() 874 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in child_ordering_constraints() 927 for (GList *gIter = children; gIter != NULL; gIter = gIter->next) { in clone_create_pseudo_actions() local 995 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in clone_internal_constraints() 1094 for (; gIter != NULL; gIter = gIter->next) { in find_compatible_child() [all …]
|
H A D | pcmk_sched_group.c | 115 for (; gIter != NULL; gIter = gIter->next) { in pcmk__group_allocate() 147 for (; gIter != NULL; gIter = gIter->next) { in group_create_actions() 201 for (; gIter != NULL; gIter = gIter->next) { in group_update_pseudo_status() 236 for (; gIter != NULL; gIter = gIter->next) { in group_internal_constraints() 368 for (; gIter != NULL; gIter = gIter->next) { in group_rsc_colocation_lh() 416 for (; gIter != NULL; gIter = gIter->next) { in group_rsc_colocation_rh() 430 for (gIter = action->rsc->children; gIter != NULL; gIter = gIter->next) { in group_action_flags() 481 for (; gIter != NULL; gIter = gIter->next) { in group_update_actions() 510 for (; gIter != NULL; gIter = gIter->next) { in group_rsc_location() 532 for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in group_expand() local [all …]
|
H A D | pcmk_sched_bundle.c | 23 for (GList *gIter = data->replicas; gIter != NULL; gIter = gIter->next) { in is_bundle_node() local 47 gIter = gIter->next) { in get_container_list() 129 gIter = gIter->next) { in pcmk__bundle_allocate() 217 gIter = gIter->next) { in pcmk__bundle_create_actions() 284 gIter = gIter->next) { in pcmk__bundle_internal_constraints() 382 gIter = gIter->next) { in compatible_replica_for_node() 415 for (GList *gIter = scratch; gIter != NULL; gIter = gIter->next) { in compatible_replica() local 526 gIter = gIter->next) { in pcmk__bundle_rsc_colocation_rh() 608 for (gIter = children; gIter != NULL; gIter = gIter->next) { in find_compatible_child_by_node() 666 for (gIter = children; gIter != NULL; gIter = gIter->next) { in multi_update_interleave_actions() [all …]
|
H A D | pcmk_sched_utilization.c | 253 GList *gIter = NULL; in sum_unallocated_utilization() local 262 for (gIter = all_rscs; gIter != NULL; gIter = gIter->next) { in sum_unallocated_utilization() 263 pe_resource_t *listed_rsc = (pe_resource_t *) gIter->data; in sum_unallocated_utilization() 281 GList *gIter = NULL; in find_colocated_rscs() local 293 for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { in find_colocated_rscs() 315 for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { in find_colocated_rscs() 439 GList *gIter = rsc->children; in group_find_colocated_rscs() local 441 for (; gIter != NULL; gIter = gIter->next) { in group_find_colocated_rscs() 442 pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; in group_find_colocated_rscs() 466 GList *gIter = rsc->children; in group_add_unallocated_utilization() local [all …]
|
H A D | pcmk_sched_transition.c | 398 GList *gIter = NULL; in modify_configuration() local 428 for (gIter = node_up; gIter != NULL; gIter = gIter->next) { in modify_configuration() 442 for (gIter = node_down; gIter != NULL; gIter = gIter->next) { in modify_configuration() 467 for (gIter = node_fail; gIter != NULL; gIter = gIter->next) { in modify_configuration() 482 for (gIter = ticket_grant; gIter != NULL; gIter = gIter->next) { in modify_configuration() 493 for (gIter = ticket_revoke; gIter != NULL; gIter = gIter->next) { in modify_configuration() 504 for (gIter = ticket_standby; gIter != NULL; gIter = gIter->next) { in modify_configuration() 515 for (gIter = ticket_activate; gIter != NULL; gIter = gIter->next) { in modify_configuration() 526 for (gIter = op_inject; gIter != NULL; gIter = gIter->next) { in modify_configuration() 613 GList *gIter = NULL; in exec_rsc_action() local [all …]
|
H A D | pcmk_sched_native.c | 530 for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { in pcmk__native_allocate() 560 for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { in pcmk__native_allocate() 988 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in RecurringOp_Stopped() 2352 for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { in native_expand() 2359 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in native_expand() 2434 for (gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { in StopRsc() 2542 for (gIter = action_list; gIter != NULL; gIter = gIter->next) { in PromoteRsc() 2560 for (gIter = action_list; gIter != NULL; gIter = gIter->next) { in PromoteRsc() 2908 for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { in native_start_constraints() 2977 for (gIter = action_list; gIter != NULL; gIter = gIter->next) { in native_stop_constraints() [all …]
|
H A D | pcmk_sched_notif.c | 79 GList *gIter = NULL; in expand_node_list() local 94 for (gIter = list; gIter != NULL; gIter = gIter->next) { in expand_node_list() 158 for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { in expand_list() local 271 for (; gIter != NULL; gIter = gIter->next) { in pe_post_notify() 408 for (; gIter != NULL; gIter = gIter->next) { in collect_notification_data() 458 for (; gIter != NULL; gIter = gIter->next) { in collect_notification_data() 639 GList *gIter = NULL; in create_notifications() local 645 gIter = rsc->children; in create_notifications() 646 for (; gIter != NULL; gIter = gIter->next) { in create_notifications() 656 for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { in create_notifications() [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/pengine/ |
H A D | allocate.c | 479 for (gIter = sorted_op_list; gIter != NULL; gIter = gIter->next) { in check_actions_for() 659 gIter != NULL; gIter = gIter->next) { in apply_placement_constraints() 799 for (; gIter != NULL; gIter = gIter->next) { in complex_set_cmds() 812 for (; gIter != NULL; gIter = gIter->next) { in set_alloc_actions() 895 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in apply_system_health() 1001 for (; gIter != NULL; gIter = gIter->next) { in rsc_discover_filter() 1180 for (gIter = nodes; gIter != NULL; gIter = gIter->next) { in sort_rsc_process_order() 1306 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in cleanup_orphans() 1580 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in stage6() 2588 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in order_first_rsc_probes() [all …]
|
H A D | master.c | 110 for (; gIter != NULL; gIter = gIter->next) { in master_update_pseudo_status() 122 for (; gIter != NULL; gIter = gIter->next) { in master_update_pseudo_status() 143 for (GListPtr gIter = location_constraints; gIter; gIter = gIter->next) { in apply_master_location() local 308 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in master_promotion_order() 316 for (; gIter != NULL; gIter = gIter->next) { in master_promotion_order() 337 for (; gIter != NULL; gIter = gIter->next) { in master_promotion_order() 361 for (; gIter != NULL; gIter = gIter->next) { in master_promotion_order() 385 for (; gIter != NULL; gIter = gIter->next) { in master_promotion_order() 399 for (; gIter != NULL; gIter = gIter->next) { in master_promotion_order() 717 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in pcmk__set_instance_roles() [all …]
|
H A D | clone.c | 56 for (; gIter != NULL; gIter = gIter->next) { in did_fail() 485 for (; gIter != NULL; gIter = gIter->next) { in append_parent_colocation() 497 for (; gIter != NULL; gIter = gIter->next) { in append_parent_colocation() 575 for (GListPtr gIter = children; gIter != NULL; gIter = gIter->next) { in distribute_children() local 694 for (; gIter != NULL; gIter = gIter->next) { in clone_update_pseudo_status() 797 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in child_ordering_constraints() 853 for (GListPtr gIter = children; gIter != NULL; gIter = gIter->next) { in clone_create_pseudo_actions() local 921 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in clone_internal_constraints() 1015 for (; gIter != NULL; gIter = gIter->next) { in find_compatible_child() 1115 for (; gIter != NULL; gIter = gIter->next) { in clone_rsc_colocation_rh() [all …]
|
H A D | group.c | 58 for (; gIter != NULL; gIter = gIter->next) { in pcmk__group_allocate() 90 for (; gIter != NULL; gIter = gIter->next) { in group_create_actions() 146 for (; gIter != NULL; gIter = gIter->next) { in group_update_pseudo_status() 179 for (; gIter != NULL; gIter = gIter->next) { in group_internal_constraints() 318 for (; gIter != NULL; gIter = gIter->next) { in group_rsc_colocation_lh() 362 for (; gIter != NULL; gIter = gIter->next) { in group_rsc_colocation_rh() 375 for (gIter = action->rsc->children; gIter != NULL; gIter = gIter->next) { in group_action_flags() 420 for (; gIter != NULL; gIter = gIter->next) { in group_update_actions() 447 for (; gIter != NULL; gIter = gIter->next) { in group_rsc_location() 469 for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in group_expand() local [all …]
|
H A D | container.c | 32 for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { in is_child_container_node() local 52 for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { in get_container_list() local 67 for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { in get_containers_or_children() local 141 for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { in pcmk__bundle_allocate() local 221 for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { in container_create_actions() local 279 for (GListPtr gIter = container_data->tuples; gIter != NULL; gIter = gIter->next) { in container_internal_constraints() local 394 for (GListPtr gIter = scratch; gIter != NULL; gIter = gIter->next) { in find_compatible_tuple() local 568 for (gIter = children; gIter != NULL; gIter = gIter->next) { in find_compatible_child_by_node() 591 for (GListPtr gIter = data->tuples; gIter != NULL; gIter = gIter->next) { in tuple_for_docker() local 619 for (gIter = children; gIter != NULL; gIter = gIter->next) { in container_update_interleave_actions() [all …]
|
H A D | utilization.c | 248 GListPtr gIter = NULL; in sum_unallocated_utilization() local 257 for (gIter = all_rscs; gIter != NULL; gIter = gIter->next) { in sum_unallocated_utilization() 258 resource_t *listed_rsc = (resource_t *) gIter->data; in sum_unallocated_utilization() 276 GListPtr gIter = NULL; in find_colocated_rscs() local 288 for (gIter = rsc->rsc_cons; gIter != NULL; gIter = gIter->next) { in find_colocated_rscs() 310 for (gIter = rsc->rsc_cons_lhs; gIter != NULL; gIter = gIter->next) { in find_colocated_rscs() 433 GListPtr gIter = rsc->children; in group_find_colocated_rscs() local 435 for (; gIter != NULL; gIter = gIter->next) { in group_find_colocated_rscs() 436 resource_t *child_rsc = (resource_t *) gIter->data; in group_find_colocated_rscs() 460 GListPtr gIter = rsc->children; in group_add_unallocated_utilization() local [all …]
|
H A D | notif.c | 77 GListPtr gIter = NULL; in expand_node_list() local 90 for (gIter = list; gIter != NULL; gIter = gIter->next) { in expand_node_list() 137 GListPtr gIter = NULL; in expand_list() local 160 for (gIter = list; gIter != NULL; gIter = gIter->next) { in expand_list() 300 for (; gIter != NULL; gIter = gIter->next) { in pe_post_notify() 438 for (; gIter != NULL; gIter = gIter->next) { in collect_notification_data() 488 for (; gIter != NULL; gIter = gIter->next) { in collect_notification_data() 676 GListPtr gIter = NULL; in create_notifications() local 683 for (; gIter != NULL; gIter = gIter->next) { in create_notifications() 693 for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { in create_notifications() [all …]
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/lib/pengine/ |
H A D | group.c | 29 for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in inactive_resources() local 168 GList *gIter = rsc->children; in group_active() local 170 for (; gIter != NULL; gIter = gIter->next) { in group_active() 191 GList *gIter = rsc->children; in group_print_xml() local 198 for (; gIter != NULL; gIter = gIter->next) { in group_print_xml() 238 for (; gIter != NULL; gIter = gIter->next) { in group_print() 279 for (; gIter != NULL; gIter = gIter->next) { in pe__group_xml() 341 for (GList *gIter = rsc->children; gIter; gIter = gIter->next) { in pe__group_default() local 367 for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in group_free() local 387 for (; gIter != NULL; gIter = gIter->next) { in group_resource_state() [all …]
|
H A D | clone.c | 299 for (; gIter != NULL; gIter = gIter->next) { in clone_active() 387 for (; gIter != NULL; gIter = gIter->next) { in clone_print_xml() 410 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in is_set_recursive() 469 for (; gIter != NULL; gIter = gIter->next) { in clone_print() 549 for (gIter = promoted_list; gIter; gIter = gIter->next) { in clone_print() 565 for (gIter = started_list; gIter; gIter = gIter->next) { in clone_print() 666 for (; gIter != NULL; gIter = gIter->next) { in pe__clone_xml() 736 for (; gIter != NULL; gIter = gIter->next) { in pe__clone_default() 832 for (gIter = promoted_list; gIter; gIter = gIter->next) { in pe__clone_default() 855 for (gIter = started_list; gIter; gIter = gIter->next) { in pe__clone_default() [all …]
|
H A D | native.c | 74 for (; gIter != NULL; gIter = gIter->next) { in native_priority_to_node() 95 for (; gIter != NULL; gIter = gIter->next) { in native_add_running() 311 for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in native_find_rsc() local 350 for (GList *gIter = rsc->running_on; gIter != NULL; gIter = gIter->next) { in native_active() local 499 for (; gIter != NULL; gIter = gIter->next) { in native_print_xml() 837 for (; gIter != NULL; gIter = gIter->next) { in common_print() 958 for (; gIter != NULL; gIter = gIter->next) { in pe__resource_xml() 1060 for (; gIter != NULL; gIter = gIter->next) { in native_location() 1087 for (; gIter != NULL; gIter = gIter->next) { in native_location() 1105 for (; gIter != NULL; gIter = gIter->next) { in get_rscs_brief() [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/lib/pengine/ |
H A D | group.c | 97 GListPtr gIter = rsc->children; in group_active() local 99 for (; gIter != NULL; gIter = gIter->next) { in group_active() 100 resource_t *child_rsc = (resource_t *) gIter->data; in group_active() 120 GListPtr gIter = rsc->children; in group_print_xml() local 127 for (; gIter != NULL; gIter = gIter->next) { in group_print_xml() 128 resource_t *child_rsc = (resource_t *) gIter->data; in group_print_xml() 141 GListPtr gIter = rsc->children; in group_print() local 167 for (; gIter != NULL; gIter = gIter->next) { in group_print() 193 for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in group_free() local 211 GListPtr gIter = rsc->children; in group_resource_state() local [all …]
|
H A D | clone.c | 230 GListPtr gIter = rsc->children; in clone_active() local 232 for (; gIter != NULL; gIter = gIter->next) { in clone_active() 305 GListPtr gIter = rsc->children; in clone_print_xml() local 320 for (; gIter != NULL; gIter = gIter->next) { in clone_print_xml() 332 GListPtr gIter; in is_set_recursive() local 343 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in is_set_recursive() 404 for (; gIter != NULL; gIter = gIter->next) { in clone_print() 484 for (gIter = master_list; gIter; gIter = gIter->next) { in clone_print() 498 for (gIter = started_list; gIter; gIter = gIter->next) { in clone_print() 577 for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in clone_free() local [all …]
|
H A D | native.c | 66 for (; gIter != NULL; gIter = gIter->next) { in native_priority_to_node() 87 for (; gIter != NULL; gIter = gIter->next) { in native_add_running() 156 for (; gIter != NULL; gIter = gIter->next) { in native_add_running() 303 for (GListPtr gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in native_find_rsc() local 364 for (; gIter != NULL; gIter = gIter->next) { in native_active() 531 for (; gIter != NULL; gIter = gIter->next) { in native_print_xml() 723 for (; gIter != NULL; gIter = gIter->next) { in common_print() 857 for (; gIter != NULL; gIter = gIter->next) { in native_location() 884 for (; gIter != NULL; gIter = gIter->next) { in native_location() 900 GListPtr gIter = rsc_list; in get_rscs_brief() local [all …]
|
H A D | utils.c | 182 for (; gIter != NULL; gIter = gIter->next) { in node_list_exclude() 202 for (; gIter != NULL; gIter = gIter->next) { in node_hash_from_list() 218 for (; gIter != NULL; gIter = gIter->next) { in node_list_dup() 264 for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { in pe__output_node_weights() local 355 for (GList *gIter = rsc->children; gIter != NULL; gIter = gIter->next) { in pe__show_node_weights_as() local 1439 for (; gIter != NULL; gIter = gIter->next) { in find_recurring_actions() 1495 for (gIter = input; gIter != NULL; gIter = gIter->next) { in find_first_action() 1526 for (; gIter != NULL; gIter = gIter->next) { in find_actions() 1571 for (GList *gIter = input; gIter != NULL; gIter = gIter->next) { in find_actions_exact() local 2370 for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { in node_priority_fencing_delay() [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/tools/ |
H A D | fake_transition.c | 433 GListPtr gIter = NULL; in modify_configuration() local 462 for (gIter = node_up; gIter != NULL; gIter = gIter->next) { in modify_configuration() 475 for (gIter = node_down; gIter != NULL; gIter = gIter->next) { in modify_configuration() 499 for (gIter = node_fail; gIter != NULL; gIter = gIter->next) { in modify_configuration() 513 for (gIter = ticket_grant; gIter != NULL; gIter = gIter->next) { in modify_configuration() 523 for (gIter = ticket_revoke; gIter != NULL; gIter = gIter->next) { in modify_configuration() 533 for (gIter = ticket_standby; gIter != NULL; gIter = gIter->next) { in modify_configuration() 543 for (gIter = ticket_activate; gIter != NULL; gIter = gIter->next) { in modify_configuration() 553 for (gIter = op_inject; gIter != NULL; gIter = gIter->next) { in modify_configuration() 636 GListPtr gIter = NULL; in exec_rsc_action() local [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/crmd/ |
H A D | te_events.c | 33 GListPtr gIter = NULL; in fail_incompletable_actions() local 40 gIter = graph->synapses; in fail_incompletable_actions() 41 for (; gIter != NULL; gIter = gIter->next) { in fail_incompletable_actions() 311 GListPtr gIter = NULL; in get_action() local 314 gIter = transition_graph->synapses; in get_action() 315 for (; gIter != NULL; gIter = gIter->next) { in get_action() 338 GListPtr gIter = NULL; in get_cancel_action() local 341 gIter = transition_graph->synapses; in get_cancel_action() 342 for (; gIter != NULL; gIter = gIter->next) { in get_cancel_action() 414 GListPtr gIter, gIter2; in match_down_event() local [all …]
|