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 90 daemons/controld/controld_corosync.c extern gboolean crm_connect_corosync(crm_cluster_t * cluster); cluster 93 daemons/controld/controld_corosync.c crm_connect_corosync(crm_cluster_t * cluster) cluster 97 daemons/controld/controld_corosync.c cluster->cpg.cpg_deliver_fn = crmd_cs_dispatch; cluster 98 daemons/controld/controld_corosync.c cluster->cpg.cpg_confchg_fn = pcmk_cpg_membership; cluster 99 daemons/controld/controld_corosync.c cluster->destroy = crmd_cs_destroy; cluster 101 daemons/controld/controld_corosync.c if (crm_cluster_connect(cluster)) { cluster 1331 daemons/fenced/pacemaker-fenced.c crm_cluster_t *cluster = NULL; cluster 1553 daemons/fenced/pacemaker-fenced.c cluster = calloc(1, sizeof(crm_cluster_t)); cluster 1554 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(cluster != NULL); cluster 1560 daemons/fenced/pacemaker-fenced.c cluster->destroy = stonith_peer_cs_destroy; cluster 1561 daemons/fenced/pacemaker-fenced.c cluster->cpg.cpg_deliver_fn = stonith_peer_ais_callback; cluster 1562 daemons/fenced/pacemaker-fenced.c cluster->cpg.cpg_confchg_fn = pcmk_cpg_membership; cluster 1568 daemons/fenced/pacemaker-fenced.c if (crm_cluster_connect(cluster) == FALSE) { cluster 1572 daemons/fenced/pacemaker-fenced.c stonith_our_uname = strdup(cluster->uname); cluster 1607 daemons/fenced/pacemaker-fenced.c free(cluster->uuid); cluster 1608 daemons/fenced/pacemaker-fenced.c free(cluster->uname); cluster 1609 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 326 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("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 435 lib/cluster/corosync.c pcmk__corosync_connect(crm_cluster_t *cluster) cluster 448 lib/cluster/corosync.c if (!cluster_connect_cpg(cluster)) { cluster 454 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); cluster 455 lib/cluster/corosync.c if (cluster->nodeid == 0) { cluster 460 lib/cluster/corosync.c cluster->uname = get_node_name(0); cluster 461 lib/cluster/corosync.c if (cluster->uname == NULL) { cluster 467 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); cluster 468 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 285 lib/cluster/cpg.c crm_cluster_t *cluster = (crm_cluster_t *) user_data; cluster 287 lib/cluster/cpg.c rc = cpg_dispatch(cluster->cpg_handle, CS_DISPATCH_ONE); cluster 291 lib/cluster/cpg.c cpg_finalize(cluster->cpg_handle); cluster 292 lib/cluster/cpg.c cluster->cpg_handle = 0; cluster 771 lib/cluster/cpg.c cluster_connect_cpg(crm_cluster_t *cluster) cluster 787 lib/cluster/cpg.c .destroy = cluster->destroy, cluster 791 lib/cluster/cpg.c .cpg_deliver_fn = cluster->cpg.cpg_deliver_fn, cluster 792 lib/cluster/cpg.c .cpg_confchg_fn = cluster->cpg.cpg_confchg_fn, cluster 798 lib/cluster/cpg.c cluster->group.length = 0; cluster 799 lib/cluster/cpg.c cluster->group.value[0] = 0; cluster 802 lib/cluster/cpg.c strncpy(cluster->group.value, message_name, 127); cluster 803 lib/cluster/cpg.c cluster->group.value[127] = 0; cluster 804 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); cluster 842 lib/cluster/cpg.c cluster->nodeid = id; cluster 845 lib/cluster/cpg.c cs_repeat(rc, retries, 30, cpg_join(handle, &cluster->group)); cluster 852 lib/cluster/cpg.c cluster->cpg_handle = handle; cluster 853 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 1202 lib/pacemaker/pcmk_sched_allocate.c resource1->cluster); cluster 1208 lib/pacemaker/pcmk_sched_allocate.c resource2->cluster); cluster 458 lib/pacemaker/pcmk_sched_native.c pe__show_node_weights(true, NULL, rhs, work, rsc->cluster); cluster 273 lib/pacemaker/pcmk_sched_utils.c pcmk__output_t *out = rsc->cluster->priv; cluster 349 lib/pacemaker/pcmk_sched_utils.c if (pcmk_is_set(rsc->cluster->flags, pe_flag_show_utilization)) { cluster 532 lib/pengine/complex.c (*rsc)->cluster = data_set; cluster 1097 lib/pengine/complex.c rsc->cluster->ninstances++; cluster 1099 lib/pengine/complex.c rsc->cluster->disabled_resources++; cluster 1102 lib/pengine/complex.c rsc->cluster->blocked_resources++;