cluster 28 daemons/controld/controld_control.c extern gboolean crm_connect_corosync(crm_cluster_t * cluster); cluster 48 daemons/controld/controld_control.c static crm_cluster_t *cluster = NULL; cluster 50 daemons/controld/controld_control.c if (cluster == NULL) { cluster 51 daemons/controld/controld_control.c cluster = calloc(1, sizeof(crm_cluster_t)); cluster 55 daemons/controld/controld_control.c crm_cluster_disconnect(cluster); cluster 67 daemons/controld/controld_control.c registered = crm_connect_corosync(cluster); cluster 72 daemons/controld/controld_control.c controld_election_init(cluster->uname); cluster 73 daemons/controld/controld_control.c fsa_our_uname = cluster->uname; cluster 74 daemons/controld/controld_control.c fsa_our_uuid = cluster->uuid; cluster 75 daemons/controld/controld_control.c if(cluster->uuid == NULL) { cluster 145 daemons/controld/controld_corosync.c extern gboolean crm_connect_corosync(crm_cluster_t * cluster); cluster 148 daemons/controld/controld_corosync.c crm_connect_corosync(crm_cluster_t * cluster) cluster 152 daemons/controld/controld_corosync.c cluster->cpg.cpg_deliver_fn = crmd_cs_dispatch; cluster 153 daemons/controld/controld_corosync.c cluster->cpg.cpg_confchg_fn = cpg_membership_callback; cluster 154 daemons/controld/controld_corosync.c cluster->destroy = crmd_cs_destroy; cluster 156 daemons/controld/controld_corosync.c if (crm_cluster_connect(cluster)) { cluster 1405 daemons/fenced/pacemaker-fenced.c crm_cluster_t *cluster = NULL; cluster 1661 daemons/fenced/pacemaker-fenced.c cluster = calloc(1, sizeof(crm_cluster_t)); cluster 1662 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(cluster != NULL); cluster 1668 daemons/fenced/pacemaker-fenced.c cluster->destroy = stonith_peer_cs_destroy; cluster 1669 daemons/fenced/pacemaker-fenced.c cluster->cpg.cpg_deliver_fn = stonith_peer_ais_callback; cluster 1670 daemons/fenced/pacemaker-fenced.c cluster->cpg.cpg_confchg_fn = pcmk_cpg_membership; cluster 1676 daemons/fenced/pacemaker-fenced.c if (crm_cluster_connect(cluster) == FALSE) { cluster 1680 daemons/fenced/pacemaker-fenced.c stonith_our_uname = strdup(cluster->uname); cluster 1715 daemons/fenced/pacemaker-fenced.c free(cluster->uuid); cluster 1716 daemons/fenced/pacemaker-fenced.c free(cluster->uname); cluster 1717 daemons/fenced/pacemaker-fenced.c free(cluster); cluster 96 include/crm/cluster.h gboolean crm_cluster_connect(crm_cluster_t *cluster); cluster 97 include/crm/cluster.h void crm_cluster_disconnect(crm_cluster_t *cluster); cluster 146 include/crm/cluster.h gboolean cluster_connect_cpg(crm_cluster_t *cluster); cluster 147 include/crm/cluster.h void cluster_disconnect_cpg(crm_cluster_t * cluster); cluster 342 include/crm/pengine/pe_types.h pe_working_set_t *cluster; cluster 28 lib/cluster/cluster.c CRM_TRACE_INIT_DATA(cluster); cluster 75 lib/cluster/cluster.c crm_cluster_connect(crm_cluster_t *cluster) cluster 86 lib/cluster/cluster.c return pcmk__corosync_connect(cluster); cluster 102 lib/cluster/cluster.c crm_cluster_disconnect(crm_cluster_t *cluster) cluster 113 lib/cluster/cluster.c pcmk__corosync_disconnect(cluster); cluster 314 lib/cluster/cluster.c const char *cluster = NULL; cluster 322 lib/cluster/cluster.c cluster = pcmk__env_option(PCMK__ENV_CLUSTER_TYPE); cluster 326 lib/cluster/cluster.c if (cluster == NULL) { cluster 338 lib/cluster/cluster.c ((cluster == NULL)? "-unspecified-" : cluster)); cluster 339 lib/cluster/cluster.c if (cluster == NULL) { cluster 342 lib/cluster/cluster.c } else if (pcmk__str_eq(cluster, "corosync", pcmk__str_casei)) { cluster 357 lib/cluster/cluster.c cluster); cluster 223 lib/cluster/corosync.c pcmk__corosync_disconnect(crm_cluster_t *cluster) cluster 225 lib/cluster/corosync.c cluster_disconnect_cpg(cluster); cluster 451 lib/cluster/corosync.c pcmk__corosync_connect(crm_cluster_t *cluster) cluster 464 lib/cluster/corosync.c if (!cluster_connect_cpg(cluster)) { cluster 470 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); cluster 471 lib/cluster/corosync.c if (cluster->nodeid == 0) { cluster 476 lib/cluster/corosync.c cluster->uname = get_node_name(0); cluster 477 lib/cluster/corosync.c if (cluster->uname == NULL) { cluster 483 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); cluster 484 lib/cluster/corosync.c cluster->uuid = pcmk__corosync_uuid(peer); cluster 95 lib/cluster/cpg.c cluster_disconnect_cpg(crm_cluster_t *cluster) cluster 98 lib/cluster/cpg.c if (cluster->cpg_handle) { cluster 100 lib/cluster/cpg.c cpg_leave(cluster->cpg_handle, &cluster->group); cluster 101 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 102 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 282 lib/cluster/cpg.c crm_cluster_t *cluster = (crm_cluster_t *) user_data; cluster 284 lib/cluster/cpg.c rc = cpg_dispatch(cluster->cpg_handle, CS_DISPATCH_ONE); cluster 288 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 289 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 785 lib/cluster/cpg.c cluster_connect_cpg(crm_cluster_t *cluster) cluster 801 lib/cluster/cpg.c .destroy = cluster->destroy, cluster 806 lib/cluster/cpg.c .cpg_deliver_fn = cluster->cpg.cpg_deliver_fn, cluster 807 lib/cluster/cpg.c .cpg_confchg_fn = cluster->cpg.cpg_confchg_fn, cluster 813 lib/cluster/cpg.c cluster->group.length = 0; cluster 814 lib/cluster/cpg.c cluster->group.value[0] = 0; cluster 817 lib/cluster/cpg.c strncpy(cluster->group.value, message_name, 127); cluster 818 lib/cluster/cpg.c cluster->group.value[127] = 0; cluster 819 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); cluster 857 lib/cluster/cpg.c cluster->nodeid = id; cluster 860 lib/cluster/cpg.c cs_repeat(rc, retries, 30, cpg_join(handle, &cluster->group)); cluster 867 lib/cluster/cpg.c cluster->cpg_handle = handle; cluster 868 lib/cluster/cpg.c mainloop_add_fd("corosync-cpg", G_PRIORITY_MEDIUM, fd, cluster, &cpg_fd_callbacks); cluster 38 lib/cluster/crmcluster_private.h gboolean pcmk__corosync_connect(crm_cluster_t *cluster); cluster 41 lib/cluster/crmcluster_private.h void pcmk__corosync_disconnect(crm_cluster_t *cluster); cluster 338 lib/pacemaker/pcmk_graph_producer.c action->rsc->cluster); cluster 340 lib/pacemaker/pcmk_graph_producer.c pcmk__substitute_remote_addr(action->rsc, params, action->rsc->cluster); cluster 349 lib/pacemaker/pcmk_graph_producer.c action->node, action->rsc->cluster); cluster 359 lib/pacemaker/pcmk_graph_producer.c action->rsc->cluster); cluster 779 lib/pacemaker/pcmk_sched_actions.c optional, TRUE, rsc->cluster); cluster 813 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1247 lib/pacemaker/pcmk_sched_actions.c pe_order_optional, rsc->cluster); cluster 1342 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1346 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1365 lib/pacemaker/pcmk_sched_actions.c NULL, rsc->cluster); cluster 1367 lib/pacemaker/pcmk_sched_actions.c task, node, TRUE, TRUE, rsc->cluster); cluster 1408 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1415 lib/pacemaker/pcmk_sched_actions.c FALSE, TRUE, rsc->cluster); cluster 1421 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1424 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1462 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk_is_set(rsc->cluster->flags, cluster 1480 lib/pacemaker/pcmk_sched_actions.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, rsc->cluster); cluster 1482 lib/pacemaker/pcmk_sched_actions.c if (only_sanitized_changed(xml_op, digest_data, rsc->cluster)) { cluster 1483 lib/pacemaker/pcmk_sched_actions.c if (!pcmk__is_daemon && (rsc->cluster->priv != NULL)) { cluster 1484 lib/pacemaker/pcmk_sched_actions.c pcmk__output_t *out = rsc->cluster->priv; cluster 1519 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1595 lib/pacemaker/pcmk_sched_actions.c DeleteRsc(rsc, node, FALSE, rsc->cluster); cluster 1602 lib/pacemaker/pcmk_sched_actions.c DeleteRsc(rsc, node, FALSE, rsc->cluster); cluster 1615 lib/pacemaker/pcmk_sched_actions.c DeleteRsc(rsc, node, FALSE, rsc->cluster); cluster 1652 lib/pacemaker/pcmk_sched_actions.c if (pe__bundle_needs_remote_name(rsc, rsc->cluster)) { cluster 1661 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 1665 lib/pacemaker/pcmk_sched_actions.c NULL, rsc->cluster) != 0)) { cluster 1667 lib/pacemaker/pcmk_sched_actions.c rsc->cluster); cluster 135 lib/pacemaker/pcmk_sched_allocate.c rsc->cluster); cluster 202 lib/pacemaker/pcmk_sched_allocate.c if (!pcmk_is_set(rsc->cluster->flags, pe_flag_symmetric_cluster) cluster 215 lib/pacemaker/pcmk_sched_allocate.c rsc->cluster); cluster 460 lib/pacemaker/pcmk_sched_native.c pe__show_node_weights(true, NULL, primary_id, work, rsc->cluster); cluster 1216 lib/pacemaker/pcmk_sched_native.c rsc->cluster)) { cluster 1235 lib/pacemaker/pcmk_sched_native.c rsc->cluster)) { cluster 2568 lib/pacemaker/pcmk_sched_native.c || pe__resource_is_remote_conn(rsc, rsc->cluster)) { cluster 2583 lib/pacemaker/pcmk_sched_native.c pe__clear_resource_history(rsc, rsc->lock_node, rsc->cluster); cluster 2598 lib/pacemaker/pcmk_sched_native.c rsc->lock_time = shutdown_time(node, rsc->cluster); cluster 2608 lib/pacemaker/pcmk_sched_native.c if (rsc->cluster->shutdown_lock > 0) { cluster 2609 lib/pacemaker/pcmk_sched_native.c time_t lock_expiration = rsc->lock_time + rsc->cluster->shutdown_lock; cluster 2614 lib/pacemaker/pcmk_sched_native.c pe__update_recheck_time(++lock_expiration, rsc->cluster); cluster 2621 lib/pacemaker/pcmk_sched_native.c for (GList *item = rsc->cluster->nodes; item != NULL; item = item->next) { cluster 2626 lib/pacemaker/pcmk_sched_native.c XML_CONFIG_ATTR_SHUTDOWN_LOCK, rsc->cluster); cluster 295 lib/pacemaker/pcmk_sched_notif.c TRUE, rsc->cluster); cluster 352 lib/pacemaker/pcmk_sched_notif.c TRUE, rsc->cluster); cluster 741 lib/pacemaker/pcmk_sched_notif.c get_node_names(rsc->cluster->nodes, &node_list, &metal_list); cluster 744 lib/pacemaker/pcmk_sched_notif.c get_node_names(rsc->cluster->nodes, &node_list, NULL); cluster 121 lib/pacemaker/pcmk_sched_resource.c rsc->cluster); cluster 133 lib/pacemaker/pcmk_sched_resource.c rsc->cluster); cluster 281 lib/pacemaker/pcmk_sched_resource.c pcmk__output_t *out = rsc->cluster->priv; cluster 339 lib/pacemaker/pcmk_sched_resource.c pcmk__output_t *out = rsc->cluster->priv; cluster 407 lib/pacemaker/pcmk_sched_resource.c if (pcmk_is_set(rsc->cluster->flags, pe_flag_show_utilization)) { cluster 518 lib/pacemaker/pcmk_sched_resource.c rsc->cluster); cluster 631 lib/pacemaker/pcmk_sched_resource.c resource1->cluster); cluster 633 lib/pacemaker/pcmk_sched_resource.c resource2->cluster); cluster 423 lib/pacemaker/pcmk_sched_utilization.c rsc->id, rsc->cluster->placement_strategy); cluster 428 lib/pacemaker/pcmk_sched_utilization.c load_stopped = new_load_stopped_op(node, rsc->cluster); cluster 430 lib/pacemaker/pcmk_sched_utilization.c pe_order_load, rsc->cluster); cluster 436 lib/pacemaker/pcmk_sched_utilization.c load_stopped = new_load_stopped_op(node, rsc->cluster); cluster 438 lib/pacemaker/pcmk_sched_utilization.c pe_order_load, rsc->cluster); cluster 441 lib/pacemaker/pcmk_sched_utilization.c pe_order_load, rsc->cluster); cluster 532 lib/pengine/complex.c (*rsc)->cluster = data_set; cluster 1107 lib/pengine/complex.c rsc->cluster->ninstances++; cluster 1109 lib/pengine/complex.c rsc->cluster->disabled_resources++; cluster 1112 lib/pengine/complex.c rsc->cluster->blocked_resources++; cluster 2581 lib/pengine/utils.c for (xmlNode *xml_op = pcmk__xml_first_child(rsc->cluster->failed); xml_op != NULL; cluster 382 maint/gnulib/lib/argp-help.c struct hol_cluster *cluster; cluster 441 maint/gnulib/lib/argp-help.c make_hol (const struct argp *argp, struct hol_cluster *cluster) cluster 491 maint/gnulib/lib/argp-help.c entry->cluster = cluster; cluster 811 maint/gnulib/lib/argp-help.c int group1 = (entry1->cluster cluster 812 maint/gnulib/lib/argp-help.c ? hol_cluster_base (entry1->cluster)->group cluster 814 maint/gnulib/lib/argp-help.c int group2 = (entry2->cluster cluster 815 maint/gnulib/lib/argp-help.c ? hol_cluster_base (entry2->cluster)->group cluster 824 maint/gnulib/lib/argp-help.c cmp = (entry1->cluster != NULL) - (entry2->cluster != NULL); cluster 829 maint/gnulib/lib/argp-help.c if (entry1->cluster != NULL) cluster 831 maint/gnulib/lib/argp-help.c cmp = hol_cluster_cmp (entry1->cluster, entry2->cluster); cluster 1030 maint/gnulib/lib/argp-help.c argp_hol (const struct argp *argp, struct hol_cluster *cluster) cluster 1033 maint/gnulib/lib/argp-help.c struct hol *hol = make_hol (argp, cluster); cluster 1041 maint/gnulib/lib/argp-help.c child - argp->children, cluster, argp) cluster 1043 maint/gnulib/lib/argp-help.c : cluster); cluster 1195 maint/gnulib/lib/argp-help.c const struct hol_cluster *cl = pest->entry->cluster; cluster 1202 maint/gnulib/lib/argp-help.c || (pe->cluster != cl cluster 1203 maint/gnulib/lib/argp-help.c && !hol_cluster_is_child (pe->cluster, cl))))